This commit is contained in:
王创世 2024-06-03 18:19:31 +08:00
parent 455b5af0d2
commit 3c5d371954
147 changed files with 2409 additions and 2320 deletions

View File

@ -1,10 +1,7 @@
<template> <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"> <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="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" <view class="tn-margin-top"
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"> style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
@ -14,66 +11,48 @@
</view> </view>
</tn-nav-bar> </tn-nav-bar>
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}"> <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="justify-content-item align-content-item" style="width: 100%;">
<view class="tn-flex tn-flex-col-center" <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 <text
class="tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg"></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" <input v-model="serach_content" class="justify-content-item" placeholder="输入想要搜索的内容"
placeholder-style="color:#AAAAAA" style="width: 90%;"></input> name="input" placeholder-style="color:#AAAAAA" style="width: 90%;"></input>
</view> </view>
</view> </view>
<view class="align-content-item"> <view class="align-content-item">
<view class="justify-content-item tn-text-center"> <view class="justify-content-item tn-text-center">
<tn-button @click="serach_do" backgroundColor="#3668fc" shape="round" padding="20rpx 20rpx" <tn-button @click="serach_do" backgroundColor="#ffffff" shape="round" padding="20rpx 20rpx"
width="150rpx"> width="120rpx">
<text class="tn-color-white"> </text> <text class="tn-color-black"></text>
</tn-button> </tn-button>
</view> </view>
</view> </view>
</view> </view>
<view class="tn-flex tn-flex-col-center tn-flex-row-between" @click="selectShow= true" <template v-for="(item,index) in list">
style="padding: 30rpx;"> <view v-if="item.neirong">
<view> <view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-center"
<text>{{HomeTitle}}</text> style="margin-top: 20rpx;">
<text class="tn-icon-down-triangle"></text> <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> </view>
<view> <view v-for="(v,k) in item.neirong" @click="tn('/pages/index/my_card?id='+v.member_id)"
<text>筛选</text> style="padding-left: 20rpx;"
</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>
</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"> class="tn-classify__content__sub-classify__content__item tn-flex tn-flex-center tn-flex-col-center">
<!-- 标题有需要可以显示出来 -->
<view style="width: 100rpx;height: 100rpx"> <view style="width: 100rpx;height: 100rpx">
<image :src="apiImgUrl+v.photo_image" <image :src="apiImgUrl+v.photo_image"
style="width: 100rpx;height: 100rpx;border-radius:50%;"> style="width: 100rpx;height: 100rpx;border-radius:50%;">
@ -82,60 +61,90 @@
<view style="margin-left: 20rpx;"> <view style="margin-left: 20rpx;">
<view style="font-size: 28rpx;"> <view style="font-size: 28rpx;">
<text>{{ v.nikename }}</text> <text>{{ v.nikename }}</text>
<text style="margin-left: 50rpx;">{{v.nation}}</text>
</view> </view>
<view class="tn-text-ellipsis-2" <view class="tn-text-ellipsis-2" style="font-size: 24rpx;margin-top: 10rpx;">
style="font-size: 24rpx;margin-top: 10rpx;"> <text>{{ v.enterprise_name }}</text>
<text>{{v.enterprise_name==null?'':v.enterprise_name}}</text>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view v-if="list.length==0" style="text-align: center;padding: 20rpx"> </template>
暂无 </view>
<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>
</view> </view>
</block> <view style="background-color: #ffffff;width: 100%;max-height: 1300rpx;overflow: scroll">
</scroll-view> <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> </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);--> <view v-if="index<tabRightList.length-1"
<!--box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.2);">--> style="width: 100%;background: #d9d9d9cc;height: 1rpx;margin-left: 40rpx"></view>
<!-- <view style="color: #fff;letter-spacing: 2rpx;padding: 20rpx;font-size: 32rpx;">申请入会--> </template>
<!-- </view>--> </view>
<!-- </view>--> </view>
<tn-select :safeAreaInsetBottom="true" v-model="selectShow" mode="single" :list="selectList" <view class="tn-flex tn-flex-row-around" style="position: fixed;bottom: 100rpx;width: 100%;">
@confirm="confirm"></tn-select> <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> </view>
</template> </template>
<script> <script>
import { import {
addressList, addressList,
associationIndex, getPosition,
newIndustryIndex newIndustryIndex,
getRegion
} from '@/util/api.js'; } from '@/util/api.js';
import store from "@/store"; import store from "@/store";
export default { export default {
data() { data() {
return { return {
screenMode: false,
serach_content: '', serach_content: '',
list: [], list: [],
tabList: ['所属行业', '所属区域', '组织架构'],
topCurrent: 0, topCurrent: 0,
tabbarIndex: 0, tabbarIndex: 0,
// item
tabbarItemInfo: [],
// scrollViewtop
scrollViewBasicTop: 0,
// scrollView
scrollViewHeight: 0,
// scrollView
leftScrollViewTop: 0,
// scrollView
rightScrollViewTop: 0,
// tabbar
currentTabbarIndex: 0,
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
industry_list: [], industry_list: [],
leftId: 0, leftId: 0,
@ -144,114 +153,83 @@
selectList: [], selectList: [],
gid: store.state.Gid, gid: store.state.Gid,
top: 0, top: 0,
tabRightList: '',
tabRightIndex: 0,
tabRightInfo: {},
isSerach: false,
} }
}, },
computed: { mounted() {
tabbarItemClass() { // console.log(d.id);
return index => { // if (typeof(d.id) != 'undefined') {
if (index === this.currentTabbarIndex) { // this.gid = d.id;
return 'tn-classify__tabbar__item--active tn-bg-white' // }
} else { this.loadTabData();
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();
}, },
methods: { methods: {
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();
},
openMode() {
uni.$emit('showTab', {
index: false
})
this.screenMode = true;
},
delMode() {
uni.$emit('showTab', {
index: true
})
this.screenMode = false;
},
serach_do() { serach_do() {
this.list = []; this.list = [];
this.isSerach = false;
this.serach_content = '';
this.getAddressList(); this.getAddressList();
}, },
getScroll(d) {
this.top = d.scrollTop;
},
onload() {
this.gid = store.state.Gid;
this.getIndustryList();
this.getAssociationIndex();
},
confirm(d) {
var info = d[0];
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
});
})
},
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({ addressList({
association_id: this.gid, association_id: this.gid,
industry_id: this.leftId, industry_id: industry_id,
nikename: this.serach_content position_id: position_id,
region_id: region_id,
nikename: this.serach_content,
}) })
.then(res => { .then(res => {
console.log(res); console.log(res);
if (res.code == 1) { if (res.code == 1) {
this.list = res.data.ret; this.list = res.data.ret;
} }
this.delMode();
}) })
.catch(error => { .catch(error => {
uni.showToast({ uni.showToast({
@ -261,36 +239,132 @@
}); });
}) })
}, },
clickClassifyNav(index) { tabbarIndexCur(d) {
this.currentTabbarIndex = index; this.tabRightIndex = 0;
this.leftId = this.industry_list[index].id; this.tabbarIndex = d;
this.list = []; if (d == 0) {
this.top = this.randomBetween(); this.getIndustryList();
this.getAddressList(); }
//this.handleLeftScrollView(index) if (d == 1) {
//this.switchClassifyContent(); this.getRegionList();
}, }
randomBetween() { if (d == 2) {
let baseRandom = Math.random() * (0.99999 - 0.00001) + 0.00001; this.getPositionList();
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
} }
}, },
// tabRightListCur(d) {
switchClassifyContent() { this.tabRightIndex = d;
this.rightScrollViewTop = 1 this.tabRightInfo = this.tabRightList[d];
this.$nextTick(() => { },
this.rightScrollViewTop = 0 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
}) })
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex] .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
});
})
})
},
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) { tn(url) {
uni.navigateTo({ uni.navigateTo({
@ -419,4 +493,8 @@
/* 分类内容 end */ /* 分类内容 end */
} }
.actBackground {
background: #3f8bf2
}
</style> </style>

View File

@ -98,8 +98,17 @@
</view> </view>
</view> </view>
</view> </view>
<view <view style="margin:20rpx 28rpx">
style="width: 92%;background-color: #ffffff;border-radius: 16rpx;margin: 0 auto;overflow: hidden;margin-top: 20rpx;"> <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> <!-- <tn-list-cell>
<view class="list-icon-text"> <view class="list-icon-text">
<view class="list__left"> <view class="list__left">
@ -115,9 +124,9 @@
</view> </view>
</view> </view>
</tn-list-cell> --> </tn-list-cell> -->
<tn-notice-bar :list="list" @click="openInfo" leftIconType="img" mode="vertical" :rightIcon="true" <!-- <tn-notice-bar :list="list" @click="openInfo" leftIconType="img" mode="vertical" :rightIcon="true"
backgroundColor="#ffffff" :radius="16" @clickRight="openRight" @clickLeft="openRight"></tn-notice-bar> backgroundColor="#ffffff" :radius="16" @clickRight="openRight" @clickLeft="openRight"></tn-notice-bar> -->
</view> <!-- </view> -->
<!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center"--> <!-- <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;">--> <!-- style="padding:0px 30rpx 0rpx 30rpx;text-align: center;font-size: 28rpx;">-->
@ -154,7 +163,7 @@
<!-- </view>--> <!-- </view>-->
<!-- </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 style="background-color: #ffffff;border-radius:24rpx;width: 110%;padding-bottom: 15rpx;">
<view @click.stop="openUrl('/pages/index/service')" <view @click.stop="openUrl('/pages/index/service')"
class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center" class="tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center"
@ -255,9 +264,9 @@
selectShow: false, selectShow: false,
selectList: [], selectList: [],
topCurrent: 0, topCurrent: 0,
searlist: [ searlist: [{
'会员名称/协会名称/活动/新闻', article_title: '会员名称/协会名称/活动/新闻'
], }],
cardCur: 0, cardCur: 0,
isAndroid: true, isAndroid: true,
goryList: [], goryList: [],

View File

@ -11,7 +11,8 @@
</scroll-view> </scroll-view>
</view> --> </view> -->
<view v-if="tabberPageLoadFlag[1]" :style="{display: currentIndex === 1 ? '' : 'none'}"> <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> <Directory ref="directory"></Directory>
</scroll-view> </scroll-view>
</view> </view>
@ -31,9 +32,9 @@
</scroll-view> </scroll-view>
</view> </view>
<tn-tabbar :outHeight="140" :height="120" v-model="currentIndex" :list="tabbarList" activeColor="#3377FF" <tn-tabbar :show="tabShow" :outHeight="140" :height="120" v-model="currentIndex" :list="tabbarList"
inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99" :animation="true" activeColor="#3377FF" inactiveColor="#AAAAAA" activeIconColor="#3377FF" inactiveIconColor="#8A8E99"
:safeAreaInsetBottom="true" @change="switchTabbar"></tn-tabbar> :animation="true" :safeAreaInsetBottom="true" @change="switchTabbar"></tn-tabbar>
</view> </view>
</template> </template>
@ -94,6 +95,7 @@
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
icon: '', icon: '',
name: '', name: '',
tabShow: true,
} }
}, },
onLoad(options) { onLoad(options) {
@ -107,6 +109,10 @@
uni.$on('depId', function(data) { uni.$on('depId', function(data) {
that.switchTabbar(data.index); that.switchTabbar(data.index);
}) })
uni.$on('showTab', function(data) {
var index = data.index;
that.tabShow = index;
})
}, },
mounted() { mounted() {

View File

@ -5,7 +5,7 @@
<view style="padding-left: 15rpx;" @click="goBack()"> <view style="padding-left: 15rpx;" @click="goBack()">
<text class="tn-icon-left" style="font-size: 40rpx;color: #ffffff"></text> <text class="tn-icon-left" style="font-size: 40rpx;color: #ffffff"></text>
</view> </view>
<view class="tn-margin-top"> <view class="tn-margin-top" @click="goBack()">
<tn-tabs :list="[{name:'会员名片'}]" :current="topCurrent" activeColor="#ffffff" :bold="false" <tn-tabs :list="[{name:'会员名片'}]" :current="topCurrent" activeColor="#ffffff" :bold="false"
:fontSize="24"></tn-tabs> :fontSize="24"></tn-tabs>
</view> </view>
@ -29,7 +29,7 @@
</view> </view>
<view style="font-size: 28rpx;margin-top: 10rpx;"> <view style="font-size: 28rpx;margin-top: 10rpx;">
<text>协会职务{{userThisInfo.position_name}}</text> <text>协会职务{{userThisInfo.position_name}}</text>
<text style="margin-left: 40rpx">性别{{userThisInfo.gender}}</text> <text style="margin-left: 40rpx">性别{{userThisInfo.gender==0?'女':'男'}}</text>
</view> </view>
<view style="margin-top: 10rpx" v-if="userThisInfo.if_tongyi==0"> <view style="margin-top: 10rpx" v-if="userThisInfo.if_tongyi==0">
联系方式{{userThisInfo.phone}}</view> 联系方式{{userThisInfo.phone}}</view>
@ -40,13 +40,15 @@
</view> </view>
</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="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="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;">
<view style="padding: 20rpx;line-height: 50rpx;" class="tn-text-ellipsis-5"> <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}} {{userThisInfo.introduction==''||userThisInfo.introduction==null?'无':userThisInfo.introduction}}
</view> </view>
</view> </view>
</view>
<view style="font-size: 30rpx;font-weight: 600;margin-bottom: 20rpx;margin-top: 30rpx">企业介绍</view> <view style="font-size: 30rpx;font-weight: 600;margin-bottom: 20rpx;margin-top: 30rpx">企业介绍</view>
<view style="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;"> <view style="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;">
<view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 20rpx;"> <view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 20rpx;">
@ -64,13 +66,13 @@
</view> </view>
</view> </view>
</view> </view>
<view style="background-color: #ffffff;border-radius: 15rpx;width: 100%;margin: 0 auto;margin-top: 30rpx"> <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"> <view style="padding: 20rpx;line-height: 50rpx;" @click="editInfo=true;editType=2">
{{userThisInfo.enterprise_Introduction}} <view class="tn-text-ellipsis-10">{{userThisInfo.enterprise_Introduction}}</view>
</view> </view>
</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;" <view style="background: #418ef2;height: 100rpx;text-align: center;line-height: 100rpx;color: #ffffff;"
class="tn-flex-8" @click="addModeShow"> class="tn-flex-8" @click="addModeShow">
{{userThisInfo.if_tongyi!=0?'申请查看联系方式':'立刻联系'}} {{userThisInfo.if_tongyi!=0?'申请查看联系方式':'立刻联系'}}
@ -100,6 +102,40 @@
</view> </view>
</view> </view>
</tn-modal> </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> </view>
</template> </template>
@ -121,6 +157,8 @@
userThisInfo: {}, userThisInfo: {},
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
is: false, is: false,
editInfo: false,
editType: 1,
addData: { addData: {
content: '', content: '',
association_id: store.state.Gid, association_id: store.state.Gid,
@ -181,14 +219,6 @@
}); });
return; return;
} }
if (this.addData.content == '') {
uni.showToast({
title: '请填写自我介绍!',
icon: 'none',
duration: 2000
});
return;
}
this.addData.member_q_id = this.uid; this.addData.member_q_id = this.uid;
this.addData.member_b_id = this.this_uid; this.addData.member_b_id = this.this_uid;
setMaillogAdd(this.addData) setMaillogAdd(this.addData)

View File

@ -6,8 +6,8 @@
<view style="padding-left: 15rpx;" @click="goBack()"> <view style="padding-left: 15rpx;" @click="goBack()">
<text class="tn-icon-left" style="font-size: 40rpx;"></text> <text class="tn-icon-left" style="font-size: 40rpx;"></text>
</view> </view>
<view class="tn-margin-top" <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;"> 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" <tn-tabs :list="[{name:'信息修改'}]" :current="topCurrent" activeColor="#000" :bold="false"
:fontSize="24"></tn-tabs> :fontSize="24"></tn-tabs>
</view> </view>
@ -55,6 +55,18 @@
<tn-select v-model="position_id_show" mode="single" :list="position_list" <tn-select v-model="position_id_show" mode="single" :list="position_list"
@confirm="getpositionId"></tn-select> @confirm="getpositionId"></tn-select>
</tn-list-view> </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"> <tn-list-view :customTitle="true" backgroundColor="transparent">
<view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx"> <view slot="title" class="tn-flex tn-flex-row-between" style="padding: 30rpx">
<view style="font-size: 32rpx;color: #000000;font-weight: 500;">性别</view> <view style="font-size: 32rpx;color: #000000;font-weight: 500;">性别</view>
@ -114,7 +126,7 @@
<tn-list-view :customTitle="true" backgroundColor="transparent"> <tn-list-view :customTitle="true" backgroundColor="transparent">
<view slot="title" class="tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center" <view slot="title" class="tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center"
style="padding: 30rpx"> 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 class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center" @click="d_img(2)">
<view> <view>
<view v-if="addMod.company_image==''">暂无</view> <view v-if="addMod.company_image==''">暂无</view>
@ -238,7 +250,8 @@
getUserIndex, getUserIndex,
setUserEdit, setUserEdit,
IndustryList, IndustryList,
getPosition getPosition,
getRegion
} from "@/util/api"; } from "@/util/api";
import store from "@/store"; import store from "@/store";
@ -278,6 +291,7 @@
background_type: 3, background_type: 3,
position_id: '', position_id: '',
gender: 0, gender: 0,
region_id: '',
}, },
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
apiUpUrl: this.$store.state.apiUrl, apiUpUrl: this.$store.state.apiUrl,
@ -287,6 +301,11 @@
position_id_show: false, position_id_show: false,
position_id_name: '', position_id_name: '',
position_list: [], position_list: [],
region_id_show: false,
region_id_name: '',
region_list: [],
sex_id_show: false, sex_id_show: false,
sex_list: [{ sex_list: [{
label: '女', label: '女',
@ -341,10 +360,38 @@
this.position_id_name = info.label; this.position_id_name = info.label;
this.addMod.position_id = info.value; 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) { getsexId(d) {
var info = d[0]; var info = d[0];
this.addMod.gender = info.value; 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() { getIndustry() {
IndustryList({ IndustryList({
association_id: this.addMod.association_id, association_id: this.addMod.association_id,
@ -501,11 +548,14 @@
background_type: res.data.background_type, background_type: res.data.background_type,
position_id: res.data.position_id, position_id: res.data.position_id,
gender: res.data.gender, 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.industry_id_name = res.data.industry_name;
this.position_id_name = res.data.position_name; this.position_id_name = res.data.position_name;
this.getIndustry(); this.getIndustry();
this.getPositionList(); this.getPositionList();
this.getRegionList();
}) })
.catch(error => { .catch(error => {
uni.showToast({ uni.showToast({

View File

@ -41,7 +41,7 @@
</view> </view>
<view v-if="item.type==1" class="tn-padding-top-xs tn-text-ellipsis-2 tn-color-gray"> <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>{{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>
<view v-if="item.type==0" class="tn-padding-top-xs tn-text-ellipsis-2 tn-color-gray"> <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> <view style="margin-top: 10rpx;">{{item.content}}</view>
@ -144,6 +144,7 @@
.then(res => { .then(res => {
console.log(res); console.log(res);
if (res.code == 1) { if (res.code == 1) {
store.state.msgCount = 0;
uni.showToast({ uni.showToast({
title: '操作成功!', title: '操作成功!',
icon: 'none', icon: 'none',

View File

@ -141,8 +141,11 @@
</view> </view>
</view> --> </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>
</view>
</template> </template>
<script> <script>
@ -155,6 +158,29 @@
export default { export default {
data() { data() {
return { 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, topCurrent: 0,
swiperList: [{ swiperList: [{
url: '/static/banner1.jpg', url: '/static/banner1.jpg',
@ -189,10 +215,6 @@
this.association_id = d.id; this.association_id = d.id;
this.getAssociationInfo(); this.getAssociationInfo();
this.getArchitectureList(); this.getArchitectureList();
var uid = uni.getStorageSync('uid');
if (uid) {
this.getUserInfo(uid);
}
}, },
methods: { methods: {
tab_change(d) { tab_change(d) {
@ -201,24 +223,6 @@
this.architecture = []; this.architecture = [];
this.getArchitectureList(); 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() { getArchitectureList() {
architectureList({ architectureList({
association_id: this.association_id, association_id: this.association_id,
@ -285,6 +289,13 @@
} }
}, },
switchTabbar(d) {
console.log(d);
uni.$emit('depId', {
index: d
})
uni.navigateBack()
},
change(e) { change(e) {
this.current = e; this.current = e;
}, },

View File

@ -35,86 +35,13 @@
</view> </view>
</view> </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" <tn-tabs :list="tabList" :isScroll="false" :current="current" name="name" @change="tabChange"
activeColor="#3668FC"></tn-tabs> 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>
<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;"> <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;"> <view style="padding: 30rpx 0rpx;">
<tn-grid align="left" :col="2"> <tn-grid align="left" :col="2">
<block v-for="(item,index) in actList"> <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==3">公益捐赠</text>
<text v-if="item.activity_type==4">学习培训</text> <text v-if="item.activity_type==4">学习培训</text>
</view> </view>
<!-- <view>-->
<!-- <text class="tn-icon-eye"></text>-->
<!-- <text style="margin-left: 5rpx;">{{item.eye}}</text>-->
<!-- </view>-->
</view> </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> </view>
</tn-grid-item> </tn-grid-item>
</block> </block>
</tn-grid> </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> </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;"> <view style="padding-bottom: 120rpx;">
<tn-load-more class="tn-margin-top" :status="load_status"></tn-load-more> <tn-load-more class="tn-margin-top" :status="load_status"></tn-load-more>
</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> </template>
@ -263,6 +93,29 @@ box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);margin-bottom: 20rpx;">
data() { data() {
//1.线2.3.4. //1.线2.3.4.
return { 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, current: 0,
load_status: 'loading ', load_status: 'loading ',
tabList: [{ tabList: [{
@ -296,6 +149,13 @@ box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);margin-bottom: 20rpx;">
this.getActivityIndex(); this.getActivityIndex();
}, },
methods: { methods: {
switchTabbar(d) {
console.log(d);
uni.$emit('depId', {
index: d
})
uni.navigateBack()
},
onsubmit() { onsubmit() {
this.page = 1; this.page = 1;
this.actList = []; this.actList = [];

View File

@ -74,13 +74,13 @@
<view style="padding:0px 20rpx;"> <view style="padding:0px 20rpx;">
<tn-list-cell :arrow="true" @click="tn('/pages/index/my_card_holder')"> <tn-list-cell :arrow="true" @click="tn('/pages/index/my_card_holder')">
<view class="tn-flex tn-flex-center tn-flex-col-center"> <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 style="margin-left: 20rpx;">名片夹</view>
</view> </view>
</tn-list-cell> </tn-list-cell>
<tn-list-cell :arrow="true" @click="tn('/pages/index/my_edit')"> <tn-list-cell :arrow="true" @click="tn('/pages/index/my_edit')">
<view class="tn-flex tn-flex-center tn-flex-col-center"> <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 style="margin-left: 20rpx;">信息修改</view>
</view> </view>
</tn-list-cell> </tn-list-cell>

BIN
static/3162033.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

BIN
static/icon13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

BIN
static/icon14.png Normal file

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 it is too large Load Diff

View File

@ -101,22 +101,22 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -80,16 +80,16 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { tnPopup: 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 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) { } catch (e) {
@ -113,25 +113,11 @@ var render = function () {
var _vm = this var _vm = this
var _h = _vm.$createElement var _h = _vm.$createElement
var _c = _vm._self._c || _h var _c = _vm._self._c || _h
var l0 = _vm.__map(_vm.industry_list, function (item, index) { var g0 = _vm.tabRightList.length
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
}
}
_vm.$mp.data = Object.assign( _vm.$mp.data = Object.assign(
{}, {},
{ {
$root: { $root: {
l0: l0,
g0: g0, g0: g0,
}, },
} }
@ -176,6 +162,8 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
exports.default = void 0; 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 _api = __webpack_require__(/*! @/util/api.js */ 33);
var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30)); var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
@ -290,25 +278,32 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
// //
// //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { return {
screenMode: false,
serach_content: '', serach_content: '',
list: [], list: [],
tabList: ['所属行业', '所属区域', '组织架构'],
topCurrent: 0, topCurrent: 0,
tabbarIndex: 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, apiImgUrl: this.$store.state.imgUrl,
industry_list: [], industry_list: [],
leftId: 0, leftId: 0,
@ -316,74 +311,161 @@ var _default = {
HomeTitle: '', HomeTitle: '',
selectList: [], selectList: [],
gid: _store.default.state.Gid, gid: _store.default.state.Gid,
top: 0 top: 0,
tabRightList: '',
tabRightIndex: 0,
tabRightInfo: {},
isSerach: false
}; };
}, },
computed: { mounted: function mounted() {
tabbarItemClass: function tabbarItemClass() { // console.log(d.id);
var _this = this; // if (typeof(d.id) != 'undefined') {
return function (index) { // this.gid = d.id;
if (index === _this.currentTabbarIndex) { // }
return 'tn-classify__tabbar__item--active tn-bg-white'; this.loadTabData();
} 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();
}, },
methods: { 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() { serach_do: function serach_do() {
this.list = []; this.list = [];
this.isSerach = false;
this.serach_content = '';
this.getAddressList(); this.getAddressList();
}, },
getScroll: function getScroll(d) { getAddressList: function getAddressList() {
this.top = d.scrollTop; 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() { tabbarIndexCur: function tabbarIndexCur(d) {
this.gid = _store.default.state.Gid; this.tabRightIndex = 0;
this.tabbarIndex = d;
if (d == 0) {
this.getIndustryList(); this.getIndustryList();
this.getAssociationIndex(); }
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) { confirm: function confirm(d) {
var info = d[0]; var info = d[0];
this.list = []; this.list = [];
this.gid = info.value; this.gid = info.value;
this.getAssociationIndex();
this.getIndustryList(); this.getIndustryList();
}, },
getAssociationIndex: function getAssociationIndex() { getRegionList: function getRegionList() {
var _this2 = this; var _this3 = this;
(0, _api.associationIndex)().then(function (res) { return new Promise(function (resolve, reject) {
console.log(res); (0, _api.getRegion)({
association_id: _this3.gid
}).then(function (res) {
if (res.code == 1) { if (res.code == 1) {
var key = res.data; var key = res.data;
var transformedSelectList = key.map(function (item) { var transformedSelectList = key.map(function (item) {
return { return {
value: item.id, id: item.id,
label: item.association_name name: item.region_name
}; };
}); });
var foundNumber = transformedSelectList.find(function (element) { transformedSelectList.unshift({
return element.value == _this2.gid; id: 0,
name: '全部'
}); });
_this2.HomeTitle = foundNumber.label; _this3.tabRightList = transformedSelectList;
_this2.selectList = transformedSelectList;
} }
resolve(); // 当操作成功时调用resolve
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ uni.showToast({
title: error, title: error,
@ -391,22 +473,72 @@ var _default = {
duration: 2000 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() { getIndustryList: function getIndustryList() {
var _this3 = this; var _this5 = this;
return new Promise(function (resolve, reject) {
(0, _api.newIndustryIndex)({ (0, _api.newIndustryIndex)({
association_id: this.gid association_id: _this5.gid
}).then(function (res) { }).then(function (res) {
console.log(res); console.log(res);
if (res.code == 1) { if (res.code == 1) {
_this3.industry_list = res.data; var key = res.data;
_this3.industry_list.push({ key.push({
id: 0, id: 0,
industry_name: '其他行业' industry_name: '其他行业'
}); });
_this3.leftId = res.data[0].id; var transformedSelectList = key.map(function (item) {
_this3.getAddressList(); 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) { }).catch(function (error) {
uni.showToast({ uni.showToast({
title: error, title: error,
@ -414,56 +546,7 @@ var _default = {
duration: 2000 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;
});
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
}, },
tn: function tn(url) { tn: function tn(url) {
uni.navigateTo({ uni.navigateTo({

View File

@ -5,6 +5,6 @@
"tn-nav-bar": "/tuniao-ui/components/tn-nav-bar/tn-nav-bar", "tn-nav-bar": "/tuniao-ui/components/tn-nav-bar/tn-nav-bar",
"tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs", "tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs",
"tn-button": "/tuniao-ui/components/tn-button/tn-button", "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

View File

@ -73,4 +73,7 @@
.tn-classify__content__sub-classify__content__item.data-v-671ec3f2 { .tn-classify__content__sub-classify__content__item.data-v-671ec3f2 {
padding: 20rpx; padding: 20rpx;
} }
.actBackground.data-v-671ec3f2 {
background: #3f8bf2;
}

View File

@ -101,13 +101,13 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -101,19 +101,19 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -101,43 +101,43 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -99,13 +99,13 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -99,13 +99,13 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -101,16 +101,16 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -445,6 +445,15 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
// //
// //
// //
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { return {
@ -452,7 +461,9 @@ var _default = {
selectShow: false, selectShow: false,
selectList: [], selectList: [],
topCurrent: 0, topCurrent: 0,
searlist: ['会员名称/协会名称/活动/新闻'], searlist: [{
article_title: '会员名称/协会名称/活动/新闻'
}],
cardCur: 0, cardCur: 0,
isAndroid: true, isAndroid: true,
goryList: [], goryList: [],

File diff suppressed because one or more lines are too long

View File

@ -97,7 +97,7 @@ var components
try { try {
components = { components = {
tnTabbar: function () { 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) { } catch (e) {
@ -205,6 +205,7 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
// //
// //
// //
//
var _default = { var _default = {
components: { components: {
Home: _home.default, Home: _home.default,
@ -247,7 +248,8 @@ var _default = {
tabberPageLoadFlag: [], tabberPageLoadFlag: [],
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
icon: '', icon: '',
name: '' name: '',
tabShow: true
}; };
}, },
onLoad: function onLoad(options) { onLoad: function onLoad(options) {
@ -261,6 +263,10 @@ var _default = {
uni.$on('depId', function (data) { uni.$on('depId', function (data) {
that.switchTabbar(data.index); that.switchTabbar(data.index);
}); });
uni.$on('showTab', function (data) {
var index = data.index;
that.tabShow = index;
});
}, },
mounted: function mounted() { mounted: function mounted() {
//this.wxshare(); //this.wxshare();
@ -423,16 +429,16 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -765,6 +771,15 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
// //
// //
// //
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { return {
@ -772,7 +787,9 @@ var _default = {
selectShow: false, selectShow: false,
selectList: [], selectList: [],
topCurrent: 0, topCurrent: 0,
searlist: ['会员名称/协会名称/活动/新闻'], searlist: [{
article_title: '会员名称/协会名称/活动/新闻'
}],
cardCur: 0, cardCur: 0,
isAndroid: true, isAndroid: true,
goryList: [], goryList: [],
@ -1155,22 +1172,25 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -1320,180 +1340,29 @@ var _index = _interopRequireDefault(__webpack_require__(/*! @/store/index.js */
// //
// //
// //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
//1.线下活动2.调查问卷3.公益捐赠4.学习培训 //1.线下活动2.调查问卷3.公益捐赠4.学习培训
return { 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, current: 0,
load_status: 'loading ', load_status: 'loading ',
tabList: [{ tabList: [{
@ -1527,6 +1396,13 @@ var _default = {
this.getActivityIndex(); this.getActivityIndex();
}, },
methods: { methods: {
switchTabbar: function switchTabbar(d) {
console.log(d);
uni.$emit('depId', {
index: d
});
uni.navigateBack();
},
onsubmit: function onsubmit() { onsubmit: function onsubmit() {
this.page = 1; this.page = 1;
this.actList = []; this.actList = [];
@ -1671,13 +1547,13 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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) { } catch (e) {
@ -1957,25 +1833,25 @@ var components
try { try {
components = { components = {
tnButton: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -2494,16 +2370,16 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { tnPopup: 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 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) { } catch (e) {
@ -2527,25 +2403,11 @@ var render = function () {
var _vm = this var _vm = this
var _h = _vm.$createElement var _h = _vm.$createElement
var _c = _vm._self._c || _h var _c = _vm._self._c || _h
var l0 = _vm.__map(_vm.industry_list, function (item, index) { var g0 = _vm.tabRightList.length
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
}
}
_vm.$mp.data = Object.assign( _vm.$mp.data = Object.assign(
{}, {},
{ {
$root: { $root: {
l0: l0,
g0: g0, g0: g0,
}, },
} }
@ -2588,6 +2450,8 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
exports.default = void 0; 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 _api = __webpack_require__(/*! @/util/api.js */ 33);
var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30)); var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
@ -2702,25 +2566,32 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
// //
// //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { return {
screenMode: false,
serach_content: '', serach_content: '',
list: [], list: [],
tabList: ['所属行业', '所属区域', '组织架构'],
topCurrent: 0, topCurrent: 0,
tabbarIndex: 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, apiImgUrl: this.$store.state.imgUrl,
industry_list: [], industry_list: [],
leftId: 0, leftId: 0,
@ -2728,74 +2599,161 @@ var _default = {
HomeTitle: '', HomeTitle: '',
selectList: [], selectList: [],
gid: _store.default.state.Gid, gid: _store.default.state.Gid,
top: 0 top: 0,
tabRightList: '',
tabRightIndex: 0,
tabRightInfo: {},
isSerach: false
}; };
}, },
computed: { mounted: function mounted() {
tabbarItemClass: function tabbarItemClass() { // console.log(d.id);
var _this = this; // if (typeof(d.id) != 'undefined') {
return function (index) { // this.gid = d.id;
if (index === _this.currentTabbarIndex) { // }
return 'tn-classify__tabbar__item--active tn-bg-white'; this.loadTabData();
} 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();
}, },
methods: { 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() { serach_do: function serach_do() {
this.list = []; this.list = [];
this.isSerach = false;
this.serach_content = '';
this.getAddressList(); this.getAddressList();
}, },
getScroll: function getScroll(d) { getAddressList: function getAddressList() {
this.top = d.scrollTop; 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() { tabbarIndexCur: function tabbarIndexCur(d) {
this.gid = _store.default.state.Gid; this.tabRightIndex = 0;
this.tabbarIndex = d;
if (d == 0) {
this.getIndustryList(); this.getIndustryList();
this.getAssociationIndex(); }
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) { confirm: function confirm(d) {
var info = d[0]; var info = d[0];
this.list = []; this.list = [];
this.gid = info.value; this.gid = info.value;
this.getAssociationIndex();
this.getIndustryList(); this.getIndustryList();
}, },
getAssociationIndex: function getAssociationIndex() { getRegionList: function getRegionList() {
var _this2 = this; var _this3 = this;
(0, _api.associationIndex)().then(function (res) { return new Promise(function (resolve, reject) {
console.log(res); (0, _api.getRegion)({
association_id: _this3.gid
}).then(function (res) {
if (res.code == 1) { if (res.code == 1) {
var key = res.data; var key = res.data;
var transformedSelectList = key.map(function (item) { var transformedSelectList = key.map(function (item) {
return { return {
value: item.id, id: item.id,
label: item.association_name name: item.region_name
}; };
}); });
var foundNumber = transformedSelectList.find(function (element) { transformedSelectList.unshift({
return element.value == _this2.gid; id: 0,
name: '全部'
}); });
_this2.HomeTitle = foundNumber.label; _this3.tabRightList = transformedSelectList;
_this2.selectList = transformedSelectList;
} }
resolve(); // 当操作成功时调用resolve
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ uni.showToast({
title: error, title: error,
@ -2803,22 +2761,72 @@ var _default = {
duration: 2000 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() { getIndustryList: function getIndustryList() {
var _this3 = this; var _this5 = this;
return new Promise(function (resolve, reject) {
(0, _api.newIndustryIndex)({ (0, _api.newIndustryIndex)({
association_id: this.gid association_id: _this5.gid
}).then(function (res) { }).then(function (res) {
console.log(res); console.log(res);
if (res.code == 1) { if (res.code == 1) {
_this3.industry_list = res.data; var key = res.data;
_this3.industry_list.push({ key.push({
id: 0, id: 0,
industry_name: '其他行业' industry_name: '其他行业'
}); });
_this3.leftId = res.data[0].id; var transformedSelectList = key.map(function (item) {
_this3.getAddressList(); 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) { }).catch(function (error) {
uni.showToast({ uni.showToast({
title: error, title: error,
@ -2826,56 +2834,7 @@ var _default = {
duration: 2000 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;
});
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
}, },
tn: function tn(url) { tn: function tn(url) {
uni.navigateTo({ uni.navigateTo({

View File

@ -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>

View File

@ -117,6 +117,9 @@
.tn-classify__content__sub-classify__content__item.data-v-671ec3f2 { .tn-classify__content__sub-classify__content__item.data-v-671ec3f2 {
padding: 20rpx; padding: 20rpx;
} }
.actBackground.data-v-671ec3f2 {
background: #3f8bf2;
}
@charset "UTF-8"; @charset "UTF-8";
/** /**

View File

@ -99,10 +99,10 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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) { } catch (e) {

View File

@ -99,10 +99,10 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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) { } catch (e) {

View File

@ -101,25 +101,28 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -145,8 +148,22 @@ var render = function () {
var _c = _vm._self._c || _h var _c = _vm._self._c || _h
if (!_vm._isMounted) { if (!_vm._isMounted) {
_vm.e0 = function ($event) { _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.addMod = false
} }
_vm.e3 = function ($event) {
_vm.editInfo = false
}
_vm.e4 = function ($event) {
_vm.editInfo = false
}
} }
} }
var recyclableRender = false var recyclableRender = false
@ -295,6 +312,42 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
// //
// //
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { return {
@ -306,6 +359,8 @@ var _default = {
userThisInfo: {}, userThisInfo: {},
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
is: false, is: false,
editInfo: false,
editType: 1,
addData: { addData: {
content: '', content: '',
association_id: _store.default.state.Gid, association_id: _store.default.state.Gid,
@ -367,14 +422,6 @@ var _default = {
}); });
return; return;
} }
if (this.addData.content == '') {
uni.showToast({
title: '请填写自我介绍!',
icon: 'none',
duration: 2000
});
return;
}
this.addData.member_q_id = this.uid; this.addData.member_q_id = this.uid;
this.addData.member_b_id = this.this_uid; this.addData.member_b_id = this.this_uid;
(0, _api.setMaillogAdd)(this.addData).then(function (res) { (0, _api.setMaillogAdd)(this.addData).then(function (res) {

View File

@ -8,6 +8,7 @@
"tn-modal": "/tuniao-ui/components/tn-modal/tn-modal", "tn-modal": "/tuniao-ui/components/tn-modal/tn-modal",
"tn-form": "/tuniao-ui/components/tn-form/tn-form", "tn-form": "/tuniao-ui/components/tn-form/tn-form",
"tn-form-item": "/tuniao-ui/components/tn-form-item/tn-form-item", "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

View File

@ -99,10 +99,10 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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) { } catch (e) {

View File

@ -99,10 +99,10 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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) { } catch (e) {

View File

@ -101,31 +101,31 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -455,6 +455,18 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
// //
// //
//
//
//
//
//
//
//
//
//
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { return {
@ -490,7 +502,8 @@ var _default = {
background_image: '', background_image: '',
background_type: 3, background_type: 3,
position_id: '', position_id: '',
gender: 0 gender: 0,
region_id: ''
}, },
apiImgUrl: this.$store.state.imgUrl, apiImgUrl: this.$store.state.imgUrl,
apiUpUrl: this.$store.state.apiUrl, apiUpUrl: this.$store.state.apiUrl,
@ -500,6 +513,9 @@ var _default = {
position_id_show: false, position_id_show: false,
position_id_name: '', position_id_name: '',
position_list: [], position_list: [],
region_id_show: false,
region_id_name: '',
region_list: [],
sex_id_show: false, sex_id_show: false,
sex_list: [{ sex_list: [{
label: '女', label: '女',
@ -551,12 +567,41 @@ var _default = {
this.position_id_name = info.label; this.position_id_name = info.label;
this.addMod.position_id = info.value; 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) { getsexId: function getsexId(d) {
var info = d[0]; var info = d[0];
this.addMod.gender = info.value; this.addMod.gender = info.value;
}, },
getIndustry: function getIndustry() { getRegionList: function getRegionList() {
var _this = this; 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)({ (0, _api.IndustryList)({
association_id: this.addMod.association_id association_id: this.addMod.association_id
}).then(function (res) { }).then(function (res) {
@ -568,7 +613,7 @@ var _default = {
label: item.industry_name label: item.industry_name
}; };
}); });
_this.industry_list = transformedSelectList; _this2.industry_list = transformedSelectList;
} }
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ uni.showToast({
@ -579,7 +624,7 @@ var _default = {
}); });
}, },
getPositionList: function getPositionList() { getPositionList: function getPositionList() {
var _this2 = this; var _this3 = this;
(0, _api.getPosition)({ (0, _api.getPosition)({
association_id: this.addMod.association_id association_id: this.addMod.association_id
}).then(function (res) { }).then(function (res) {
@ -591,7 +636,7 @@ var _default = {
label: item.position_name label: item.position_name
}; };
}); });
_this2.position_list = transformedSelectList; _this3.position_list = transformedSelectList;
} }
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ uni.showToast({
@ -693,13 +738,13 @@ var _default = {
}); });
}, },
getUserInfo: function getUserInfo() { getUserInfo: function getUserInfo() {
var _this3 = this; var _this4 = this;
(0, _api.getUserIndex)({ (0, _api.getUserIndex)({
member_b_id: this.uid, member_b_id: this.uid,
member_id: this.uid member_id: this.uid
}).then(function (res) { }).then(function (res) {
console.log(res); console.log(res);
_this3.addMod = { _this4.addMod = {
photo_image: res.data.photo_image, photo_image: res.data.photo_image,
member_id: res.data.member_id, member_id: res.data.member_id,
nikename: res.data.nikename, nikename: res.data.nikename,
@ -715,12 +760,15 @@ var _default = {
background_image: res.data.background_image, background_image: res.data.background_image,
background_type: res.data.background_type, background_type: res.data.background_type,
position_id: res.data.position_id, 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; _this4.region_id_name = res.data.region_name;
_this3.position_id_name = res.data.position_name; _this4.industry_id_name = res.data.industry_name;
_this3.getIndustry(); _this4.position_id_name = res.data.position_name;
_this3.getPositionList(); _this4.getIndustry();
_this4.getPositionList();
_this4.getRegionList();
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ uni.showToast({
title: error, title: error,

File diff suppressed because one or more lines are too long

View File

@ -101,13 +101,13 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -101,16 +101,16 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -101,22 +101,22 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -319,6 +319,7 @@ var _default = {
}).then(function (res) { }).then(function (res) {
console.log(res); console.log(res);
if (res.code == 1) { if (res.code == 1) {
_store.default.state.msgCount = 0;
uni.showToast({ uni.showToast({
title: '操作成功!', title: '操作成功!',
icon: 'none', icon: 'none',

File diff suppressed because one or more lines are too long

View File

@ -99,10 +99,10 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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) { } catch (e) {

View File

@ -101,10 +101,10 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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) { } catch (e) {

View File

@ -99,13 +99,13 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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) { } catch (e) {

View File

@ -99,19 +99,22 @@ var components
try { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -353,9 +356,31 @@ var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 30));
// //
// //
// //
//
//
//
var _default = { var _default = {
data: function data() { data: function data() {
return { 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, topCurrent: 0,
swiperList: [{ swiperList: [{
url: '/static/banner1.jpg' url: '/static/banner1.jpg'
@ -390,10 +415,6 @@ var _default = {
this.association_id = d.id; this.association_id = d.id;
this.getAssociationInfo(); this.getAssociationInfo();
this.getArchitectureList(); this.getArchitectureList();
var uid = uni.getStorageSync('uid');
if (uid) {
this.getUserInfo(uid);
}
}, },
methods: { methods: {
tab_change: function tab_change(d) { tab_change: function tab_change(d) {
@ -402,32 +423,15 @@ var _default = {
this.architecture = []; this.architecture = [];
this.getArchitectureList(); 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() { getArchitectureList: function getArchitectureList() {
var _this2 = this; var _this = this;
(0, _api.architectureList)({ (0, _api.architectureList)({
association_id: this.association_id, association_id: this.association_id,
type: this.type type: this.type
}).then(function (res) { }).then(function (res) {
console.log(res); console.log(res);
if (res.code == 1) { if (res.code == 1) {
_this2.architecture = res.data; _this.architecture = res.data;
} }
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ uni.showToast({
@ -438,7 +442,7 @@ var _default = {
}); });
}, },
getAssociationInfo: function getAssociationInfo() { getAssociationInfo: function getAssociationInfo() {
var _this3 = this; var _this2 = this;
console.log('discovery'); console.log('discovery');
(0, _api.associationInfo)({ (0, _api.associationInfo)({
association_id: this.association_id association_id: this.association_id
@ -449,7 +453,7 @@ var _default = {
if (key.association_desc.indexOf("<img") != -1) { if (key.association_desc.indexOf("<img") != -1) {
key.association_desc = getApp().addWidthToImages(key.association_desc); key.association_desc = getApp().addWidthToImages(key.association_desc);
} }
_this3.info = key; _this2.info = key;
} }
}).catch(function (error) { }).catch(function (error) {
uni.showToast({ 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) { change: function change(e) {
this.current = e; this.current = e;
} }

View File

@ -6,6 +6,7 @@
"tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs", "tn-tabs": "/tuniao-ui/components/tn-tabs/tn-tabs",
"tn-button": "/tuniao-ui/components/tn-button/tn-button", "tn-button": "/tuniao-ui/components/tn-button/tn-button",
"tn-grid": "/tuniao-ui/components/tn-grid/tn-grid", "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

View File

@ -1,6 +1,6 @@
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/policy"],{ (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/policy"],{
/***/ 521: /***/ 269:
/*!************************************************************!*\ /*!************************************************************!*\
!*** E:///main.js?{"page":"pages%2Findex%2Fpolicy"} ***! !*** E:///main.js?{"page":"pages%2Findex%2Fpolicy"} ***!
\************************************************************/ \************************************************************/
@ -13,7 +13,7 @@
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4); var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
__webpack_require__(/*! uni-pages */ 26); __webpack_require__(/*! uni-pages */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25)); 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 // @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_policy.default); createPage(_policy.default);
@ -21,7 +21,7 @@ createPage(_policy.default);
/***/ }), /***/ }),
/***/ 522: /***/ 270:
/*!*****************************************!*\ /*!*****************************************!*\
!*** E:///pages/index/policy.vue ***! !*** E:///pages/index/policy.vue ***!
\*****************************************/ \*****************************************/
@ -30,8 +30,8 @@ createPage(_policy.default);
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __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_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& */ 525); /* 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 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); /* 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& ***! !*** E:///pages/index/policy.vue?vue&type=template&id=23b1baf0& ***!
\************************************************************************/ \************************************************************************/
@ -69,7 +69,7 @@ component.options.__file = "pages/index/policy.vue"
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __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__, "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"]; }); /* 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& ***! !*** ./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 { try {
components = { components = {
tnNavBar: function () { 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 () { 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 () { 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 () { 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) { } catch (e) {
@ -141,7 +141,7 @@ render._withStripped = true
/***/ }), /***/ }),
/***/ 525: /***/ 273:
/*!******************************************************************!*\ /*!******************************************************************!*\
!*** E:///pages/index/policy.vue?vue&type=script&lang=js& ***! !*** E:///pages/index/policy.vue?vue&type=script&lang=js& ***!
\******************************************************************/ \******************************************************************/
@ -150,14 +150,14 @@ render._withStripped = true
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __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 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 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); /* 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& ***! !*** ./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 //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/policy.js.map

View File

@ -1 +0,0 @@
/* pages/index/policy.wxss */

Some files were not shown because too many files have changed in this diff Show More