123
This commit is contained in:
parent
455b5af0d2
commit
3c5d371954
|
@ -1,10 +1,7 @@
|
|||
<template>
|
||||
<view style="background-color: #EBF4F7;letter-spacing: 1rpx;">
|
||||
<view style="background-color: #EBF4F7;letter-spacing: 1rpx;min-height: 100vh">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<!-- <view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view> -->
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
|
||||
|
@ -14,128 +11,140 @@
|
|||
</view>
|
||||
</tn-nav-bar>
|
||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center" @click="openMode" style="padding: 30rpx;">
|
||||
<view>
|
||||
<text v-if="tabbarIndex == 0" style="font-size: 34rpx;font-weight: 600;">所属行业</text>
|
||||
<text v-if="tabbarIndex == 1" style="font-size: 34rpx;font-weight: 600;">所属区域</text>
|
||||
<text v-if="tabbarIndex == 2" style="font-size: 34rpx;font-weight: 600;">组织架构</text>
|
||||
<text class="tn-icon-down-triangle" style="margin-left: 10rpx;"></text>
|
||||
</view>
|
||||
<view style="margin-left: 10rpx;">
|
||||
<view v-if="!isSerach">{{ tabRightInfo.name }}</view>
|
||||
<view v-if="isSerach">全部</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center" style="padding: 20rpx;">
|
||||
<view class="justify-content-item align-content-item" style="width: 100%;">
|
||||
<view class="tn-flex tn-flex-col-center"
|
||||
style="border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 95%;background-color: #ffffff;">
|
||||
style="border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 98%;background-color: #ffffff;">
|
||||
<text
|
||||
class="tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg"></text>
|
||||
<input v-model="serach_content" class="justify-content-item" placeholder="会员姓名/手机号" name="input"
|
||||
placeholder-style="color:#AAAAAA" style="width: 90%;"></input>
|
||||
<input v-model="serach_content" class="justify-content-item" placeholder="输入想要搜索的内容"
|
||||
name="input" placeholder-style="color:#AAAAAA" style="width: 90%;"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="align-content-item">
|
||||
<view class="justify-content-item tn-text-center">
|
||||
<tn-button @click="serach_do" backgroundColor="#3668fc" shape="round" padding="20rpx 20rpx"
|
||||
width="150rpx">
|
||||
<text class="tn-color-white">搜 索</text>
|
||||
<tn-button @click="serach_do" backgroundColor="#ffffff" shape="round" padding="20rpx 20rpx"
|
||||
width="120rpx">
|
||||
<text class="tn-color-black">搜索</text>
|
||||
</tn-button>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-col-center tn-flex-row-between" @click="selectShow= true"
|
||||
style="padding: 30rpx;">
|
||||
<view>
|
||||
<text>{{HomeTitle}}</text>
|
||||
<text class="tn-icon-down-triangle"></text>
|
||||
</view>
|
||||
<view>
|
||||
<text>筛选</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="tn-classify__container">
|
||||
<view class="tn-classify__container__wrap tn-flex tn-flex-nowrap tn-flex-row-around"
|
||||
style="height: 100vh;background-color: #EBF4F7;">
|
||||
<!-- 左边容器 -->
|
||||
<scroll-view class="tn-classify__left-box left-width" scroll-y scroll-with-animation>
|
||||
<view v-for="(item, index) in industry_list" :key="index" :id="`tabbar_item_${index}`"
|
||||
style="padding-left: 20rpx;" class="tn-classify__tabbar__item tn-flex tn-flex-col-center"
|
||||
:class="[tabbarItemClass(index)]" @tap.stop="clickClassifyNav(index)">
|
||||
<view class="tn-classify__tabbar__item__title">{{ item.industry_name }}</view>
|
||||
<template v-for="(item,index) in list">
|
||||
<view v-if="item.neirong">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-center"
|
||||
style="margin-top: 20rpx;">
|
||||
<view style="background: #d9d9d980;height: 3rpx;width: 35%;"></view>
|
||||
<view style="margin: 0rpx 30rpx;font-size: 32rpx;">{{ item.position_name }}</view>
|
||||
<view style="background: #d9d9d980;height: 3rpx;width: 35%;"></view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<!-- 右边容器 -->
|
||||
<scroll-view class="tn-classify__right-box" @scroll="getScroll" :scroll-top="top" scroll-y
|
||||
style="width: 72%">
|
||||
<block>
|
||||
<view class="tn-classify__content">
|
||||
<!-- 分类内容子栏目 -->
|
||||
<view class="tn-classify__content__sub-classify__content ">
|
||||
<view v-for="(item,index) in list" :key="index">
|
||||
<view v-if="item.neirong"
|
||||
style="font-weight: 300;;background-color: #EBF4F7;color:#4AA2EF;width: 100%;height: 60rpx;line-height: 60rpx;text-align: center;">
|
||||
{{item.position_name}}
|
||||
</view>
|
||||
<view v-if="item.neirong" v-for="(v,k) in item.neirong"
|
||||
@click="tn('/pages/index/my_card?id='+v.member_id)"
|
||||
class="tn-classify__content__sub-classify__content__item tn-flex tn-flex-center tn-flex-col-center">
|
||||
<!-- 标题,有需要可以显示出来 -->
|
||||
<view style="width: 100rpx;height: 100rpx">
|
||||
<image :src="apiImgUrl+v.photo_image"
|
||||
style="width: 100rpx;height: 100rpx;border-radius:50%;">
|
||||
</image>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view style="font-size: 28rpx;">
|
||||
<text>{{v.nikename}}</text>
|
||||
<text style="margin-left: 50rpx;">{{v.nation}}</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2"
|
||||
style="font-size: 24rpx;margin-top: 10rpx;">
|
||||
<text>{{v.enterprise_name==null?'':v.enterprise_name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="list.length==0" style="text-align: center;padding: 20rpx">
|
||||
暂无
|
||||
</view>
|
||||
<view v-for="(v,k) in item.neirong" @click="tn('/pages/index/my_card?id='+v.member_id)"
|
||||
style="padding-left: 20rpx;"
|
||||
class="tn-classify__content__sub-classify__content__item tn-flex tn-flex-center tn-flex-col-center">
|
||||
<view style="width: 100rpx;height: 100rpx">
|
||||
<image :src="apiImgUrl+v.photo_image"
|
||||
style="width: 100rpx;height: 100rpx;border-radius:50%;">
|
||||
</image>
|
||||
</view>
|
||||
<view style="margin-left: 20rpx;">
|
||||
<view style="font-size: 28rpx;">
|
||||
<text>{{ v.nikename }}</text>
|
||||
</view>
|
||||
<view class="tn-text-ellipsis-2" style="font-size: 24rpx;margin-top: 10rpx;">
|
||||
<text>{{ v.enterprise_name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
</view>
|
||||
<!-- <view @click="tn('/pages/index/apply_in')" style="line-height: 40rpx;text-align: center;position: fixed;bottom:15%;right: 20rpx;width: 120rpx;height: 120rpx;border-radius: 50%;background: linear-gradient(270deg, #EE7E45, #EE9657);-->
|
||||
<!--box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.2);">-->
|
||||
<!-- <view style="color: #fff;letter-spacing: 2rpx;padding: 20rpx;font-size: 32rpx;">申请入会-->
|
||||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
<tn-select :safeAreaInsetBottom="true" v-model="selectShow" mode="single" :list="selectList"
|
||||
@confirm="confirm"></tn-select>
|
||||
<tn-popup v-model="screenMode" mode="bottom" width="100%" height="100%" :customStyle="{position: 'fixed'}">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
|
||||
<tn-tabs :list="[{name:'通讯录'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
||||
:fontSize="36"></tn-tabs>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view style="background: #EBF4F7;height: 100%;">
|
||||
<view :style="{paddingTop: vuex_custom_bar_height +'px'}"></view>
|
||||
<view class="tn-flex">
|
||||
<view style="width: 400rpx;">
|
||||
<view v-for="(item,index) in tabList" @click="tabbarIndexCur(index)"
|
||||
class="tn-flex tn-flex-col-center"
|
||||
:style="{'background-color': tabbarIndex==index?'#ffffff':'transparent',padding:'20rpx 0rpx'}">
|
||||
<view :class="tabbarIndex==index?'actBackground':''"
|
||||
style="height: 50rpx;width: 15rpx;border-radius: 0px 10rpx 10rpx 0px;">
|
||||
</view>
|
||||
<view
|
||||
:style="{'margin-left':' 20rpx','color':tabbarIndex==index?'#3f8bf2':'#000000','font-size':'30rpx'}">
|
||||
{{ item }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="background-color: #ffffff;width: 100%;max-height: 1300rpx;overflow: scroll">
|
||||
<template v-for="(item,index) in tabRightList">
|
||||
<view class="tn-flex tn-flex-col-center" style="padding:20rpx 0rpx;"
|
||||
@click="tabRightListCur(index)">
|
||||
<view :class="tabRightIndex==index?'actBackground':''"
|
||||
style="height: 50rpx;width: 15rpx;border-radius: 0px 10rpx 10rpx 0px;">
|
||||
</view>
|
||||
<view
|
||||
:style="{'margin-left': '30rpx','color':tabRightIndex==index? '#3f8bf2':'#000000','font-size':'30rpx'}">
|
||||
{{ item.name }}
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="index<tabRightList.length-1"
|
||||
style="width: 100%;background: #d9d9d9cc;height: 1rpx;margin-left: 40rpx"></view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-around" style="position: fixed;bottom: 100rpx;width: 100%;">
|
||||
<tn-button @click="delMode" width="330rpx" height="80rpx" backgroundColor="#ffffff"
|
||||
fontColor="#000000">取消
|
||||
</tn-button>
|
||||
<tn-button @click="serach_do" width="330rpx" height="80rpx" backgroundColor="#3f8bf2"
|
||||
fontColor="#ffffff">筛选
|
||||
</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
</tn-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
addressList,
|
||||
associationIndex,
|
||||
newIndustryIndex
|
||||
getPosition,
|
||||
newIndustryIndex,
|
||||
getRegion
|
||||
} from '@/util/api.js';
|
||||
import store from "@/store";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
screenMode: false,
|
||||
serach_content: '',
|
||||
list: [],
|
||||
tabList: ['所属行业', '所属区域', '组织架构'],
|
||||
topCurrent: 0,
|
||||
tabbarIndex: 0,
|
||||
// 分类菜单item的信息
|
||||
tabbarItemInfo: [],
|
||||
// scrollView的top值
|
||||
scrollViewBasicTop: 0,
|
||||
// scrollView的高度
|
||||
scrollViewHeight: 0,
|
||||
// 左边scrollView的滚动高度
|
||||
leftScrollViewTop: 0,
|
||||
// 右边scrollView的滚动高度
|
||||
rightScrollViewTop: 0,
|
||||
// 当前选中的tabbar序号
|
||||
currentTabbarIndex: 0,
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
industry_list: [],
|
||||
leftId: 0,
|
||||
|
@ -144,114 +153,83 @@
|
|||
selectList: [],
|
||||
gid: store.state.Gid,
|
||||
top: 0,
|
||||
tabRightList: '',
|
||||
tabRightIndex: 0,
|
||||
tabRightInfo: {},
|
||||
isSerach: false,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
tabbarItemClass() {
|
||||
return index => {
|
||||
if (index === this.currentTabbarIndex) {
|
||||
return 'tn-classify__tabbar__item--active tn-bg-white'
|
||||
} else {
|
||||
let clazz = ''
|
||||
if (this.currentTabbarIndex > 0 && index === this.currentTabbarIndex - 1) {
|
||||
clazz += ' tn-classify__tabbar__item--active--prev'
|
||||
}
|
||||
if (this.currentTabbarIndex < this.industry_list.length && index === this.currentTabbarIndex +
|
||||
1) {
|
||||
clazz += ' tn-classify__tabbar__item--active--next'
|
||||
}
|
||||
return clazz
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad(d) {
|
||||
console.log(d.id);
|
||||
if (typeof(d.id) != 'undefined') {
|
||||
this.gid = d.id;
|
||||
}
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
mounted() {
|
||||
// console.log(d.id);
|
||||
// if (typeof(d.id) != 'undefined') {
|
||||
// this.gid = d.id;
|
||||
// }
|
||||
this.loadTabData();
|
||||
},
|
||||
methods: {
|
||||
serach_do() {
|
||||
this.list = [];
|
||||
async loadTabData() {
|
||||
if (this.tabbarIndex === 0) {
|
||||
await this.getIndustryList();
|
||||
}
|
||||
if (this.tabbarIndex === 1) {
|
||||
await this.getRegionList();
|
||||
}
|
||||
if (this.tabbarIndex === 2) {
|
||||
await this.getPositionList();
|
||||
}
|
||||
console.log(this.tabRightInfo);
|
||||
this.getAddressList();
|
||||
},
|
||||
getScroll(d) {
|
||||
this.top = d.scrollTop;
|
||||
openMode() {
|
||||
uni.$emit('showTab', {
|
||||
index: false
|
||||
})
|
||||
this.screenMode = true;
|
||||
},
|
||||
onload() {
|
||||
this.gid = store.state.Gid;
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
delMode() {
|
||||
uni.$emit('showTab', {
|
||||
index: true
|
||||
})
|
||||
this.screenMode = false;
|
||||
},
|
||||
confirm(d) {
|
||||
|
||||
var info = d[0];
|
||||
serach_do() {
|
||||
this.list = [];
|
||||
this.gid = info.value;
|
||||
this.getAssociationIndex();
|
||||
this.getIndustryList();
|
||||
},
|
||||
getAssociationIndex() {
|
||||
associationIndex()
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
const transformedSelectList = key.map(item => ({
|
||||
value: item.id,
|
||||
label: item.association_name
|
||||
}));
|
||||
const foundNumber = transformedSelectList.find((element) => element.value == this.gid);
|
||||
this.HomeTitle = foundNumber.label;
|
||||
this.selectList = transformedSelectList;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
getIndustryList() {
|
||||
newIndustryIndex({
|
||||
association_id: this.gid
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.industry_list = res.data;
|
||||
this.industry_list.push({
|
||||
id: 0,
|
||||
industry_name: '其他行业'
|
||||
});
|
||||
this.leftId = res.data[0].id;
|
||||
this.getAddressList();
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
this.isSerach = false;
|
||||
this.serach_content = '';
|
||||
this.getAddressList();
|
||||
},
|
||||
getAddressList() {
|
||||
var industry_id = 0;
|
||||
var position_id = 0;
|
||||
var region_id = 0;
|
||||
if (this.serach_content == '') {
|
||||
this.isSerach = false;
|
||||
if (this.tabbarIndex == 0) {
|
||||
industry_id = this.tabRightInfo.id;
|
||||
} else if (this.tabbarIndex == 1) {
|
||||
region_id = this.tabRightInfo.id;
|
||||
} else {
|
||||
position_id = this.tabRightInfo.id;
|
||||
}
|
||||
} else {
|
||||
this.isSerach = true;
|
||||
industry_id = 0;
|
||||
position_id = 0;
|
||||
region_id = 0;
|
||||
}
|
||||
addressList({
|
||||
association_id: this.gid,
|
||||
industry_id: this.leftId,
|
||||
nikename: this.serach_content
|
||||
industry_id: industry_id,
|
||||
position_id: position_id,
|
||||
region_id: region_id,
|
||||
nikename: this.serach_content,
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.list = res.data.ret;
|
||||
}
|
||||
this.delMode();
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
|
@ -261,36 +239,132 @@
|
|||
});
|
||||
})
|
||||
},
|
||||
clickClassifyNav(index) {
|
||||
this.currentTabbarIndex = index;
|
||||
this.leftId = this.industry_list[index].id;
|
||||
this.list = [];
|
||||
this.top = this.randomBetween();
|
||||
this.getAddressList();
|
||||
//this.handleLeftScrollView(index)
|
||||
//this.switchClassifyContent();
|
||||
},
|
||||
randomBetween() {
|
||||
let baseRandom = Math.random() * (0.99999 - 0.00001) + 0.00001;
|
||||
return baseRandom.toFixed(5); //
|
||||
},
|
||||
// 点击分类后,处理scrollView滚动到居中位置
|
||||
handleLeftScrollView(index) {
|
||||
const tabbarItemTop = this.tabbarItemInfo[index].top - this.scrollViewBasicTop
|
||||
if (tabbarItemTop > this.scrollViewHeight / 2) {
|
||||
this.leftScrollViewTop = tabbarItemTop - (this.scrollViewHeight / 2) + this.tabbarItemInfo[index]
|
||||
.height
|
||||
} else {
|
||||
this.leftScrollViewTop = 0
|
||||
tabbarIndexCur(d) {
|
||||
this.tabRightIndex = 0;
|
||||
this.tabbarIndex = d;
|
||||
if (d == 0) {
|
||||
this.getIndustryList();
|
||||
}
|
||||
if (d == 1) {
|
||||
this.getRegionList();
|
||||
}
|
||||
if (d == 2) {
|
||||
this.getPositionList();
|
||||
}
|
||||
},
|
||||
// 切换对应分类的数据
|
||||
switchClassifyContent() {
|
||||
this.rightScrollViewTop = 1
|
||||
this.$nextTick(() => {
|
||||
this.rightScrollViewTop = 0
|
||||
tabRightListCur(d) {
|
||||
this.tabRightIndex = d;
|
||||
this.tabRightInfo = this.tabRightList[d];
|
||||
},
|
||||
confirm(d) {
|
||||
var info = d[0];
|
||||
this.list = [];
|
||||
this.gid = info.value;
|
||||
this.getIndustryList();
|
||||
},
|
||||
getRegionList() {
|
||||
return new Promise((resolve, reject) => {
|
||||
getRegion({
|
||||
association_id: this.gid
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(item => ({
|
||||
id: item.id,
|
||||
name: item.region_name
|
||||
}));
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
this.tabRightList = transformedSelectList;
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
})
|
||||
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
|
||||
|
||||
},
|
||||
getPositionList() {
|
||||
return new Promise((resolve, reject) => {
|
||||
getPosition({
|
||||
association_id: this.gid
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(item => ({
|
||||
id: item.id,
|
||||
name: item.position_name
|
||||
}));
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
this.tabRightList = transformedSelectList;
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
})
|
||||
|
||||
},
|
||||
onload() {
|
||||
//this.tabbarIndex = 0;
|
||||
//this.gid = store.state.Gid;
|
||||
//this.getIndustryList();
|
||||
//this.getAddressList();
|
||||
//this.getAssociationIndex();
|
||||
},
|
||||
getIndustryList() {
|
||||
return new Promise((resolve, reject) => {
|
||||
newIndustryIndex({
|
||||
association_id: this.gid
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
key.push({
|
||||
id: 0,
|
||||
industry_name: '其他行业'
|
||||
});
|
||||
var transformedSelectList = key.map(item => ({
|
||||
id: item.id,
|
||||
name: item.industry_name
|
||||
}));
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
this.tabRightList = transformedSelectList;
|
||||
this.tabRightInfo = transformedSelectList[0];
|
||||
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
})
|
||||
|
||||
},
|
||||
tn(url) {
|
||||
uni.navigateTo({
|
||||
|
@ -419,4 +493,8 @@
|
|||
|
||||
/* 分类内容 end */
|
||||
}
|
||||
|
||||
.actBackground {
|
||||
background: #3f8bf2
|
||||
}
|
||||
</style>
|
|
@ -98,9 +98,18 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
style="width: 92%;background-color: #ffffff;border-radius: 16rpx;margin: 0 auto;overflow: hidden;margin-top: 20rpx;">
|
||||
<!-- <tn-list-cell>
|
||||
<view style="margin:20rpx 28rpx">
|
||||
<view @click="openUrl('/pages/index/policy')"
|
||||
style="position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(90deg, #d6eafa 0%, #d4eafe 100%);">
|
||||
<view style="font-size: 32rpx">惠企政策</view>
|
||||
<view style="font-size: 22rpx;margin-top: 10rpx">Corporate policies</view>
|
||||
<image src="/static/3162033.png"
|
||||
style="width: 90rpx;height: 90rpx;position: absolute; right: 10rpx;bottom: 0;"></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view
|
||||
style="width: 92%;background-color: #ffffff;border-radius: 16rpx;margin: 0 auto;overflow: hidden;margin-top: 10rpx;"> -->
|
||||
<!-- <tn-list-cell>
|
||||
<view class="list-icon-text">
|
||||
<view class="list__left">
|
||||
<view class="list__left__icon">
|
||||
|
@ -115,9 +124,9 @@
|
|||
</view>
|
||||
</view>
|
||||
</tn-list-cell> -->
|
||||
<tn-notice-bar :list="list" @click="openInfo" leftIconType="img" mode="vertical" :rightIcon="true"
|
||||
backgroundColor="#ffffff" :radius="16" @clickRight="openRight" @clickLeft="openRight"></tn-notice-bar>
|
||||
</view>
|
||||
<!-- <tn-notice-bar :list="list" @click="openInfo" leftIconType="img" mode="vertical" :rightIcon="true"
|
||||
backgroundColor="#ffffff" :radius="16" @clickRight="openRight" @clickLeft="openRight"></tn-notice-bar> -->
|
||||
<!-- </view> -->
|
||||
|
||||
<!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center"-->
|
||||
<!-- style="padding:0px 30rpx 0rpx 30rpx;text-align: center;font-size: 28rpx;">-->
|
||||
|
@ -154,7 +163,7 @@
|
|||
<!-- </view>-->
|
||||
<!-- </view>-->
|
||||
|
||||
<view style="padding: 28rpx 28rpx 0rpx 28rpx;">
|
||||
<view style="padding: 10rpx 28rpx 0rpx 28rpx;">
|
||||
<view style="background-color: #ffffff;border-radius:24rpx;width: 110%;padding-bottom: 15rpx;">
|
||||
<view @click.stop="openUrl('/pages/index/service')"
|
||||
class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center"
|
||||
|
@ -255,9 +264,9 @@
|
|||
selectShow: false,
|
||||
selectList: [],
|
||||
topCurrent: 0,
|
||||
searlist: [
|
||||
'会员名称/协会名称/活动/新闻',
|
||||
],
|
||||
searlist: [{
|
||||
article_title: '会员名称/协会名称/活动/新闻'
|
||||
}],
|
||||
cardCur: 0,
|
||||
isAndroid: true,
|
||||
goryList: [],
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
</scroll-view>
|
||||
</view> -->
|
||||
<view v-if="tabberPageLoadFlag[1]" :style="{display: currentIndex === 1 ? '' : 'none'}">
|
||||
<scroll-view class="custom-tabbar-page" scroll-y enable-back-to-top @scrolltolower="tabbarPageScrollLower">
|
||||
<scroll-view :class="tabShow?'custom-tabbar-page':''" scroll-y enable-back-to-top
|
||||
@scrolltolower="tabbarPageScrollLower">
|
||||
<Directory ref="directory"></Directory>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
@ -31,9 +32,9 @@
|
|||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<tn-tabbar :outHeight="140" :height="120" v-model="currentIndex" :list="tabbarList" activeColor="#3377FF"
|
||||
inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99" :animation="true"
|
||||
:safeAreaInsetBottom="true" @change="switchTabbar"></tn-tabbar>
|
||||
<tn-tabbar :show="tabShow" :outHeight="140" :height="120" v-model="currentIndex" :list="tabbarList"
|
||||
activeColor="#3377FF" inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99"
|
||||
:animation="true" :safeAreaInsetBottom="true" @change="switchTabbar"></tn-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -94,6 +95,7 @@
|
|||
apiImgUrl: this.$store.state.imgUrl,
|
||||
icon: '',
|
||||
name: '',
|
||||
tabShow: true,
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
|
@ -107,6 +109,10 @@
|
|||
uni.$on('depId', function(data) {
|
||||
that.switchTabbar(data.index);
|
||||
})
|
||||
uni.$on('showTab', function(data) {
|
||||
var index = data.index;
|
||||
that.tabShow = index;
|
||||
})
|
||||
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;color: #ffffff"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top">
|
||||
<view class="tn-margin-top" @click="goBack()">
|
||||
<tn-tabs :list="[{name:'会员名片'}]" :current="topCurrent" activeColor="#ffffff" :bold="false"
|
||||
:fontSize="24"></tn-tabs>
|
||||
</view>
|
||||
|
@ -29,7 +29,7 @@
|
|||
</view>
|
||||
<view style="font-size: 28rpx;margin-top: 10rpx;">
|
||||
<text>协会职务:{{userThisInfo.position_name}}</text>
|
||||
<text style="margin-left: 40rpx">性别:{{userThisInfo.gender}}</text>
|
||||
<text style="margin-left: 40rpx">性别:{{userThisInfo.gender==0?'女':'男'}}</text>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx" v-if="userThisInfo.if_tongyi==0">
|
||||
联系方式:{{userThisInfo.phone}}</view>
|
||||
|
@ -40,11 +40,13 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<view style="padding: 30rpx">
|
||||
<view style="padding: 30rpx 30rpx 240rpx 30rpx;">
|
||||
<view style="font-size: 30rpx;font-weight: 600;margin-bottom: 20rpx">个人经历</view>
|
||||
<view style="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;">
|
||||
<view style="padding: 20rpx;line-height: 50rpx;" class="tn-text-ellipsis-5">
|
||||
{{userThisInfo.introduction==''||userThisInfo.introduction==null?'无':userThisInfo.introduction}}
|
||||
<view style="padding: 20rpx;line-height: 50rpx;">
|
||||
<view class="tn-text-ellipsis-5" @click="editInfo=true;editType=1">
|
||||
{{userThisInfo.introduction==''||userThisInfo.introduction==null?'无':userThisInfo.introduction}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="font-size: 30rpx;font-weight: 600;margin-bottom: 20rpx;margin-top: 30rpx">企业介绍</view>
|
||||
|
@ -64,13 +66,13 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;margin-top: 30rpx">
|
||||
<view style="padding: 20rpx; line-height: 50rpx;" class="tn-text-ellipsis-10">
|
||||
{{userThisInfo.enterprise_Introduction}}
|
||||
<view style="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;margin-top: 30rpx;">
|
||||
<view style="padding: 20rpx;line-height: 50rpx;" @click="editInfo=true;editType=2">
|
||||
<view class="tn-text-ellipsis-10">{{userThisInfo.enterprise_Introduction}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tn-flex tn-tabbar-height" style="width: 100%;position: fixed;bottom: 0;">
|
||||
<view class="tn-flex" style="width: 100%;position: fixed;bottom: 0;">
|
||||
<view style="background: #418ef2;height: 100rpx;text-align: center;line-height: 100rpx;color: #ffffff;"
|
||||
class="tn-flex-8" @click="addModeShow">
|
||||
{{userThisInfo.if_tongyi!=0?'申请查看联系方式':'立刻联系'}}
|
||||
|
@ -100,6 +102,40 @@
|
|||
</view>
|
||||
</view>
|
||||
</tn-modal>
|
||||
<tn-popup v-model="editInfo" mode="right" width="100%">
|
||||
<tn-nav-bar :isBack="false" backTitle="" :alpha="true" :bottomShadow="false">
|
||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||
<view style="padding-left: 15rpx;" @click="editInfo = false">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:editType==1?'个人经历':'公司介绍'}]" :current="topCurrent" activeColor="#000"
|
||||
:bold="false" :fontSize="24"></tn-tabs>
|
||||
</view>
|
||||
</view>
|
||||
</tn-nav-bar>
|
||||
<view style="background: rgba(242, 241, 246, 1);height: 100%;">
|
||||
<view :style="{paddingTop: vuex_custom_bar_height +'px'}"></view>
|
||||
<view style="margin:30rpx;background-color: #ffffff;border-radius: 40rpx;">
|
||||
<scroll-view scroll-y="true" style="height: 600rpx;padding: 30rpx;">
|
||||
<view style="line-height: 45rpx;">
|
||||
<view v-if="editType==1">
|
||||
{{userThisInfo.introduction==''||userThisInfo.introduction==null?'无':userThisInfo.introduction}}
|
||||
</view>
|
||||
<view v-if="editType==2">
|
||||
{{userThisInfo.enterprise_Introduction}}
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-center tn-flex-row-center" style="color: #ffffff;">
|
||||
<view @click="editInfo = false"
|
||||
style="width: 300rpx;height: 80rpx;background: #d9d9d9;text-align: center;line-height: 80rpx;">
|
||||
关闭</view>
|
||||
</view>
|
||||
</view>
|
||||
</tn-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -121,6 +157,8 @@
|
|||
userThisInfo: {},
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
is: false,
|
||||
editInfo: false,
|
||||
editType: 1,
|
||||
addData: {
|
||||
content: '',
|
||||
association_id: store.state.Gid,
|
||||
|
@ -181,14 +219,6 @@
|
|||
});
|
||||
return;
|
||||
}
|
||||
if (this.addData.content == '') {
|
||||
uni.showToast({
|
||||
title: '请填写自我介绍!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.addData.member_q_id = this.uid;
|
||||
this.addData.member_b_id = this.this_uid;
|
||||
setMaillogAdd(this.addData)
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||
</view>
|
||||
<view class="tn-margin-top"
|
||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<view class="tn-margin-top" @click="goBack()"
|
||||
style="text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||
<tn-tabs :list="[{name:'信息修改'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
||||
:fontSize="24"></tn-tabs>
|
||||
</view>
|
||||
|
@ -55,6 +55,18 @@
|
|||
<tn-select v-model="position_id_show" mode="single" :list="position_list"
|
||||
@confirm="getpositionId"></tn-select>
|
||||
</tn-list-view>
|
||||
<!-- <tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx"
|
||||
@click="region_id_show = true">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">所属区域</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center">
|
||||
<view style="font-size: 28rpx; color: rgba(102, 102, 102, 1);">{{region_id_name}}</view>
|
||||
<view class="tn-icon-right" style="margin-left: 20rpx;"></view>
|
||||
</view>
|
||||
</view>
|
||||
<tn-select v-model="region_id_show" mode="single" :list="region_list"
|
||||
@confirm="getregionId"></tn-select>
|
||||
</tn-list-view> -->
|
||||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">性别</view>
|
||||
|
@ -114,7 +126,7 @@
|
|||
<tn-list-view :customTitle="true" backgroundColor="transparent">
|
||||
<view slot="title" class="tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center"
|
||||
style="padding: 30rpx">
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司图片</view>
|
||||
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">公司Logo</view>
|
||||
<view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center" @click="d_img(2)">
|
||||
<view>
|
||||
<view v-if="addMod.company_image==''">暂无</view>
|
||||
|
@ -238,7 +250,8 @@
|
|||
getUserIndex,
|
||||
setUserEdit,
|
||||
IndustryList,
|
||||
getPosition
|
||||
getPosition,
|
||||
getRegion
|
||||
} from "@/util/api";
|
||||
import store from "@/store";
|
||||
|
||||
|
@ -278,6 +291,7 @@
|
|||
background_type: 3,
|
||||
position_id: '',
|
||||
gender: 0,
|
||||
region_id: '',
|
||||
},
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
apiUpUrl: this.$store.state.apiUrl,
|
||||
|
@ -287,6 +301,11 @@
|
|||
position_id_show: false,
|
||||
position_id_name: '',
|
||||
position_list: [],
|
||||
|
||||
region_id_show: false,
|
||||
region_id_name: '',
|
||||
region_list: [],
|
||||
|
||||
sex_id_show: false,
|
||||
sex_list: [{
|
||||
label: '女',
|
||||
|
@ -341,10 +360,38 @@
|
|||
this.position_id_name = info.label;
|
||||
this.addMod.position_id = info.value;
|
||||
},
|
||||
getregionId(d) {
|
||||
console.log(d);
|
||||
var info = d[0];
|
||||
this.region_id_name = info.label;
|
||||
this.addMod.region_id = info.value;
|
||||
},
|
||||
getsexId(d) {
|
||||
var info = d[0];
|
||||
this.addMod.gender = info.value;
|
||||
},
|
||||
getRegionList() {
|
||||
getRegion({
|
||||
association_id: this.addMod.association_id,
|
||||
})
|
||||
.then(res => {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
const transformedSelectList = key.map(item => ({
|
||||
value: item.id,
|
||||
label: item.region_name
|
||||
}));
|
||||
this.region_list = transformedSelectList;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
getIndustry() {
|
||||
IndustryList({
|
||||
association_id: this.addMod.association_id,
|
||||
|
@ -501,11 +548,14 @@
|
|||
background_type: res.data.background_type,
|
||||
position_id: res.data.position_id,
|
||||
gender: res.data.gender,
|
||||
region_id: res.data.region_id,
|
||||
};
|
||||
this.region_id_name = res.data.region_name;
|
||||
this.industry_id_name = res.data.industry_name;
|
||||
this.position_id_name = res.data.position_name;
|
||||
this.getIndustry();
|
||||
this.getPositionList();
|
||||
this.getRegionList();
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
</view>
|
||||
<view v-if="item.type==1" class="tn-padding-top-xs tn-text-ellipsis-2 tn-color-gray">
|
||||
<view>【{{item.member_q_id_name}}】申请查看您的联系方式!</view>
|
||||
<view style="margin-top: 10rpx;">申请信息:{{item.content}}</view>
|
||||
<view v-if="item.content!=''" style="margin-top: 10rpx;">申请信息:{{item.content}}</view>
|
||||
</view>
|
||||
<view v-if="item.type==0" class="tn-padding-top-xs tn-text-ellipsis-2 tn-color-gray">
|
||||
<view style="margin-top: 10rpx;">{{item.content}}</view>
|
||||
|
@ -144,6 +144,7 @@
|
|||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
store.state.msgCount = 0;
|
||||
uni.showToast({
|
||||
title: '操作成功!',
|
||||
icon: 'none',
|
||||
|
|
|
@ -141,8 +141,11 @@
|
|||
</view>
|
||||
</view> -->
|
||||
<!-- </view> -->
|
||||
<tn-tabbar :outHeight="140" :height="120" v-model="currentIndex" :list="tabbarList" activeColor="#3377FF"
|
||||
inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99" :animation="true"
|
||||
:safeAreaInsetBottom="true" @change="switchTabbar"></tn-tabbar>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -155,6 +158,29 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
currentIndex: -1,
|
||||
// 底部tabbar菜单数据
|
||||
tabbarList: [{
|
||||
title: '首页',
|
||||
activeIcon: '/static/01_1.png',
|
||||
inactiveIcon: '/static/01.png'
|
||||
},
|
||||
{
|
||||
title: '通讯录',
|
||||
activeIcon: '/static/02_2.png',
|
||||
inactiveIcon: '/static/02.png'
|
||||
},
|
||||
{
|
||||
title: '发现',
|
||||
activeIcon: '/static/03_3.png',
|
||||
inactiveIcon: '/static/03.png'
|
||||
},
|
||||
{
|
||||
title: '个人中心',
|
||||
activeIcon: '/static/04_4.png',
|
||||
inactiveIcon: '/static/04.png'
|
||||
}
|
||||
],
|
||||
topCurrent: 0,
|
||||
swiperList: [{
|
||||
url: '/static/banner1.jpg',
|
||||
|
@ -189,10 +215,6 @@
|
|||
this.association_id = d.id;
|
||||
this.getAssociationInfo();
|
||||
this.getArchitectureList();
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (uid) {
|
||||
this.getUserInfo(uid);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
tab_change(d) {
|
||||
|
@ -201,24 +223,6 @@
|
|||
this.architecture = [];
|
||||
this.getArchitectureList();
|
||||
},
|
||||
getUserInfo(uid) {
|
||||
getUserIndex({
|
||||
member_id: uid
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
this.userInfo = res.data;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
})
|
||||
},
|
||||
getArchitectureList() {
|
||||
architectureList({
|
||||
association_id: this.association_id,
|
||||
|
@ -285,6 +289,13 @@
|
|||
|
||||
}
|
||||
},
|
||||
switchTabbar(d) {
|
||||
console.log(d);
|
||||
uni.$emit('depId', {
|
||||
index: d
|
||||
})
|
||||
uni.navigateBack()
|
||||
},
|
||||
change(e) {
|
||||
this.current = e;
|
||||
},
|
||||
|
|
|
@ -35,86 +35,13 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center" style="padding: 0px 30rpx;">
|
||||
<view
|
||||
style="text-align: center;background-color: #FFF;padding:10rpx 30rpx;width: 48%;border-radius: 5rpx;">
|
||||
<text>年(全部显示)</text>
|
||||
<text class="tn-icon-down-triangle"></text>
|
||||
</view>
|
||||
<view
|
||||
style="text-align: center;background-color: #FFF;padding:10rpx 30rpx;width: 48%;border-radius: 5rpx;">
|
||||
<text>月(全部显示)</text>
|
||||
<text class="tn-icon-down-triangle"></text>
|
||||
</view>
|
||||
</view> -->
|
||||
<tn-tabs :list="tabList" :isScroll="false" :current="current" name="name" @change="tabChange"
|
||||
activeColor="#3668FC"></tn-tabs>
|
||||
<!-- <view style="padding: 30rpx;">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between"
|
||||
style="text-align: center;padding: 30rpx;background-color: #FFF;border-radius: 20rpx;">
|
||||
<view>
|
||||
<view>
|
||||
<image src="/static/ico1.png" style="width: 70rpx;height: 70rpx;"></image>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<text>协会活动</text>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
<view>
|
||||
<image src="/static/ico2.png" style="width: 70rpx;height: 70rpx;"></image>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<text>知识学堂</text>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
<view>
|
||||
<image src="/static/ico3.png" style="width: 70rpx;height: 70rpx;"></image>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<text>供需服务</text>
|
||||
</view>
|
||||
</view>
|
||||
<view>
|
||||
<view>
|
||||
<image src="/static/ico4.png" style="width: 70rpx;height: 70rpx;"></image>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<text>金融服务</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
</view>
|
||||
<!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center"
|
||||
style="padding:10rpx 30rpx;margin-top: 20rpx;">
|
||||
<view style="font-size: 36rpx;">协会活动</view>
|
||||
<view style="color: #808080;" @click="openUrl('/pages/index/events_list')">
|
||||
<text>更多</text>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view style="padding-bottom: 30rpx;">
|
||||
<!-- <scroll-view :scroll-x="true" style="padding:0rpx 30rpx;white-space: nowrap;">
|
||||
<view v-for="(item,index) in 3" @click="openUrl('/pages/index/events_info')"
|
||||
style="box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;;display: inline-block;width: 300rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;">
|
||||
<view>
|
||||
<image src="/static/hd1.jpg" mode="widthFix" style="width: 300rpx;"></image>
|
||||
</view>
|
||||
<view style="padding:10rpx 20rpx;font-weight: 400;">
|
||||
<view class="tn-text-ellipsis-2" style="letter-spacing: 1px;">青年企业家能力提升 计划培训班(第20期)</view>
|
||||
</view>
|
||||
<view style="position: absolute;top: 10rpx;left: 10rpx;">
|
||||
<tn-button v-if="index==0" width="80rpx" height="40rpx" size="sm" backgroundColor="#6BC7F0 "
|
||||
fontColor="tn-color-white">报名中</tn-button>
|
||||
<tn-button v-if="index==1" width="80rpx" height="40rpx" size="sm" backgroundColor="#EE9556 "
|
||||
fontColor="tn-color-white">预告</tn-button>
|
||||
<tn-button v-if="index==2" width="80rpx" height="40rpx" size="sm" backgroundColor="#E12B33 "
|
||||
fontColor="tn-color-white">进行中</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view> -->
|
||||
|
||||
<view style="padding: 30rpx 0rpx;">
|
||||
<tn-grid align="left" :col="2">
|
||||
<block v-for="(item,index) in actList">
|
||||
|
@ -137,119 +64,22 @@
|
|||
<text v-if="item.activity_type==3">公益捐赠</text>
|
||||
<text v-if="item.activity_type==4">学习培训</text>
|
||||
</view>
|
||||
<!-- <view>-->
|
||||
<!-- <text class="tn-icon-eye"></text>-->
|
||||
<!-- <text style="margin-left: 5rpx;">{{item.eye}}</text>-->
|
||||
<!-- </view>-->
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view style="position: absolute;top: 10rpx;left: 10rpx;">-->
|
||||
<!-- <tn-button v-if="item.is==0" padding="0" width="80rpx" height="40rpx" size="sm"-->
|
||||
<!-- backgroundColor="#6BC7F0 " fontColor="tn-color-white">报名中</tn-button>-->
|
||||
<!-- <tn-button v-if="item.is==1" padding="0" width="80rpx" height="40rpx" size="sm"-->
|
||||
<!-- backgroundColor="#EE9556 " fontColor="tn-color-white">预告</tn-button>-->
|
||||
<!-- <tn-button v-if="item.is==2" padding="0" width="80rpx" height="40rpx" size="sm"-->
|
||||
<!-- backgroundColor="#E12B33 " fontColor="tn-color-white">进行中</tn-button>-->
|
||||
<!-- </view>-->
|
||||
|
||||
</view>
|
||||
</tn-grid-item>
|
||||
</block>
|
||||
</tn-grid>
|
||||
<!-- <view style="position: absolute;top: 10rpx;left: 10rpx;">
|
||||
<tn-button v-if="index==0" width="80rpx" height="40rpx" size="sm" backgroundColor="#6BC7F0 "
|
||||
fontColor="tn-color-white">报名中</tn-button>
|
||||
<tn-button v-if="index==1" width="80rpx" height="40rpx" size="sm" backgroundColor="#EE9556 "
|
||||
fontColor="tn-color-white">预告</tn-button>
|
||||
<tn-button v-if="index==2" width="80rpx" height="40rpx" size="sm" backgroundColor="#E12B33 "
|
||||
fontColor="tn-color-white">进行中</tn-button>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center" style="padding:10rpx 30rpx;">
|
||||
<view style="font-size: 36rpx;">知识学堂</view>
|
||||
<view style="color: #808080;" @click="openUrl('/pages/index/knowledge_list')">
|
||||
<text>更多</text>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding:0rpx 30rpx;">
|
||||
<view @click="openUrl('/pages/index/new_info')"
|
||||
style="box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;width: 100%;background-color: #FFF;border-radius: 20rpx;overflow: hidden;">
|
||||
<view>
|
||||
<image src="/static/s1.jpg" mode="widthFix" style="width: 100%;"></image>
|
||||
</view>
|
||||
<view style="padding:10rpx 20rpx;font-weight: 400;">
|
||||
<view class="tn-text-ellipsis-2">青年企业家能力提升 计划培训班(第20期)</view>
|
||||
<view class="tn-flex tn-flex-row-between"
|
||||
style="font-size: 24rpx;color:#808080;padding: 20rpx 0rpx;">
|
||||
<view>河南青企协</view>
|
||||
<view>
|
||||
<text class="tn-icon-eye"></text>
|
||||
<text style="margin-left: 5rpx;">568</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding: 30rpx 0rpx;">
|
||||
<scroll-view :scroll-x="true" style="padding:0rpx 30rpx;white-space: nowrap;">
|
||||
<view v-for="(item,index) in 3" @click="openUrl('/pages/index/new_info')"
|
||||
style="box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;;display: inline-block;width: 335rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;">
|
||||
<view>
|
||||
<image src="/static/hd1.jpg" style="width: 335rpx;height: 200rpx;"></image>
|
||||
</view>
|
||||
<view style="padding:10rpx 20rpx;font-weight: 400;">
|
||||
<view class="tn-text-ellipsis" style="letter-spacing: 1px;">青年企业家能力提升 计划培训班(第20期)</view>
|
||||
<view class="tn-flex tn-flex-row-between"
|
||||
style="font-size: 24rpx;color:#808080;padding: 15rpx 0rpx;">
|
||||
<view>河南青企协</view>
|
||||
<view>
|
||||
<text class="tn-icon-eye"></text>
|
||||
<text style="margin-left: 5rpx;">568</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center" style="padding:10rpx 30rpx;">
|
||||
<view style="font-size: 36rpx;">供需服务</view>
|
||||
<view style="color: #808080;" @click="openUrl('/pages/index/goods_list')">
|
||||
<text>更多</text>
|
||||
<text class="tn-icon-right"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view style="padding:10rpx 30rpx 100rpx 30rpx;">
|
||||
<view v-for="(item,index) in 3" @click="openUrl('/pages/index/goods_info')" style="background-color: #FFF;padding: 20rpx;border-radius: 20rpx;
|
||||
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);margin-bottom: 20rpx;">
|
||||
<view class="tn-text-ellipsis">
|
||||
<tn-tag v-if="index%2==0" shape="radius" size="sm" backgroundColor="tn-main-gradient-red--reverse"
|
||||
width="60rpx">需求</tn-tag>
|
||||
<tn-tag v-if="index%2!=0" shape="radius" size="sm" backgroundColor="tn-main-gradient-blue"
|
||||
width="60rpx">供应</tn-tag>
|
||||
<text style="vertical-align: middle;padding-left: 20rpx;font-size:30rpx;">
|
||||
劲捷飞燕系列P056C旅拍三脚架碳纤维摄影旅拍三脚架碳纤维摄影</text>
|
||||
</view>
|
||||
<view style="font-size: 24rpx;color: #808080;margin-top: 20rpx;">洛阳灵睿网络技术有限公司</view>
|
||||
<view>
|
||||
<tn-tag shape="radius" width="auto" backgroundColor="#F7F7F7" fontColor="#808080">洛阳市</tn-tag>
|
||||
<tn-tag shape="radius" margin="20rpx" width="auto" backgroundColor="#EBF4F7"
|
||||
fontColor="#3377FF">合作意向18人</tn-tag>
|
||||
<tn-tag shape="radius" width="auto" backgroundColor="#F7F3EB" fontColor="#FF8C19">项目金额1万以下</tn-tag>
|
||||
</view>
|
||||
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center"
|
||||
style="margin-top: 20rpx;">
|
||||
<view style="color: #808080;font-size: 24rpx;">2023-12-19</view>
|
||||
<view>
|
||||
<tn-button shape="round" :fontSize="22" width="160rpx" height="50rpx"
|
||||
backgroundColor="tn-main-gradient-orange" fontColor="#ffffff">意向合作</tn-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="padding-bottom: 120rpx;">
|
||||
<tn-load-more class="tn-margin-top" :status="load_status"></tn-load-more>
|
||||
</view>
|
||||
<tn-tabbar :outHeight="140" :height="120" v-model="currentIndex" :list="tabbarList" activeColor="#3377FF"
|
||||
inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99" :animation="true"
|
||||
:safeAreaInsetBottom="true" @change="switchTabbar"></tn-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -263,6 +93,29 @@ box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);margin-bottom: 20rpx;">
|
|||
data() {
|
||||
//1.线下活动2.调查问卷3.公益捐赠4.学习培训
|
||||
return {
|
||||
currentIndex: -1,
|
||||
// 底部tabbar菜单数据
|
||||
tabbarList: [{
|
||||
title: '首页',
|
||||
activeIcon: '/static/01_1.png',
|
||||
inactiveIcon: '/static/01.png'
|
||||
},
|
||||
{
|
||||
title: '通讯录',
|
||||
activeIcon: '/static/02_2.png',
|
||||
inactiveIcon: '/static/02.png'
|
||||
},
|
||||
{
|
||||
title: '发现',
|
||||
activeIcon: '/static/03_3.png',
|
||||
inactiveIcon: '/static/03.png'
|
||||
},
|
||||
{
|
||||
title: '个人中心',
|
||||
activeIcon: '/static/04_4.png',
|
||||
inactiveIcon: '/static/04.png'
|
||||
}
|
||||
],
|
||||
current: 0,
|
||||
load_status: 'loading ',
|
||||
tabList: [{
|
||||
|
@ -296,6 +149,13 @@ box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);margin-bottom: 20rpx;">
|
|||
this.getActivityIndex();
|
||||
},
|
||||
methods: {
|
||||
switchTabbar(d) {
|
||||
console.log(d);
|
||||
uni.$emit('depId', {
|
||||
index: d
|
||||
})
|
||||
uni.navigateBack()
|
||||
},
|
||||
onsubmit() {
|
||||
this.page = 1;
|
||||
this.actList = [];
|
||||
|
|
|
@ -74,13 +74,13 @@
|
|||
<view style="padding:0px 20rpx;">
|
||||
<tn-list-cell :arrow="true" @click="tn('/pages/index/my_card_holder')">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||
<image src="/static/ico12.png" style="width: 50rpx;height: 50rpx"></image>
|
||||
<image src="/static/icon13.png" style="width: 50rpx;height: 50rpx"></image>
|
||||
<view style="margin-left: 20rpx;">名片夹</view>
|
||||
</view>
|
||||
</tn-list-cell>
|
||||
<tn-list-cell :arrow="true" @click="tn('/pages/index/my_edit')">
|
||||
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||
<image src="/static/ico12.png" style="width: 50rpx;height: 50rpx"></image>
|
||||
<image src="/static/icon14.png" style="width: 50rpx;height: 50rpx"></image>
|
||||
<view style="margin-left: 20rpx;">信息修改</view>
|
||||
</view>
|
||||
</tn-list-cell>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 978 B |
BIN
static/ico7.png
BIN
static/ico7.png
Binary file not shown.
Before Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 491 B |
Binary file not shown.
After Width: | Height: | Size: 607 B |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -101,22 +101,22 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnSteps: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-steps/tn-steps */ "tuniao-ui/components/tn-steps/tn-steps").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-steps/tn-steps.vue */ 378))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-steps/tn-steps */ "tuniao-ui/components/tn-steps/tn-steps").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-steps/tn-steps.vue */ 396))
|
||||
},
|
||||
tnCheckbox: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-checkbox/tn-checkbox */ "tuniao-ui/components/tn-checkbox/tn-checkbox").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-checkbox/tn-checkbox.vue */ 385))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-checkbox/tn-checkbox */ "tuniao-ui/components/tn-checkbox/tn-checkbox").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-checkbox/tn-checkbox.vue */ 403))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 317))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -80,16 +80,16 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -113,25 +113,11 @@ var render = function () {
|
|||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var l0 = _vm.__map(_vm.industry_list, function (item, index) {
|
||||
var $orig = _vm.__get_orig(item)
|
||||
var m0 = _vm.tabbarItemClass(index)
|
||||
return {
|
||||
$orig: $orig,
|
||||
m0: m0,
|
||||
}
|
||||
})
|
||||
var g0 = _vm.list.length
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.selectShow = true
|
||||
}
|
||||
}
|
||||
var g0 = _vm.tabRightList.length
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
l0: l0,
|
||||
g0: g0,
|
||||
},
|
||||
}
|
||||
|
@ -176,6 +162,8 @@ Object.defineProperty(exports, "__esModule", {
|
|||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 35));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 37));
|
||||
var _api = __webpack_require__(/*! @/util/api.js */ 33);
|
||||
var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
||||
//
|
||||
|
@ -290,25 +278,32 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
screenMode: false,
|
||||
serach_content: '',
|
||||
list: [],
|
||||
tabList: ['所属行业', '所属区域', '组织架构'],
|
||||
topCurrent: 0,
|
||||
tabbarIndex: 0,
|
||||
// 分类菜单item的信息
|
||||
tabbarItemInfo: [],
|
||||
// scrollView的top值
|
||||
scrollViewBasicTop: 0,
|
||||
// scrollView的高度
|
||||
scrollViewHeight: 0,
|
||||
// 左边scrollView的滚动高度
|
||||
leftScrollViewTop: 0,
|
||||
// 右边scrollView的滚动高度
|
||||
rightScrollViewTop: 0,
|
||||
// 当前选中的tabbar序号
|
||||
currentTabbarIndex: 0,
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
industry_list: [],
|
||||
leftId: 0,
|
||||
|
@ -316,154 +311,242 @@ var _default = {
|
|||
HomeTitle: '',
|
||||
selectList: [],
|
||||
gid: _store.default.state.Gid,
|
||||
top: 0
|
||||
top: 0,
|
||||
tabRightList: '',
|
||||
tabRightIndex: 0,
|
||||
tabRightInfo: {},
|
||||
isSerach: false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
tabbarItemClass: function tabbarItemClass() {
|
||||
var _this = this;
|
||||
return function (index) {
|
||||
if (index === _this.currentTabbarIndex) {
|
||||
return 'tn-classify__tabbar__item--active tn-bg-white';
|
||||
} else {
|
||||
var clazz = '';
|
||||
if (_this.currentTabbarIndex > 0 && index === _this.currentTabbarIndex - 1) {
|
||||
clazz += ' tn-classify__tabbar__item--active--prev';
|
||||
}
|
||||
if (_this.currentTabbarIndex < _this.industry_list.length && index === _this.currentTabbarIndex + 1) {
|
||||
clazz += ' tn-classify__tabbar__item--active--next';
|
||||
}
|
||||
return clazz;
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
onLoad: function onLoad(d) {
|
||||
console.log(d.id);
|
||||
if (typeof d.id != 'undefined') {
|
||||
this.gid = d.id;
|
||||
}
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
mounted: function mounted() {
|
||||
// console.log(d.id);
|
||||
// if (typeof(d.id) != 'undefined') {
|
||||
// this.gid = d.id;
|
||||
// }
|
||||
this.loadTabData();
|
||||
},
|
||||
methods: {
|
||||
loadTabData: function loadTabData() {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
if (!(_this.tabbarIndex === 0)) {
|
||||
_context.next = 3;
|
||||
break;
|
||||
}
|
||||
_context.next = 3;
|
||||
return _this.getIndustryList();
|
||||
case 3:
|
||||
if (!(_this.tabbarIndex === 1)) {
|
||||
_context.next = 6;
|
||||
break;
|
||||
}
|
||||
_context.next = 6;
|
||||
return _this.getRegionList();
|
||||
case 6:
|
||||
if (!(_this.tabbarIndex === 2)) {
|
||||
_context.next = 9;
|
||||
break;
|
||||
}
|
||||
_context.next = 9;
|
||||
return _this.getPositionList();
|
||||
case 9:
|
||||
console.log(_this.tabRightInfo);
|
||||
_this.getAddressList();
|
||||
case 11:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
},
|
||||
openMode: function openMode() {
|
||||
uni.$emit('showTab', {
|
||||
index: false
|
||||
});
|
||||
this.screenMode = true;
|
||||
},
|
||||
delMode: function delMode() {
|
||||
uni.$emit('showTab', {
|
||||
index: true
|
||||
});
|
||||
this.screenMode = false;
|
||||
},
|
||||
serach_do: function serach_do() {
|
||||
this.list = [];
|
||||
this.isSerach = false;
|
||||
this.serach_content = '';
|
||||
this.getAddressList();
|
||||
},
|
||||
getScroll: function getScroll(d) {
|
||||
this.top = d.scrollTop;
|
||||
getAddressList: function getAddressList() {
|
||||
var _this2 = this;
|
||||
var industry_id = 0;
|
||||
var position_id = 0;
|
||||
var region_id = 0;
|
||||
if (this.serach_content == '') {
|
||||
this.isSerach = false;
|
||||
if (this.tabbarIndex == 0) {
|
||||
industry_id = this.tabRightInfo.id;
|
||||
} else if (this.tabbarIndex == 1) {
|
||||
region_id = this.tabRightInfo.id;
|
||||
} else {
|
||||
position_id = this.tabRightInfo.id;
|
||||
}
|
||||
} else {
|
||||
this.isSerach = true;
|
||||
industry_id = 0;
|
||||
position_id = 0;
|
||||
region_id = 0;
|
||||
}
|
||||
(0, _api.addressList)({
|
||||
association_id: this.gid,
|
||||
industry_id: industry_id,
|
||||
position_id: position_id,
|
||||
region_id: region_id,
|
||||
nikename: this.serach_content
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this2.list = res.data.ret;
|
||||
}
|
||||
_this2.delMode();
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
onload: function onload() {
|
||||
this.gid = _store.default.state.Gid;
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
tabbarIndexCur: function tabbarIndexCur(d) {
|
||||
this.tabRightIndex = 0;
|
||||
this.tabbarIndex = d;
|
||||
if (d == 0) {
|
||||
this.getIndustryList();
|
||||
}
|
||||
if (d == 1) {
|
||||
this.getRegionList();
|
||||
}
|
||||
if (d == 2) {
|
||||
this.getPositionList();
|
||||
}
|
||||
},
|
||||
tabRightListCur: function tabRightListCur(d) {
|
||||
this.tabRightIndex = d;
|
||||
this.tabRightInfo = this.tabRightList[d];
|
||||
},
|
||||
confirm: function confirm(d) {
|
||||
var info = d[0];
|
||||
this.list = [];
|
||||
this.gid = info.value;
|
||||
this.getAssociationIndex();
|
||||
this.getIndustryList();
|
||||
},
|
||||
getAssociationIndex: function getAssociationIndex() {
|
||||
var _this2 = this;
|
||||
(0, _api.associationIndex)().then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
value: item.id,
|
||||
label: item.association_name
|
||||
};
|
||||
getRegionList: function getRegionList() {
|
||||
var _this3 = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
(0, _api.getRegion)({
|
||||
association_id: _this3.gid
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
id: item.id,
|
||||
name: item.region_name
|
||||
};
|
||||
});
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
_this3.tabRightList = transformedSelectList;
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
var foundNumber = transformedSelectList.find(function (element) {
|
||||
return element.value == _this2.gid;
|
||||
});
|
||||
_this2.HomeTitle = foundNumber.label;
|
||||
_this2.selectList = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getPositionList: function getPositionList() {
|
||||
var _this4 = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
(0, _api.getPosition)({
|
||||
association_id: _this4.gid
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
id: item.id,
|
||||
name: item.position_name
|
||||
};
|
||||
});
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
_this4.tabRightList = transformedSelectList;
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
onload: function onload() {
|
||||
//this.tabbarIndex = 0;
|
||||
//this.gid = store.state.Gid;
|
||||
//this.getIndustryList();
|
||||
//this.getAddressList();
|
||||
//this.getAssociationIndex();
|
||||
},
|
||||
getIndustryList: function getIndustryList() {
|
||||
var _this3 = this;
|
||||
(0, _api.newIndustryIndex)({
|
||||
association_id: this.gid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this3.industry_list = res.data;
|
||||
_this3.industry_list.push({
|
||||
id: 0,
|
||||
industry_name: '其他行业'
|
||||
});
|
||||
_this3.leftId = res.data[0].id;
|
||||
_this3.getAddressList();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getAddressList: function getAddressList() {
|
||||
var _this4 = this;
|
||||
(0, _api.addressList)({
|
||||
association_id: this.gid,
|
||||
industry_id: this.leftId,
|
||||
nikename: this.serach_content
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this4.list = res.data.ret;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
clickClassifyNav: function clickClassifyNav(index) {
|
||||
this.currentTabbarIndex = index;
|
||||
this.leftId = this.industry_list[index].id;
|
||||
this.list = [];
|
||||
this.top = this.randomBetween();
|
||||
this.getAddressList();
|
||||
//this.handleLeftScrollView(index)
|
||||
//this.switchClassifyContent();
|
||||
},
|
||||
randomBetween: function randomBetween() {
|
||||
var baseRandom = Math.random() * (0.99999 - 0.00001) + 0.00001;
|
||||
return baseRandom.toFixed(5); //
|
||||
},
|
||||
// 点击分类后,处理scrollView滚动到居中位置
|
||||
handleLeftScrollView: function handleLeftScrollView(index) {
|
||||
var tabbarItemTop = this.tabbarItemInfo[index].top - this.scrollViewBasicTop;
|
||||
if (tabbarItemTop > this.scrollViewHeight / 2) {
|
||||
this.leftScrollViewTop = tabbarItemTop - this.scrollViewHeight / 2 + this.tabbarItemInfo[index].height;
|
||||
} else {
|
||||
this.leftScrollViewTop = 0;
|
||||
}
|
||||
},
|
||||
// 切换对应分类的数据
|
||||
switchClassifyContent: function switchClassifyContent() {
|
||||
var _this5 = this;
|
||||
this.rightScrollViewTop = 1;
|
||||
this.$nextTick(function () {
|
||||
_this5.rightScrollViewTop = 0;
|
||||
return new Promise(function (resolve, reject) {
|
||||
(0, _api.newIndustryIndex)({
|
||||
association_id: _this5.gid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
key.push({
|
||||
id: 0,
|
||||
industry_name: '其他行业'
|
||||
});
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
id: item.id,
|
||||
name: item.industry_name
|
||||
};
|
||||
});
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
_this5.tabRightList = transformedSelectList;
|
||||
_this5.tabRightInfo = transformedSelectList[0];
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
});
|
||||
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
|
||||
},
|
||||
tn: function tn(url) {
|
||||
uni.navigateTo({
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
"tn-nav-bar": "/tuniao-ui/components/tn-nav-bar/tn-nav-bar",
|
||||
"tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs",
|
||||
"tn-button": "/tuniao-ui/components/tn-button/tn-button",
|
||||
"tn-select": "/tuniao-ui/components/tn-select/tn-select"
|
||||
"tn-popup": "/tuniao-ui/components/tn-popup/tn-popup"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -73,4 +73,7 @@
|
|||
.tn-classify__content__sub-classify__content__item.data-v-671ec3f2 {
|
||||
padding: 20rpx;
|
||||
}
|
||||
.actBackground.data-v-671ec3f2 {
|
||||
background: #3f8bf2;
|
||||
}
|
||||
|
||||
|
|
|
@ -101,13 +101,13 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 317))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,19 +101,19 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnGrid: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-grid/tn-grid */ "tuniao-ui/components/tn-grid/tn-grid").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid/tn-grid.vue */ 313))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-grid/tn-grid */ "tuniao-ui/components/tn-grid/tn-grid").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid/tn-grid.vue */ 331))
|
||||
},
|
||||
tnGridItem: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-grid-item/tn-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-grid-item/tn-grid-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid-item/tn-grid-item.vue */ 320))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-grid-item/tn-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-grid-item/tn-grid-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid-item/tn-grid-item.vue */ 338))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,43 +101,43 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnAvatarGroup: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-avatar-group/tn-avatar-group */ "tuniao-ui/components/tn-avatar-group/tn-avatar-group").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-avatar-group/tn-avatar-group.vue */ 505))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-avatar-group/tn-avatar-group */ "tuniao-ui/components/tn-avatar-group/tn-avatar-group").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-avatar-group/tn-avatar-group.vue */ 439))
|
||||
},
|
||||
tnForm: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-form/tn-form */ "tuniao-ui/components/tn-form/tn-form").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form/tn-form.vue */ 355))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-form/tn-form */ "tuniao-ui/components/tn-form/tn-form").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form/tn-form.vue */ 373))
|
||||
},
|
||||
tnFormItem: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-form-item/tn-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-form-item/tn-form-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form-item/tn-form-item.vue */ 360))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-form-item/tn-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-form-item/tn-form-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form-item/tn-form-item.vue */ 378))
|
||||
},
|
||||
tnCheckboxGroup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-checkbox-group/tn-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-checkbox-group/tn-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-checkbox-group/tn-checkbox-group.vue */ 421))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-checkbox-group/tn-checkbox-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-checkbox-group/tn-checkbox-group")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-checkbox-group/tn-checkbox-group.vue */ 446))
|
||||
},
|
||||
tnCheckbox: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-checkbox/tn-checkbox */ "tuniao-ui/components/tn-checkbox/tn-checkbox").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-checkbox/tn-checkbox.vue */ 385))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-checkbox/tn-checkbox */ "tuniao-ui/components/tn-checkbox/tn-checkbox").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-checkbox/tn-checkbox.vue */ 403))
|
||||
},
|
||||
tnRadioGroup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-radio-group/tn-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-radio-group/tn-radio-group")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-radio-group/tn-radio-group.vue */ 428))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-radio-group/tn-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-radio-group/tn-radio-group")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-radio-group/tn-radio-group.vue */ 453))
|
||||
},
|
||||
tnRadio: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-radio/tn-radio */ "tuniao-ui/components/tn-radio/tn-radio").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-radio/tn-radio.vue */ 435))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-radio/tn-radio */ "tuniao-ui/components/tn-radio/tn-radio").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-radio/tn-radio.vue */ 460))
|
||||
},
|
||||
tnInput: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 371))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 389))
|
||||
},
|
||||
tnModal: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 392))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 410))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 348))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -99,13 +99,13 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -99,13 +99,13 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,16 +101,16 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnNoticeBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-notice-bar/tn-notice-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-notice-bar/tn-notice-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-notice-bar/tn-notice-bar.vue */ 284))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-notice-bar/tn-notice-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-notice-bar/tn-notice-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-notice-bar/tn-notice-bar.vue */ 302))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 317))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -445,6 +445,15 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -452,7 +461,9 @@ var _default = {
|
|||
selectShow: false,
|
||||
selectList: [],
|
||||
topCurrent: 0,
|
||||
searlist: ['会员名称/协会名称/活动/新闻'],
|
||||
searlist: [{
|
||||
article_title: '会员名称/协会名称/活动/新闻'
|
||||
}],
|
||||
cardCur: 0,
|
||||
isAndroid: true,
|
||||
goryList: [],
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -97,7 +97,7 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnTabbar: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-tabbar/tn-tabbar */ "tuniao-ui/components/tn-tabbar/tn-tabbar").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabbar/tn-tabbar.vue */ 269))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-tabbar/tn-tabbar */ "tuniao-ui/components/tn-tabbar/tn-tabbar").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabbar/tn-tabbar.vue */ 287))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -205,6 +205,7 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
components: {
|
||||
Home: _home.default,
|
||||
|
@ -247,7 +248,8 @@ var _default = {
|
|||
tabberPageLoadFlag: [],
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
icon: '',
|
||||
name: ''
|
||||
name: '',
|
||||
tabShow: true
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad(options) {
|
||||
|
@ -261,6 +263,10 @@ var _default = {
|
|||
uni.$on('depId', function (data) {
|
||||
that.switchTabbar(data.index);
|
||||
});
|
||||
uni.$on('showTab', function (data) {
|
||||
var index = data.index;
|
||||
that.tabShow = index;
|
||||
});
|
||||
},
|
||||
mounted: function mounted() {
|
||||
//this.wxshare();
|
||||
|
@ -423,16 +429,16 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnNoticeBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-notice-bar/tn-notice-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-notice-bar/tn-notice-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-notice-bar/tn-notice-bar.vue */ 284))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-notice-bar/tn-notice-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-notice-bar/tn-notice-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-notice-bar/tn-notice-bar.vue */ 302))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 317))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -765,6 +771,15 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -772,7 +787,9 @@ var _default = {
|
|||
selectShow: false,
|
||||
selectList: [],
|
||||
topCurrent: 0,
|
||||
searlist: ['会员名称/协会名称/活动/新闻'],
|
||||
searlist: [{
|
||||
article_title: '会员名称/协会名称/活动/新闻'
|
||||
}],
|
||||
cardCur: 0,
|
||||
isAndroid: true,
|
||||
goryList: [],
|
||||
|
@ -1155,22 +1172,25 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnGrid: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-grid/tn-grid */ "tuniao-ui/components/tn-grid/tn-grid").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid/tn-grid.vue */ 313))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-grid/tn-grid */ "tuniao-ui/components/tn-grid/tn-grid").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid/tn-grid.vue */ 331))
|
||||
},
|
||||
tnGridItem: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-grid-item/tn-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-grid-item/tn-grid-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid-item/tn-grid-item.vue */ 320))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-grid-item/tn-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-grid-item/tn-grid-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid-item/tn-grid-item.vue */ 338))
|
||||
},
|
||||
tnLoadMore: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-load-more/tn-load-more */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-load-more/tn-load-more")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-load-more/tn-load-more.vue */ 327))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-load-more/tn-load-more */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-load-more/tn-load-more")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-load-more/tn-load-more.vue */ 345))
|
||||
},
|
||||
tnTabbar: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-tabbar/tn-tabbar */ "tuniao-ui/components/tn-tabbar/tn-tabbar").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabbar/tn-tabbar.vue */ 287))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -1320,180 +1340,29 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
//1.线下活动2.调查问卷3.公益捐赠4.学习培训
|
||||
return {
|
||||
currentIndex: -1,
|
||||
// 底部tabbar菜单数据
|
||||
tabbarList: [{
|
||||
title: '首页',
|
||||
activeIcon: '/static/01_1.png',
|
||||
inactiveIcon: '/static/01.png'
|
||||
}, {
|
||||
title: '通讯录',
|
||||
activeIcon: '/static/02_2.png',
|
||||
inactiveIcon: '/static/02.png'
|
||||
}, {
|
||||
title: '发现',
|
||||
activeIcon: '/static/03_3.png',
|
||||
inactiveIcon: '/static/03.png'
|
||||
}, {
|
||||
title: '个人中心',
|
||||
activeIcon: '/static/04_4.png',
|
||||
inactiveIcon: '/static/04.png'
|
||||
}],
|
||||
current: 0,
|
||||
load_status: 'loading ',
|
||||
tabList: [{
|
||||
|
@ -1527,6 +1396,13 @@ var _default = {
|
|||
this.getActivityIndex();
|
||||
},
|
||||
methods: {
|
||||
switchTabbar: function switchTabbar(d) {
|
||||
console.log(d);
|
||||
uni.$emit('depId', {
|
||||
index: d
|
||||
});
|
||||
uni.navigateBack();
|
||||
},
|
||||
onsubmit: function onsubmit() {
|
||||
this.page = 1;
|
||||
this.actList = [];
|
||||
|
@ -1671,13 +1547,13 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -1957,25 +1833,25 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnListCell: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-cell/tn-list-cell */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-cell/tn-list-cell")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-cell/tn-list-cell.vue */ 334))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-cell/tn-list-cell */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-cell/tn-list-cell")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-cell/tn-list-cell.vue */ 352))
|
||||
},
|
||||
tnBadge: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-badge/tn-badge */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-badge/tn-badge")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-badge/tn-badge.vue */ 341))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-badge/tn-badge */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-badge/tn-badge")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-badge/tn-badge.vue */ 359))
|
||||
},
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 348))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
tnForm: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-form/tn-form */ "tuniao-ui/components/tn-form/tn-form").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form/tn-form.vue */ 355))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-form/tn-form */ "tuniao-ui/components/tn-form/tn-form").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form/tn-form.vue */ 373))
|
||||
},
|
||||
tnFormItem: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-form-item/tn-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-form-item/tn-form-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form-item/tn-form-item.vue */ 360))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-form-item/tn-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-form-item/tn-form-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form-item/tn-form-item.vue */ 378))
|
||||
},
|
||||
tnInput: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 371))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 389))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -2494,16 +2370,16 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -2527,25 +2403,11 @@ var render = function () {
|
|||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var l0 = _vm.__map(_vm.industry_list, function (item, index) {
|
||||
var $orig = _vm.__get_orig(item)
|
||||
var m0 = _vm.tabbarItemClass(index)
|
||||
return {
|
||||
$orig: $orig,
|
||||
m0: m0,
|
||||
}
|
||||
})
|
||||
var g0 = _vm.list.length
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.selectShow = true
|
||||
}
|
||||
}
|
||||
var g0 = _vm.tabRightList.length
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
l0: l0,
|
||||
g0: g0,
|
||||
},
|
||||
}
|
||||
|
@ -2588,6 +2450,8 @@ Object.defineProperty(exports, "__esModule", {
|
|||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 35));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 37));
|
||||
var _api = __webpack_require__(/*! @/util/api.js */ 33);
|
||||
var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
||||
//
|
||||
|
@ -2702,25 +2566,32 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
screenMode: false,
|
||||
serach_content: '',
|
||||
list: [],
|
||||
tabList: ['所属行业', '所属区域', '组织架构'],
|
||||
topCurrent: 0,
|
||||
tabbarIndex: 0,
|
||||
// 分类菜单item的信息
|
||||
tabbarItemInfo: [],
|
||||
// scrollView的top值
|
||||
scrollViewBasicTop: 0,
|
||||
// scrollView的高度
|
||||
scrollViewHeight: 0,
|
||||
// 左边scrollView的滚动高度
|
||||
leftScrollViewTop: 0,
|
||||
// 右边scrollView的滚动高度
|
||||
rightScrollViewTop: 0,
|
||||
// 当前选中的tabbar序号
|
||||
currentTabbarIndex: 0,
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
industry_list: [],
|
||||
leftId: 0,
|
||||
|
@ -2728,154 +2599,242 @@ var _default = {
|
|||
HomeTitle: '',
|
||||
selectList: [],
|
||||
gid: _store.default.state.Gid,
|
||||
top: 0
|
||||
top: 0,
|
||||
tabRightList: '',
|
||||
tabRightIndex: 0,
|
||||
tabRightInfo: {},
|
||||
isSerach: false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
tabbarItemClass: function tabbarItemClass() {
|
||||
var _this = this;
|
||||
return function (index) {
|
||||
if (index === _this.currentTabbarIndex) {
|
||||
return 'tn-classify__tabbar__item--active tn-bg-white';
|
||||
} else {
|
||||
var clazz = '';
|
||||
if (_this.currentTabbarIndex > 0 && index === _this.currentTabbarIndex - 1) {
|
||||
clazz += ' tn-classify__tabbar__item--active--prev';
|
||||
}
|
||||
if (_this.currentTabbarIndex < _this.industry_list.length && index === _this.currentTabbarIndex + 1) {
|
||||
clazz += ' tn-classify__tabbar__item--active--next';
|
||||
}
|
||||
return clazz;
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
onLoad: function onLoad(d) {
|
||||
console.log(d.id);
|
||||
if (typeof d.id != 'undefined') {
|
||||
this.gid = d.id;
|
||||
}
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
mounted: function mounted() {
|
||||
// console.log(d.id);
|
||||
// if (typeof(d.id) != 'undefined') {
|
||||
// this.gid = d.id;
|
||||
// }
|
||||
this.loadTabData();
|
||||
},
|
||||
methods: {
|
||||
loadTabData: function loadTabData() {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
if (!(_this.tabbarIndex === 0)) {
|
||||
_context.next = 3;
|
||||
break;
|
||||
}
|
||||
_context.next = 3;
|
||||
return _this.getIndustryList();
|
||||
case 3:
|
||||
if (!(_this.tabbarIndex === 1)) {
|
||||
_context.next = 6;
|
||||
break;
|
||||
}
|
||||
_context.next = 6;
|
||||
return _this.getRegionList();
|
||||
case 6:
|
||||
if (!(_this.tabbarIndex === 2)) {
|
||||
_context.next = 9;
|
||||
break;
|
||||
}
|
||||
_context.next = 9;
|
||||
return _this.getPositionList();
|
||||
case 9:
|
||||
console.log(_this.tabRightInfo);
|
||||
_this.getAddressList();
|
||||
case 11:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
},
|
||||
openMode: function openMode() {
|
||||
uni.$emit('showTab', {
|
||||
index: false
|
||||
});
|
||||
this.screenMode = true;
|
||||
},
|
||||
delMode: function delMode() {
|
||||
uni.$emit('showTab', {
|
||||
index: true
|
||||
});
|
||||
this.screenMode = false;
|
||||
},
|
||||
serach_do: function serach_do() {
|
||||
this.list = [];
|
||||
this.isSerach = false;
|
||||
this.serach_content = '';
|
||||
this.getAddressList();
|
||||
},
|
||||
getScroll: function getScroll(d) {
|
||||
this.top = d.scrollTop;
|
||||
getAddressList: function getAddressList() {
|
||||
var _this2 = this;
|
||||
var industry_id = 0;
|
||||
var position_id = 0;
|
||||
var region_id = 0;
|
||||
if (this.serach_content == '') {
|
||||
this.isSerach = false;
|
||||
if (this.tabbarIndex == 0) {
|
||||
industry_id = this.tabRightInfo.id;
|
||||
} else if (this.tabbarIndex == 1) {
|
||||
region_id = this.tabRightInfo.id;
|
||||
} else {
|
||||
position_id = this.tabRightInfo.id;
|
||||
}
|
||||
} else {
|
||||
this.isSerach = true;
|
||||
industry_id = 0;
|
||||
position_id = 0;
|
||||
region_id = 0;
|
||||
}
|
||||
(0, _api.addressList)({
|
||||
association_id: this.gid,
|
||||
industry_id: industry_id,
|
||||
position_id: position_id,
|
||||
region_id: region_id,
|
||||
nikename: this.serach_content
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this2.list = res.data.ret;
|
||||
}
|
||||
_this2.delMode();
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
onload: function onload() {
|
||||
this.gid = _store.default.state.Gid;
|
||||
this.getIndustryList();
|
||||
this.getAssociationIndex();
|
||||
tabbarIndexCur: function tabbarIndexCur(d) {
|
||||
this.tabRightIndex = 0;
|
||||
this.tabbarIndex = d;
|
||||
if (d == 0) {
|
||||
this.getIndustryList();
|
||||
}
|
||||
if (d == 1) {
|
||||
this.getRegionList();
|
||||
}
|
||||
if (d == 2) {
|
||||
this.getPositionList();
|
||||
}
|
||||
},
|
||||
tabRightListCur: function tabRightListCur(d) {
|
||||
this.tabRightIndex = d;
|
||||
this.tabRightInfo = this.tabRightList[d];
|
||||
},
|
||||
confirm: function confirm(d) {
|
||||
var info = d[0];
|
||||
this.list = [];
|
||||
this.gid = info.value;
|
||||
this.getAssociationIndex();
|
||||
this.getIndustryList();
|
||||
},
|
||||
getAssociationIndex: function getAssociationIndex() {
|
||||
var _this2 = this;
|
||||
(0, _api.associationIndex)().then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
value: item.id,
|
||||
label: item.association_name
|
||||
};
|
||||
getRegionList: function getRegionList() {
|
||||
var _this3 = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
(0, _api.getRegion)({
|
||||
association_id: _this3.gid
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
id: item.id,
|
||||
name: item.region_name
|
||||
};
|
||||
});
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
_this3.tabRightList = transformedSelectList;
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
var foundNumber = transformedSelectList.find(function (element) {
|
||||
return element.value == _this2.gid;
|
||||
});
|
||||
_this2.HomeTitle = foundNumber.label;
|
||||
_this2.selectList = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getPositionList: function getPositionList() {
|
||||
var _this4 = this;
|
||||
return new Promise(function (resolve, reject) {
|
||||
(0, _api.getPosition)({
|
||||
association_id: _this4.gid
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
id: item.id,
|
||||
name: item.position_name
|
||||
};
|
||||
});
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
_this4.tabRightList = transformedSelectList;
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
onload: function onload() {
|
||||
//this.tabbarIndex = 0;
|
||||
//this.gid = store.state.Gid;
|
||||
//this.getIndustryList();
|
||||
//this.getAddressList();
|
||||
//this.getAssociationIndex();
|
||||
},
|
||||
getIndustryList: function getIndustryList() {
|
||||
var _this3 = this;
|
||||
(0, _api.newIndustryIndex)({
|
||||
association_id: this.gid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this3.industry_list = res.data;
|
||||
_this3.industry_list.push({
|
||||
id: 0,
|
||||
industry_name: '其他行业'
|
||||
});
|
||||
_this3.leftId = res.data[0].id;
|
||||
_this3.getAddressList();
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getAddressList: function getAddressList() {
|
||||
var _this4 = this;
|
||||
(0, _api.addressList)({
|
||||
association_id: this.gid,
|
||||
industry_id: this.leftId,
|
||||
nikename: this.serach_content
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this4.list = res.data.ret;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
clickClassifyNav: function clickClassifyNav(index) {
|
||||
this.currentTabbarIndex = index;
|
||||
this.leftId = this.industry_list[index].id;
|
||||
this.list = [];
|
||||
this.top = this.randomBetween();
|
||||
this.getAddressList();
|
||||
//this.handleLeftScrollView(index)
|
||||
//this.switchClassifyContent();
|
||||
},
|
||||
randomBetween: function randomBetween() {
|
||||
var baseRandom = Math.random() * (0.99999 - 0.00001) + 0.00001;
|
||||
return baseRandom.toFixed(5); //
|
||||
},
|
||||
// 点击分类后,处理scrollView滚动到居中位置
|
||||
handleLeftScrollView: function handleLeftScrollView(index) {
|
||||
var tabbarItemTop = this.tabbarItemInfo[index].top - this.scrollViewBasicTop;
|
||||
if (tabbarItemTop > this.scrollViewHeight / 2) {
|
||||
this.leftScrollViewTop = tabbarItemTop - this.scrollViewHeight / 2 + this.tabbarItemInfo[index].height;
|
||||
} else {
|
||||
this.leftScrollViewTop = 0;
|
||||
}
|
||||
},
|
||||
// 切换对应分类的数据
|
||||
switchClassifyContent: function switchClassifyContent() {
|
||||
var _this5 = this;
|
||||
this.rightScrollViewTop = 1;
|
||||
this.$nextTick(function () {
|
||||
_this5.rightScrollViewTop = 0;
|
||||
return new Promise(function (resolve, reject) {
|
||||
(0, _api.newIndustryIndex)({
|
||||
association_id: _this5.gid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
key.push({
|
||||
id: 0,
|
||||
industry_name: '其他行业'
|
||||
});
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
id: item.id,
|
||||
name: item.industry_name
|
||||
};
|
||||
});
|
||||
transformedSelectList.unshift({
|
||||
id: 0,
|
||||
name: '全部'
|
||||
});
|
||||
_this5.tabRightList = transformedSelectList;
|
||||
_this5.tabRightInfo = transformedSelectList[0];
|
||||
}
|
||||
resolve(); // 当操作成功时调用resolve
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
});
|
||||
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
|
||||
},
|
||||
tn: function tn(url) {
|
||||
uni.navigateTo({
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="index data-v-57280228"><block wx:if="{{tabberPageLoadFlag[0]}}"><view style="{{'display:'+(currentIndex===0?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><home vue-id="8dd740cc-1" data-ref="home" class="data-v-57280228 vue-ref" bind:__l="__l"></home></scroll-view></view></block><block wx:if="{{tabberPageLoadFlag[1]}}"><view style="{{'display:'+(currentIndex===1?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><directory vue-id="8dd740cc-2" data-ref="directory" class="data-v-57280228 vue-ref" bind:__l="__l"></directory></scroll-view></view></block><block wx:if="{{tabberPageLoadFlag[2]}}"><view style="{{'display:'+(currentIndex===2?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><pizz vue-id="8dd740cc-3" data-ref="pizz" class="data-v-57280228 vue-ref" bind:__l="__l"></pizz></scroll-view></view></block><block wx:if="{{tabberPageLoadFlag[3]}}"><view style="{{'display:'+(currentIndex===3?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><user vue-id="8dd740cc-4" data-ref="user" class="data-v-57280228 vue-ref" bind:__l="__l"></user></scroll-view></view></block><tn-tabbar vue-id="8dd740cc-5" outHeight="{{140}}" height="{{120}}" list="{{tabbarList}}" activeColor="#3377FF" inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99" animation="{{true}}" safeAreaInsetBottom="{{true}}" value="{{currentIndex}}" data-event-opts="{{[['^change',[['switchTabbar']]],['^input',[['__set_model',['','currentIndex','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-57280228" bind:__l="__l"></tn-tabbar></view>
|
||||
<view class="index data-v-57280228"><block wx:if="{{tabberPageLoadFlag[0]}}"><view style="{{'display:'+(currentIndex===0?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><home vue-id="8dd740cc-1" data-ref="home" class="data-v-57280228 vue-ref" bind:__l="__l"></home></scroll-view></view></block><block wx:if="{{tabberPageLoadFlag[1]}}"><view style="{{'display:'+(currentIndex===1?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="{{['data-v-57280228',tabShow?'custom-tabbar-page':'']}}" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><directory vue-id="8dd740cc-2" data-ref="directory" class="data-v-57280228 vue-ref" bind:__l="__l"></directory></scroll-view></view></block><block wx:if="{{tabberPageLoadFlag[2]}}"><view style="{{'display:'+(currentIndex===2?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><pizz vue-id="8dd740cc-3" data-ref="pizz" class="data-v-57280228 vue-ref" bind:__l="__l"></pizz></scroll-view></view></block><block wx:if="{{tabberPageLoadFlag[3]}}"><view style="{{'display:'+(currentIndex===3?'':'none')+';'}}" class="data-v-57280228"><scroll-view class="custom-tabbar-page data-v-57280228" scroll-y="{{true}}" enable-back-to-top="{{true}}" data-event-opts="{{[['scrolltolower',[['tabbarPageScrollLower',['$event']]]]]}}" bindscrolltolower="__e"><user vue-id="8dd740cc-4" data-ref="user" class="data-v-57280228 vue-ref" bind:__l="__l"></user></scroll-view></view></block><tn-tabbar vue-id="8dd740cc-5" show="{{tabShow}}" outHeight="{{140}}" height="{{120}}" list="{{tabbarList}}" activeColor="#3377FF" inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99" animation="{{true}}" safeAreaInsetBottom="{{true}}" value="{{currentIndex}}" data-event-opts="{{[['^change',[['switchTabbar']]],['^input',[['__set_model',['','currentIndex','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-57280228" bind:__l="__l"></tn-tabbar></view>
|
|
@ -117,6 +117,9 @@
|
|||
.tn-classify__content__sub-classify__content__item.data-v-671ec3f2 {
|
||||
padding: 20rpx;
|
||||
}
|
||||
.actBackground.data-v-671ec3f2 {
|
||||
background: #3f8bf2;
|
||||
}
|
||||
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
|
|
|
@ -99,10 +99,10 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -99,10 +99,10 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,25 +101,28 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnModal: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 392))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 410))
|
||||
},
|
||||
tnForm: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-form/tn-form */ "tuniao-ui/components/tn-form/tn-form").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form/tn-form.vue */ 355))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-form/tn-form */ "tuniao-ui/components/tn-form/tn-form").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form/tn-form.vue */ 373))
|
||||
},
|
||||
tnFormItem: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-form-item/tn-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-form-item/tn-form-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form-item/tn-form-item.vue */ 360))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-form-item/tn-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-form-item/tn-form-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-form-item/tn-form-item.vue */ 378))
|
||||
},
|
||||
tnInput: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 371))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 389))
|
||||
},
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -145,8 +148,22 @@ var render = function () {
|
|||
var _c = _vm._self._c || _h
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function ($event) {
|
||||
_vm.editInfo = true
|
||||
_vm.editType = 1
|
||||
}
|
||||
_vm.e1 = function ($event) {
|
||||
_vm.editInfo = true
|
||||
_vm.editType = 2
|
||||
}
|
||||
_vm.e2 = function ($event) {
|
||||
_vm.addMod = false
|
||||
}
|
||||
_vm.e3 = function ($event) {
|
||||
_vm.editInfo = false
|
||||
}
|
||||
_vm.e4 = function ($event) {
|
||||
_vm.editInfo = false
|
||||
}
|
||||
}
|
||||
}
|
||||
var recyclableRender = false
|
||||
|
@ -295,6 +312,42 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -306,6 +359,8 @@ var _default = {
|
|||
userThisInfo: {},
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
is: false,
|
||||
editInfo: false,
|
||||
editType: 1,
|
||||
addData: {
|
||||
content: '',
|
||||
association_id: _store.default.state.Gid,
|
||||
|
@ -367,14 +422,6 @@ var _default = {
|
|||
});
|
||||
return;
|
||||
}
|
||||
if (this.addData.content == '') {
|
||||
uni.showToast({
|
||||
title: '请填写自我介绍!',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
return;
|
||||
}
|
||||
this.addData.member_q_id = this.uid;
|
||||
this.addData.member_b_id = this.this_uid;
|
||||
(0, _api.setMaillogAdd)(this.addData).then(function (res) {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"tn-modal": "/tuniao-ui/components/tn-modal/tn-modal",
|
||||
"tn-form": "/tuniao-ui/components/tn-form/tn-form",
|
||||
"tn-form-item": "/tuniao-ui/components/tn-form-item/tn-form-item",
|
||||
"tn-input": "/tuniao-ui/components/tn-input/tn-input"
|
||||
"tn-input": "/tuniao-ui/components/tn-input/tn-input",
|
||||
"tn-popup": "/tuniao-ui/components/tn-popup/tn-popup"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -99,10 +99,10 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -99,10 +99,10 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,31 +101,31 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnListView: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-view/tn-list-view */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-view/tn-list-view")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-view/tn-list-view.vue */ 406))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-view/tn-list-view */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-view/tn-list-view")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-view/tn-list-view.vue */ 424))
|
||||
},
|
||||
tnSelect: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 299))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-select/tn-select */ "tuniao-ui/components/tn-select/tn-select").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-select/tn-select.vue */ 317))
|
||||
},
|
||||
tnModal: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 392))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 410))
|
||||
},
|
||||
tnInput: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 371))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-input/tn-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-input/tn-input")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-input/tn-input.vue */ 389))
|
||||
},
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 348))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
lClipper: function () {
|
||||
return Promise.all(/*! import() | uni_modules/lime-clipper/components/l-clipper/l-clipper */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/lime-clipper/components/l-clipper/l-clipper")]).then(__webpack_require__.bind(null, /*! @/uni_modules/lime-clipper/components/l-clipper/l-clipper.vue */ 413))
|
||||
return Promise.all(/*! import() | uni_modules/lime-clipper/components/l-clipper/l-clipper */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/lime-clipper/components/l-clipper/l-clipper")]).then(__webpack_require__.bind(null, /*! @/uni_modules/lime-clipper/components/l-clipper/l-clipper.vue */ 431))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -455,6 +455,18 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
|
@ -490,7 +502,8 @@ var _default = {
|
|||
background_image: '',
|
||||
background_type: 3,
|
||||
position_id: '',
|
||||
gender: 0
|
||||
gender: 0,
|
||||
region_id: ''
|
||||
},
|
||||
apiImgUrl: this.$store.state.imgUrl,
|
||||
apiUpUrl: this.$store.state.apiUrl,
|
||||
|
@ -500,6 +513,9 @@ var _default = {
|
|||
position_id_show: false,
|
||||
position_id_name: '',
|
||||
position_list: [],
|
||||
region_id_show: false,
|
||||
region_id_name: '',
|
||||
region_list: [],
|
||||
sex_id_show: false,
|
||||
sex_list: [{
|
||||
label: '女',
|
||||
|
@ -551,12 +567,41 @@ var _default = {
|
|||
this.position_id_name = info.label;
|
||||
this.addMod.position_id = info.value;
|
||||
},
|
||||
getregionId: function getregionId(d) {
|
||||
console.log(d);
|
||||
var info = d[0];
|
||||
this.region_id_name = info.label;
|
||||
this.addMod.region_id = info.value;
|
||||
},
|
||||
getsexId: function getsexId(d) {
|
||||
var info = d[0];
|
||||
this.addMod.gender = info.value;
|
||||
},
|
||||
getIndustry: function getIndustry() {
|
||||
getRegionList: function getRegionList() {
|
||||
var _this = this;
|
||||
(0, _api.getRegion)({
|
||||
association_id: this.addMod.association_id
|
||||
}).then(function (res) {
|
||||
if (res.code == 1) {
|
||||
var key = res.data;
|
||||
var transformedSelectList = key.map(function (item) {
|
||||
return {
|
||||
value: item.id,
|
||||
label: item.region_name
|
||||
};
|
||||
});
|
||||
_this.region_list = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getIndustry: function getIndustry() {
|
||||
var _this2 = this;
|
||||
(0, _api.IndustryList)({
|
||||
association_id: this.addMod.association_id
|
||||
}).then(function (res) {
|
||||
|
@ -568,7 +613,7 @@ var _default = {
|
|||
label: item.industry_name
|
||||
};
|
||||
});
|
||||
_this.industry_list = transformedSelectList;
|
||||
_this2.industry_list = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -579,7 +624,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getPositionList: function getPositionList() {
|
||||
var _this2 = this;
|
||||
var _this3 = this;
|
||||
(0, _api.getPosition)({
|
||||
association_id: this.addMod.association_id
|
||||
}).then(function (res) {
|
||||
|
@ -591,7 +636,7 @@ var _default = {
|
|||
label: item.position_name
|
||||
};
|
||||
});
|
||||
_this2.position_list = transformedSelectList;
|
||||
_this3.position_list = transformedSelectList;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -693,13 +738,13 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getUserInfo: function getUserInfo() {
|
||||
var _this3 = this;
|
||||
var _this4 = this;
|
||||
(0, _api.getUserIndex)({
|
||||
member_b_id: this.uid,
|
||||
member_id: this.uid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
_this3.addMod = {
|
||||
_this4.addMod = {
|
||||
photo_image: res.data.photo_image,
|
||||
member_id: res.data.member_id,
|
||||
nikename: res.data.nikename,
|
||||
|
@ -715,12 +760,15 @@ var _default = {
|
|||
background_image: res.data.background_image,
|
||||
background_type: res.data.background_type,
|
||||
position_id: res.data.position_id,
|
||||
gender: res.data.gender
|
||||
gender: res.data.gender,
|
||||
region_id: res.data.region_id
|
||||
};
|
||||
_this3.industry_id_name = res.data.industry_name;
|
||||
_this3.position_id_name = res.data.position_name;
|
||||
_this3.getIndustry();
|
||||
_this3.getPositionList();
|
||||
_this4.region_id_name = res.data.region_name;
|
||||
_this4.industry_id_name = res.data.industry_name;
|
||||
_this4.position_id_name = res.data.position_name;
|
||||
_this4.getIndustry();
|
||||
_this4.getPositionList();
|
||||
_this4.getRegionList();
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -101,13 +101,13 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,16 +101,16 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnPopup: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 348))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-popup/tn-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-popup/tn-popup")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-popup/tn-popup.vue */ 366))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,22 +101,22 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnTag: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tag/tn-tag */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tag/tn-tag")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tag/tn-tag.vue */ 399))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tag/tn-tag */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tag/tn-tag")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tag/tn-tag.vue */ 417))
|
||||
},
|
||||
tnLoadMore: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-load-more/tn-load-more */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-load-more/tn-load-more")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-load-more/tn-load-more.vue */ 327))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-load-more/tn-load-more */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-load-more/tn-load-more")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-load-more/tn-load-more.vue */ 345))
|
||||
},
|
||||
tnModal: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 392))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-modal/tn-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-modal/tn-modal")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-modal/tn-modal.vue */ 410))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -319,6 +319,7 @@ var _default = {
|
|||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_store.default.state.msgCount = 0;
|
||||
uni.showToast({
|
||||
title: '操作成功!',
|
||||
icon: 'none',
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -99,10 +99,10 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -101,10 +101,10 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -99,13 +99,13 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
@ -99,19 +99,22 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnButton: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 291))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-button/tn-button */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-button/tn-button")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-button/tn-button.vue */ 309))
|
||||
},
|
||||
tnGrid: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-grid/tn-grid */ "tuniao-ui/components/tn-grid/tn-grid").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid/tn-grid.vue */ 313))
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-grid/tn-grid */ "tuniao-ui/components/tn-grid/tn-grid").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid/tn-grid.vue */ 331))
|
||||
},
|
||||
tnGridItem: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-grid-item/tn-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-grid-item/tn-grid-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid-item/tn-grid-item.vue */ 320))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-grid-item/tn-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-grid-item/tn-grid-item")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-grid-item/tn-grid-item.vue */ 338))
|
||||
},
|
||||
tnTabbar: function () {
|
||||
return __webpack_require__.e(/*! import() | tuniao-ui/components/tn-tabbar/tn-tabbar */ "tuniao-ui/components/tn-tabbar/tn-tabbar").then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabbar/tn-tabbar.vue */ 287))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -353,9 +356,31 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
|
|||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {
|
||||
currentIndex: -1,
|
||||
// 底部tabbar菜单数据
|
||||
tabbarList: [{
|
||||
title: '首页',
|
||||
activeIcon: '/static/01_1.png',
|
||||
inactiveIcon: '/static/01.png'
|
||||
}, {
|
||||
title: '通讯录',
|
||||
activeIcon: '/static/02_2.png',
|
||||
inactiveIcon: '/static/02.png'
|
||||
}, {
|
||||
title: '发现',
|
||||
activeIcon: '/static/03_3.png',
|
||||
inactiveIcon: '/static/03.png'
|
||||
}, {
|
||||
title: '个人中心',
|
||||
activeIcon: '/static/04_4.png',
|
||||
inactiveIcon: '/static/04.png'
|
||||
}],
|
||||
topCurrent: 0,
|
||||
swiperList: [{
|
||||
url: '/static/banner1.jpg'
|
||||
|
@ -390,10 +415,6 @@ var _default = {
|
|||
this.association_id = d.id;
|
||||
this.getAssociationInfo();
|
||||
this.getArchitectureList();
|
||||
var uid = uni.getStorageSync('uid');
|
||||
if (uid) {
|
||||
this.getUserInfo(uid);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
tab_change: function tab_change(d) {
|
||||
|
@ -402,32 +423,15 @@ var _default = {
|
|||
this.architecture = [];
|
||||
this.getArchitectureList();
|
||||
},
|
||||
getUserInfo: function getUserInfo(uid) {
|
||||
var _this = this;
|
||||
(0, _api.getUserIndex)({
|
||||
member_id: uid
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this.userInfo = res.data;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
title: error,
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
});
|
||||
});
|
||||
},
|
||||
getArchitectureList: function getArchitectureList() {
|
||||
var _this2 = this;
|
||||
var _this = this;
|
||||
(0, _api.architectureList)({
|
||||
association_id: this.association_id,
|
||||
type: this.type
|
||||
}).then(function (res) {
|
||||
console.log(res);
|
||||
if (res.code == 1) {
|
||||
_this2.architecture = res.data;
|
||||
_this.architecture = res.data;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -438,7 +442,7 @@ var _default = {
|
|||
});
|
||||
},
|
||||
getAssociationInfo: function getAssociationInfo() {
|
||||
var _this3 = this;
|
||||
var _this2 = this;
|
||||
console.log('discovery');
|
||||
(0, _api.associationInfo)({
|
||||
association_id: this.association_id
|
||||
|
@ -449,7 +453,7 @@ var _default = {
|
|||
if (key.association_desc.indexOf("<img") != -1) {
|
||||
key.association_desc = getApp().addWidthToImages(key.association_desc);
|
||||
}
|
||||
_this3.info = key;
|
||||
_this2.info = key;
|
||||
}
|
||||
}).catch(function (error) {
|
||||
uni.showToast({
|
||||
|
@ -482,6 +486,13 @@ var _default = {
|
|||
});
|
||||
}
|
||||
},
|
||||
switchTabbar: function switchTabbar(d) {
|
||||
console.log(d);
|
||||
uni.$emit('depId', {
|
||||
index: d
|
||||
});
|
||||
uni.navigateBack();
|
||||
},
|
||||
change: function change(e) {
|
||||
this.current = e;
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs",
|
||||
"tn-button": "/tuniao-ui/components/tn-button/tn-button",
|
||||
"tn-grid": "/tuniao-ui/components/tn-grid/tn-grid",
|
||||
"tn-grid-item": "/tuniao-ui/components/tn-grid-item/tn-grid-item"
|
||||
"tn-grid-item": "/tuniao-ui/components/tn-grid-item/tn-grid-item",
|
||||
"tn-tabbar": "/tuniao-ui/components/tn-tabbar/tn-tabbar"
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/policy"],{
|
||||
|
||||
/***/ 521:
|
||||
/***/ 269:
|
||||
/*!************************************************************!*\
|
||||
!*** E:/云商会/云商会/main.js?{"page":"pages%2Findex%2Fpolicy"} ***!
|
||||
\************************************************************/
|
||||
|
@ -13,7 +13,7 @@
|
|||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
__webpack_require__(/*! uni-pages */ 26);
|
||||
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
|
||||
var _policy = _interopRequireDefault(__webpack_require__(/*! ./pages/index/policy.vue */ 522));
|
||||
var _policy = _interopRequireDefault(__webpack_require__(/*! ./pages/index/policy.vue */ 270));
|
||||
// @ts-ignore
|
||||
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
|
||||
createPage(_policy.default);
|
||||
|
@ -21,7 +21,7 @@ createPage(_policy.default);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 522:
|
||||
/***/ 270:
|
||||
/*!*****************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/policy.vue ***!
|
||||
\*****************************************/
|
||||
|
@ -30,8 +30,8 @@ createPage(_policy.default);
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _policy_vue_vue_type_template_id_23b1baf0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./policy.vue?vue&type=template&id=23b1baf0& */ 523);
|
||||
/* harmony import */ var _policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./policy.vue?vue&type=script&lang=js& */ 525);
|
||||
/* harmony import */ var _policy_vue_vue_type_template_id_23b1baf0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./policy.vue?vue&type=template&id=23b1baf0& */ 271);
|
||||
/* harmony import */ var _policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./policy.vue?vue&type=script&lang=js& */ 273);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
|
||||
|
||||
|
@ -60,7 +60,7 @@ component.options.__file = "pages/index/policy.vue"
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 523:
|
||||
/***/ 271:
|
||||
/*!************************************************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/policy.vue?vue&type=template&id=23b1baf0& ***!
|
||||
\************************************************************************/
|
||||
|
@ -69,7 +69,7 @@ component.options.__file = "pages/index/policy.vue"
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_template_id_23b1baf0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./policy.vue?vue&type=template&id=23b1baf0& */ 524);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_template_id_23b1baf0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./policy.vue?vue&type=template&id=23b1baf0& */ 272);
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_template_id_23b1baf0___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||||
|
||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_template_id_23b1baf0___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||||
|
@ -82,7 +82,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 524:
|
||||
/***/ 272:
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/云商会/云商会/pages/index/policy.vue?vue&type=template&id=23b1baf0& ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
@ -99,16 +99,16 @@ var components
|
|||
try {
|
||||
components = {
|
||||
tnNavBar: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 276))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-nav-bar/tn-nav-bar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue */ 294))
|
||||
},
|
||||
tnTabs: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 306))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-tabs/tn-tabs */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-tabs/tn-tabs.vue */ 324))
|
||||
},
|
||||
tnListView: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-view/tn-list-view */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-view/tn-list-view")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-view/tn-list-view.vue */ 406))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-view/tn-list-view */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-view/tn-list-view")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-view/tn-list-view.vue */ 424))
|
||||
},
|
||||
tnListCell: function () {
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-cell/tn-list-cell */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-cell/tn-list-cell")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-cell/tn-list-cell.vue */ 334))
|
||||
return Promise.all(/*! import() | tuniao-ui/components/tn-list-cell/tn-list-cell */[__webpack_require__.e("common/vendor"), __webpack_require__.e("tuniao-ui/components/tn-list-cell/tn-list-cell")]).then(__webpack_require__.bind(null, /*! @/tuniao-ui/components/tn-list-cell/tn-list-cell.vue */ 352))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -141,7 +141,7 @@ render._withStripped = true
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 525:
|
||||
/***/ 273:
|
||||
/*!******************************************************************!*\
|
||||
!*** E:/云商会/云商会/pages/index/policy.vue?vue&type=script&lang=js& ***!
|
||||
\******************************************************************/
|
||||
|
@ -150,14 +150,14 @@ render._withStripped = true
|
|||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./policy.vue?vue&type=script&lang=js& */ 526);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./policy.vue?vue&type=script&lang=js& */ 274);
|
||||
/* harmony import */ var _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_F_HBuilderX_3_5_3_20220729_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_policy_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 526:
|
||||
/***/ 274:
|
||||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!E:/云商会/云商会/pages/index/policy.vue?vue&type=script&lang=js& ***!
|
||||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
@ -253,5 +253,5 @@ exports.default = _default;
|
|||
|
||||
/***/ })
|
||||
|
||||
},[[521,"common/runtime","common/vendor"]]]);
|
||||
},[[269,"common/runtime","common/vendor"]]]);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/policy.js.map
|
|
@ -1 +0,0 @@
|
|||
/* pages/index/policy.wxss */
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue