123
This commit is contained in:
parent
918331c0ad
commit
55f7b3280b
330
pages.json
330
pages.json
|
@ -30,14 +30,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/user",
|
"path": "pages/index/pizz_info",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "智慧云商协",
|
"navigationBarTitleText": "智慧云商协",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/discovery",
|
"path": "pages/index/user",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "智慧云商协",
|
"navigationBarTitleText": "智慧云商协",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
|
@ -49,191 +49,151 @@
|
||||||
"navigationBarTitleText": "智慧云商协",
|
"navigationBarTitleText": "智慧云商协",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/user_info",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/new_info",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/events_list",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/knowledge_list",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/search",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/pizz_info",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/apply_in",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/events_my",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_card",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_pizz",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_apply",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_msg",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_idea",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_edit",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/tissue",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_desc",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/event_info",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_invite",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/directory_back",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/my_card_holder",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/policy",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/policy_list",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/policy_info",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/user_auditing",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/user_auditing_info",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "智慧云商协"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path" : "pages/index/user_activity",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path" : "pages/index/my_sign",
|
|
||||||
"style" :
|
|
||||||
{
|
|
||||||
"navigationBarTitleText" : ""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"subPackages": [{
|
||||||
|
"root": "pages/packageA",
|
||||||
|
"pages": [{
|
||||||
|
"path": "info/discovery",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "info/policy",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "info/policy_info",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "info/policy_list",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/apply_in",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/events_my",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_apply",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_card",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_card_holder",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_desc",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_edit",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_idea",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_invite",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_msg",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_sign",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/user_activity",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/user_auditing",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/user_auditing_info",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_vip",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_vip_info",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "user/my_vip_clerk",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}, {
|
||||||
|
"root": "pages/packageB",
|
||||||
|
"pages": [{
|
||||||
|
"path": "event/event_info",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "news/new_info",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "智慧云商协"
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
{{item.position_name}}
|
{{item.position_name}}
|
||||||
</view>
|
</view>
|
||||||
<view v-if="item.neirong" v-for="(v,k) in item.neirong"
|
<view v-if="item.neirong" v-for="(v,k) in item.neirong"
|
||||||
@click="tn('/pages/index/my_card?id='+v.member_id)"
|
@click="tn('/pages/packageA/user/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">
|
||||||
|
@ -439,4 +439,4 @@
|
||||||
height: calc(100vh - 286rpx);
|
height: calc(100vh - 286rpx);
|
||||||
padding-bottom: 100rpx;
|
padding-bottom: 100rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,380 +0,0 @@
|
||||||
<template>
|
|
||||||
<view style="background-color: #EBF4F7;letter-spacing: 1rpx;">
|
|
||||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
|
||||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
|
||||||
<!-- <view style="padding-left: 15rpx;" @click="goBack()">
|
|
||||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
|
||||||
</view> -->
|
|
||||||
<view class="tn-margin-top"
|
|
||||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
|
||||||
|
|
||||||
<tn-tabs :list="[{name:'会员名录'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
|
||||||
:fontSize="36"></tn-tabs>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</tn-nav-bar>
|
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
|
||||||
<view class="tn-flex tn-flex-col-center tn-flex-row-between" @click="selectShow= true"
|
|
||||||
style="padding: 30rpx;">
|
|
||||||
<view>
|
|
||||||
<text>{{HomeTitle}}</text>
|
|
||||||
<text class="tn-icon-down-triangle"></text>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<text>筛选</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="tn-classify__container">
|
|
||||||
<view class="tn-classify__container__wrap tn-flex tn-flex-nowrap tn-flex-row-around"
|
|
||||||
style="height: 100vh;background-color: #EBF4F7;">
|
|
||||||
<!-- 左边容器 -->
|
|
||||||
<scroll-view class="tn-classify__left-box left-width" scroll-y scroll-with-animation>
|
|
||||||
<view v-for="(item, index) in industry_list" :key="index" :id="`tabbar_item_${index}`"
|
|
||||||
style="padding-left: 20rpx;" class="tn-classify__tabbar__item tn-flex tn-flex-col-center"
|
|
||||||
:class="[tabbarItemClass(index)]" @tap.stop="clickClassifyNav(index)">
|
|
||||||
<view class="tn-classify__tabbar__item__title">{{ item.industry_name }}</view>
|
|
||||||
</view>
|
|
||||||
</scroll-view>
|
|
||||||
|
|
||||||
<!-- 右边容器 -->
|
|
||||||
<scroll-view class="tn-classify__right-box" scroll-y style="width: 72%">
|
|
||||||
<block>
|
|
||||||
<view class="tn-classify__content">
|
|
||||||
<!-- 分类内容子栏目 -->
|
|
||||||
<view class="tn-classify__content__sub-classify__content ">
|
|
||||||
<view v-for="(item,index) in list" :key="index">
|
|
||||||
<view v-if="item.neirong"
|
|
||||||
style="font-weight: 300;;background-color: #EBF4F7;color:#4AA2EF;width: 100%;height: 60rpx;line-height: 60rpx;text-align: center;">
|
|
||||||
{{item.position_name}}
|
|
||||||
</view>
|
|
||||||
<view v-if="item.neirong" v-for="(v,k) in item.neirong"
|
|
||||||
@click="tn('/pages/index/my_card?id='+v.member_id)"
|
|
||||||
class="tn-classify__content__sub-classify__content__item tn-flex tn-flex-center tn-flex-col-center">
|
|
||||||
<!-- 标题,有需要可以显示出来 -->
|
|
||||||
<view style="width: 100rpx;height: 100rpx">
|
|
||||||
<image :src="apiImgUrl+v.photo_image"
|
|
||||||
style="width: 100rpx;height: 100rpx;border-radius:50%;">
|
|
||||||
</image>
|
|
||||||
</view>
|
|
||||||
<view style="margin-left: 20rpx;">
|
|
||||||
<view style="font-size: 28rpx;">
|
|
||||||
<text>{{v.nikename}}</text>
|
|
||||||
<text style="margin-left: 50rpx;">{{v.nation}}</text>
|
|
||||||
</view>
|
|
||||||
<view class="tn-text-ellipsis-2"
|
|
||||||
style="font-size: 24rpx;margin-top: 10rpx; width: 78%;">
|
|
||||||
<text>{{v.enterprise_Introduction}}</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view v-if="list.length==0" style="text-align: center;padding: 20rpx">
|
|
||||||
暂无
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</block>
|
|
||||||
</scroll-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);-->
|
|
||||||
<!--box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.2);">-->
|
|
||||||
<!-- <view style="color: #fff;letter-spacing: 2rpx;padding: 20rpx;font-size: 32rpx;">申请入会-->
|
|
||||||
<!-- </view>-->
|
|
||||||
<!-- </view>-->
|
|
||||||
<tn-select v-model="selectShow" mode="single" :list="selectList" @confirm="confirm"></tn-select>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import {
|
|
||||||
addressList,
|
|
||||||
associationIndex,
|
|
||||||
newIndustryIndex
|
|
||||||
} from '@/util/api.js';
|
|
||||||
import store from "@/store";
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
list: [],
|
|
||||||
topCurrent: 0,
|
|
||||||
tabbarIndex: 0,
|
|
||||||
// 分类菜单item的信息
|
|
||||||
tabbarItemInfo: [],
|
|
||||||
// scrollView的top值
|
|
||||||
scrollViewBasicTop: 0,
|
|
||||||
// scrollView的高度
|
|
||||||
scrollViewHeight: 0,
|
|
||||||
// 左边scrollView的滚动高度
|
|
||||||
leftScrollViewTop: 0,
|
|
||||||
// 右边scrollView的滚动高度
|
|
||||||
rightScrollViewTop: 0,
|
|
||||||
// 当前选中的tabbar序号
|
|
||||||
currentTabbarIndex: 0,
|
|
||||||
apiImgUrl: this.$store.state.imgUrl,
|
|
||||||
industry_list: [],
|
|
||||||
leftId: 0,
|
|
||||||
selectShow: false,
|
|
||||||
HomeTitle: '',
|
|
||||||
selectList: [],
|
|
||||||
gid: store.state.Gid
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
tabbarItemClass() {
|
|
||||||
return index => {
|
|
||||||
if (index === this.currentTabbarIndex) {
|
|
||||||
return 'tn-classify__tabbar__item--active tn-bg-white'
|
|
||||||
} else {
|
|
||||||
let clazz = ''
|
|
||||||
if (this.currentTabbarIndex > 0 && index === this.currentTabbarIndex - 1) {
|
|
||||||
clazz += ' tn-classify__tabbar__item--active--prev'
|
|
||||||
}
|
|
||||||
if (this.currentTabbarIndex < this.industry_list.length && index === this.currentTabbarIndex +
|
|
||||||
1) {
|
|
||||||
clazz += ' tn-classify__tabbar__item--active--next'
|
|
||||||
}
|
|
||||||
return clazz
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad(d) {
|
|
||||||
console.log(d.id);
|
|
||||||
if (typeof(d.id) != 'undefined') {
|
|
||||||
this.gid = d.id;
|
|
||||||
}
|
|
||||||
this.getIndustryList();
|
|
||||||
this.getAssociationIndex();
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
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.leftId = res.data[0].id;
|
|
||||||
this.getAddressList();
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
uni.showToast({
|
|
||||||
title: error,
|
|
||||||
icon: 'none',
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getAddressList() {
|
|
||||||
addressList({
|
|
||||||
association_id: this.gid,
|
|
||||||
industry_id: this.leftId
|
|
||||||
})
|
|
||||||
.then(res => {
|
|
||||||
console.log(res);
|
|
||||||
if (res.code == 1) {
|
|
||||||
this.list = res.data.ret;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
uni.showToast({
|
|
||||||
title: error,
|
|
||||||
icon: 'none',
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
})
|
|
||||||
},
|
|
||||||
clickClassifyNav(index) {
|
|
||||||
this.currentTabbarIndex = index;
|
|
||||||
this.leftId = this.industry_list[index].id;
|
|
||||||
this.list = [];
|
|
||||||
this.getAddressList();
|
|
||||||
//this.handleLeftScrollView(index)
|
|
||||||
//this.switchClassifyContent();
|
|
||||||
},
|
|
||||||
// 点击分类后,处理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
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 切换对应分类的数据
|
|
||||||
switchClassifyContent() {
|
|
||||||
this.rightScrollViewTop = 1
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.rightScrollViewTop = 0
|
|
||||||
})
|
|
||||||
//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
|
|
||||||
},
|
|
||||||
tn(url) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: url
|
|
||||||
})
|
|
||||||
},
|
|
||||||
goBack() {
|
|
||||||
if (getCurrentPages().length > 1) {
|
|
||||||
uni.navigateBack()
|
|
||||||
} else {
|
|
||||||
uni.redirectTo({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
/* 自定义导航栏内容 start */
|
|
||||||
.custom-nav {
|
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
&__back {
|
|
||||||
margin: auto 30rpx;
|
|
||||||
margin-right: 10rpx;
|
|
||||||
flex-basis: 5%;
|
|
||||||
width: 100rpx;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.left-width {
|
|
||||||
flex-basis: 28%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 自定义导航栏内容 end */
|
|
||||||
.tn-classify {
|
|
||||||
|
|
||||||
/* 搜索栏 start */
|
|
||||||
|
|
||||||
|
|
||||||
/* 搜索栏 end */
|
|
||||||
|
|
||||||
/* 分类列表和内容 strat */
|
|
||||||
&__container {}
|
|
||||||
|
|
||||||
&__left-box {}
|
|
||||||
|
|
||||||
&__right-box {
|
|
||||||
background-color: #FFFFFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 分类列表和内容 end */
|
|
||||||
|
|
||||||
/* 侧边导航 start */
|
|
||||||
&__tabbar {
|
|
||||||
&__item {
|
|
||||||
height: 90rpx;
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
border-top-right-radius: 0rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-bottom-right-radius: 0rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
&--active {
|
|
||||||
background-color: #FFFFFF;
|
|
||||||
position: relative;
|
|
||||||
// font-weight: bold;
|
|
||||||
color: #4AA2EF;
|
|
||||||
|
|
||||||
&--prev {
|
|
||||||
border-bottom-right-radius: 26rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
&--next {
|
|
||||||
border-top-right-radius: 26rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 侧边导航 end */
|
|
||||||
|
|
||||||
/* 分类内容 start */
|
|
||||||
&__content {
|
|
||||||
margin: 18rpx;
|
|
||||||
|
|
||||||
/* 推荐商品 start */
|
|
||||||
&__recomm {
|
|
||||||
margin-bottom: 40rpx;
|
|
||||||
|
|
||||||
&__swiper {}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 推荐商品 end */
|
|
||||||
|
|
||||||
/* 子栏目 start */
|
|
||||||
&__sub-classify {
|
|
||||||
margin-bottom: 20rpx;
|
|
||||||
padding-bottom: 40rpx;
|
|
||||||
|
|
||||||
&--title {
|
|
||||||
font-weight: bold;
|
|
||||||
margin-bottom: 18rpx;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
&__content {
|
|
||||||
|
|
||||||
&__item {
|
|
||||||
padding: 20rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 子栏目 end */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 分类内容 end */
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -1,74 +0,0 @@
|
||||||
<template>
|
|
||||||
<view style="background-color: #EBF4F7;letter-spacing: 1rpx;">
|
|
||||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
|
||||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
|
||||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
|
||||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
|
||||||
</view>
|
|
||||||
<view class="tn-margin-top"
|
|
||||||
style="text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
|
||||||
<tn-tabs :list="[{name:'协会活动'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
|
||||||
:fontSize="36"></tn-tabs>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</tn-nav-bar>
|
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
|
||||||
<view style="padding:10px 30rpx;">
|
|
||||||
<view v-for="(item,index) in list" class="tn-flex tn-flex-row-between"
|
|
||||||
@click="openUrl('/pages/index/events_info')"
|
|
||||||
style="background-color: #ffffff;padding: 20rpx;border-radius: 10rpx;margin-bottom: 10rpx;">
|
|
||||||
<view style="position:relative;">
|
|
||||||
<view style="font-size: 28rpx;">青年企业家能力提升 计划培训班(第20期)</view>
|
|
||||||
<view class="tn-flex tn-flex-row-between"
|
|
||||||
style="position: absolute;bottom: 0rpx;width: 100%;color: #808080;">
|
|
||||||
<view>2023-12-25</view>
|
|
||||||
<view>
|
|
||||||
<tn-button v-if="index%2==0&&index!=2" padding="0px" width="100rpx" height="40rpx"
|
|
||||||
size="sm" backgroundColor="#6BC7F0 " fontColor="tn-color-white">报名中</tn-button>
|
|
||||||
<tn-button v-if="index%2==1&&index!=2" padding="0px" width="100rpx" height="40rpx"
|
|
||||||
size="sm" backgroundColor="#EE9556 " fontColor="tn-color-white">预告</tn-button>
|
|
||||||
<tn-button v-if="index==2" padding="0px" width="100rpx" height="40rpx" size="sm"
|
|
||||||
backgroundColor="#E12B33 " fontColor="tn-color-white">进行中</tn-button>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="margin-left: 20rpx;">
|
|
||||||
<image src="/static/hd1.jpg" style="width: 200rpx;height: 135rpx;;border-radius: 10rpx;">
|
|
||||||
</image>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
topCurrent: 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
openUrl(url) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: url
|
|
||||||
})
|
|
||||||
},
|
|
||||||
goBack() {
|
|
||||||
if (getCurrentPages().length > 1) {
|
|
||||||
uni.navigateBack()
|
|
||||||
} else {
|
|
||||||
uni.redirectTo({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
|
@ -99,7 +99,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="margin:20rpx 28rpx">
|
<view style="margin:20rpx 28rpx">
|
||||||
<view @click="openUrl('/pages/index/policy')"
|
<view @click="openUrl('/pages/packageA/info/policy')"
|
||||||
style="position:relative;padding: 20rpx;border-radius: 16rpx;height: 130rpx;background: linear-gradient(90deg, #d6eafa 0%, #d4eafe 100%);">
|
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: 32rpx">惠企政策</view>
|
||||||
<view style="font-size: 22rpx;margin-top: 10rpx">Corporate policies</view>
|
<view style="font-size: 22rpx;margin-top: 10rpx">Corporate policies</view>
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
</view>
|
</view>
|
||||||
<scroll-view :scroll-x="true" style="padding:0rpx 30rpx;white-space: nowrap;width: 100%"
|
<scroll-view :scroll-x="true" style="padding:0rpx 30rpx;white-space: nowrap;width: 100%"
|
||||||
v-if="actList.length>0">
|
v-if="actList.length>0">
|
||||||
<view v-for="(item,index) in actList" @click="openUrl('/pages/index/event_info?id='+item.id)"
|
<view v-for="(item,index) in actList" @click="openUrl('/pages/packageB/event/event_info?id='+item.id)"
|
||||||
style="position: relative;;display: inline-block;width: 300rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;">
|
style="position: relative;;display: inline-block;width: 300rpx;text-align: center;background-color: #FFF;border-radius: 20rpx;overflow: hidden;margin-right: 20rpx;">
|
||||||
<view>
|
<view>
|
||||||
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
||||||
|
@ -215,7 +215,7 @@
|
||||||
<view style="padding:0px 28rpx;padding-bottom: 100rpx;min-height:1000rpx">
|
<view style="padding:0px 28rpx;padding-bottom: 100rpx;min-height:1000rpx">
|
||||||
<view v-for="(item,index) in news_list" :class="{ 'rounded_corner': index === 0 }"
|
<view v-for="(item,index) in news_list" :class="{ 'rounded_corner': index === 0 }"
|
||||||
style="background-color: #ffffff;">
|
style="background-color: #ffffff;">
|
||||||
<view class="tn-flex tn-flex-row-between" @click="openUrl('/pages/index/new_info?id='+item.news_id)"
|
<view class="tn-flex tn-flex-row-between" @click="openUrl('/pages/packageB/news/new_info?id='+item.news_id)"
|
||||||
style="padding: 20rpx;min-height: 200rpx;">
|
style="padding: 20rpx;min-height: 200rpx;">
|
||||||
<view style="margin-left: 20rpx;" v-if="item.news_image">
|
<view style="margin-left: 20rpx;" v-if="item.news_image">
|
||||||
<image :src="apiImgUrl+item.news_image" mode="aspectFill"
|
<image :src="apiImgUrl+item.news_image" mode="aspectFill"
|
||||||
|
@ -326,12 +326,12 @@
|
||||||
},
|
},
|
||||||
openInfo(d) {
|
openInfo(d) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/policy_info?id=' + d.id,
|
url: '/pages/packageA/info/policy_info?id=' + d.id,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
openRight() {
|
openRight() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/policy',
|
url: '/pages/packageA/info/policy',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async getMsg() {
|
async getMsg() {
|
||||||
|
@ -573,4 +573,4 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,105 +0,0 @@
|
||||||
<template>
|
|
||||||
<view style="background-color: #EBF4F7;letter-spacing: 1rpx;height: 100vh">
|
|
||||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
|
||||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
|
||||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
|
||||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
|
||||||
</view>
|
|
||||||
<view class="tn-margin-top"
|
|
||||||
style="text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
|
||||||
<tn-tabs :list="[{name:'商学院'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
|
||||||
:fontSize="36"></tn-tabs>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</tn-nav-bar>
|
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
|
||||||
<view style="padding:10px 30rpx;">
|
|
||||||
<view v-for="(item,index) in news_list" class="tn-flex tn-flex-row-between"
|
|
||||||
@click="openUrl('/pages/index/new_info?id='+item.news_id)"
|
|
||||||
style="background-color: #ffffff;padding: 20rpx;border-radius: 10rpx;margin-bottom: 10rpx;">
|
|
||||||
<view style="position:relative;">
|
|
||||||
<view class="tn-text-ellipsis-2" style="font-size: 28rpx;">{{item.news_title}}</view>
|
|
||||||
<view class="tn-flex tn-flex-row-between"
|
|
||||||
style="position: absolute;bottom: 0rpx;width: 100%;color: #808080;">
|
|
||||||
<view>
|
|
||||||
<text class="tn-icon-eye"></text>
|
|
||||||
<text>568</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="margin-left: 20rpx;">
|
|
||||||
<image :src="apiImgUrl+item.news_image" style="width: 200rpx;height: 135rpx;;border-radius: 10rpx;">
|
|
||||||
</image>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import {newsList} from "@/util/api";
|
|
||||||
import store from "@/store";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
topCurrent: 0,
|
|
||||||
gory_id:53,
|
|
||||||
news_list:[],
|
|
||||||
apiImgUrl:this.$store.state.imgUrl,
|
|
||||||
page:1,
|
|
||||||
size:10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad() {
|
|
||||||
this.getNewsList();
|
|
||||||
},
|
|
||||||
onReachBottom() {
|
|
||||||
this.page = this.page + 1;
|
|
||||||
this.getNewsList();
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
getNewsList() {
|
|
||||||
newsList({
|
|
||||||
association_id: store.state.Gid,
|
|
||||||
gory_id: this.gory_id,
|
|
||||||
page: this.page,
|
|
||||||
size: this.size
|
|
||||||
})
|
|
||||||
.then(res => {
|
|
||||||
console.log(res);
|
|
||||||
if (res.code == 1) {
|
|
||||||
this.news_list.push(...res.data.ret);
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
uni.showToast({
|
|
||||||
title: error,
|
|
||||||
icon: 'none',
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
})
|
|
||||||
},
|
|
||||||
openUrl(url) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: url
|
|
||||||
})
|
|
||||||
},
|
|
||||||
goBack() {
|
|
||||||
if (getCurrentPages().length > 1) {
|
|
||||||
uni.navigateBack()
|
|
||||||
} else {
|
|
||||||
uni.redirectTo({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
|
@ -1,66 +0,0 @@
|
||||||
<template>
|
|
||||||
<view style="letter-spacing: 1rpx;">
|
|
||||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
|
||||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
|
||||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
|
||||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
|
||||||
</view>
|
|
||||||
<view class="tn-margin-top"
|
|
||||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
|
||||||
<tn-tabs :list="[{name:'所在协会'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
|
||||||
:fontSize="36"></tn-tabs>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</tn-nav-bar>
|
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 20+'px'}">
|
|
||||||
<view style="padding:0rpx 30rpx 180rpx 30rpx;">
|
|
||||||
<view
|
|
||||||
style="position: relative;box-shadow: rgba(12, 0, 5, 0.1) 0px 0px 5px 0px;background-color: #ffffff;"
|
|
||||||
@click="tn('/pages/index/pizz_info/pizz_info')">
|
|
||||||
<view class="tn-flex tn-flex-center tn-flex-col-center"
|
|
||||||
style="background-color: #ffffff;padding:60rpx 30rpx;border-radius: 15rpx;margin-bottom: 20rpx;">
|
|
||||||
<view>
|
|
||||||
<image src="/static/123.png" style="width: 100rpx;height: 100rpx;border-radius: 50%;">
|
|
||||||
</image>
|
|
||||||
</view>
|
|
||||||
<view style="margin-left: 20rpx;">
|
|
||||||
<view style="font-size: 31rpx;font-weight: 600;letter-spacing: 5rpx;">河南机器人行业协会</view>
|
|
||||||
<view style="font-size: 24rpx;color: #808080;margin-top: 15rpx;">成立时间:2021-09-08</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
topCurrent: 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
openUrl(e) {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: e
|
|
||||||
})
|
|
||||||
},
|
|
||||||
goBack() {
|
|
||||||
if (getCurrentPages().length > 1) {
|
|
||||||
uni.navigateBack()
|
|
||||||
} else {
|
|
||||||
uni.redirectTo({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
|
@ -78,7 +78,7 @@
|
||||||
fontColor="#ffffff">{{item.position_name}}</tn-button>
|
fontColor="#ffffff">{{item.position_name}}</tn-button>
|
||||||
<tn-grid align="center" col="5" hoverClass="none">
|
<tn-grid align="center" col="5" hoverClass="none">
|
||||||
<tn-grid-item v-if="item.neirong" style="width:20%" v-for="(v,i) in item.neirong"
|
<tn-grid-item v-if="item.neirong" style="width:20%" v-for="(v,i) in item.neirong"
|
||||||
@click="openUrl('/pages/index/my_card?id='+v.member_id)">
|
@click="openUrl('/pages/packageA/user/my_card?id='+v.member_id)">
|
||||||
<view style="padding: 30rpx;">
|
<view style="padding: 30rpx;">
|
||||||
<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%;">
|
||||||
|
@ -374,4 +374,4 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view style="padding:0rpx 30rpx;">
|
<view style="padding:0rpx 30rpx;">
|
||||||
<view v-for="(item,index) in list.member" class="tn-flex tn-flex-center tn-flex-col-center"
|
<view v-for="(item,index) in list.member" class="tn-flex tn-flex-center tn-flex-col-center"
|
||||||
@click="tn('/pages/index/my_card?id='+item.id)"
|
@click="tn('/pages/packageA/user/my_card?id='+item.id)"
|
||||||
style="background-color: #ffffff;padding:30rpx;border-radius: 15rpx;margin-bottom: 20rpx;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);">
|
style="background-color: #ffffff;padding:30rpx;border-radius: 15rpx;margin-bottom: 20rpx;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);">
|
||||||
<view>
|
<view>
|
||||||
<image :src="apiImgUrl+item.photo_image"
|
<image :src="apiImgUrl+item.photo_image"
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view>
|
<view>
|
||||||
<view v-for="(item,index) in list.activity" style="background-color: #ffffff;">
|
<view v-for="(item,index) in list.activity" style="background-color: #ffffff;">
|
||||||
<view class="tn-flex tn-flex-row-between" @click="tn('/pages/index/event_info?id='+item.id)"
|
<view class="tn-flex tn-flex-row-between" @click="tn('/pages/packageB/event/event_info?id='+item.id)"
|
||||||
style="padding: 20rpx;">
|
style="padding: 20rpx;">
|
||||||
<view style="margin-left: 20rpx;" v-if="item.activity_image">
|
<view style="margin-left: 20rpx;" v-if="item.activity_image">
|
||||||
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view style="padding:0px 30rpx;">
|
<view style="padding:0px 30rpx;">
|
||||||
<view v-for="(item,index) in list.news" style="background-color: #ffffff;">
|
<view v-for="(item,index) in list.news" style="background-color: #ffffff;">
|
||||||
<view class="tn-flex tn-flex-row-between" @click="tn('/pages/index/new_info?id='+item.id)"
|
<view class="tn-flex tn-flex-row-between" @click="tn('/pages/packageB/news/new_info?id='+item.id)"
|
||||||
style="padding: 20rpx;">
|
style="padding: 20rpx;">
|
||||||
<view style="margin-left: 20rpx;" v-if="item.news_image">
|
<view style="margin-left: 20rpx;" v-if="item.news_image">
|
||||||
<image :src="apiImgUrl+item.news_image" mode="aspectFill"
|
<image :src="apiImgUrl+item.news_image" mode="aspectFill"
|
||||||
|
@ -345,4 +345,4 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 标签内容 end*/
|
/* 标签内容 end*/
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<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">
|
||||||
<tn-grid-item style="width:50%">
|
<tn-grid-item style="width:50%">
|
||||||
<view @click="openUrl('/pages/index/event_info?id='+item.id)"
|
<view @click="openUrl('/pages/packageB/event/event_info?id='+item.id)"
|
||||||
style="margin-bottom: 30rpx;background-color: #FFF;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;display: inline-block;width: 350rpx;text-align: center;border-radius: 20rpx;overflow: hidden;">
|
style="margin-bottom: 30rpx;background-color: #FFF;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);position: relative;display: inline-block;width: 350rpx;text-align: center;border-radius: 20rpx;overflow: hidden;">
|
||||||
<view>
|
<view>
|
||||||
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
<image :src="apiImgUrl+item.activity_image" mode="aspectFill"
|
||||||
|
@ -225,4 +225,4 @@
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
fontColor="#000000">{{item.position_name}}</tn-button>
|
fontColor="#000000">{{item.position_name}}</tn-button>
|
||||||
<tn-grid align="center" col="5" hoverClass="none">
|
<tn-grid align="center" col="5" hoverClass="none">
|
||||||
<tn-grid-item v-if="item.neirong" style="width:20%" v-for="(v,i) in item.neirong"
|
<tn-grid-item v-if="item.neirong" style="width:20%" v-for="(v,i) in item.neirong"
|
||||||
@click="openInfo('/pages/index/my_card?id='+v.member_id)">
|
@click="openInfo('/pages/packageA/user/my_card?id='+v.member_id)">
|
||||||
<view style="padding: 30rpx;">
|
<view style="padding: 30rpx;">
|
||||||
<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%;">
|
||||||
|
@ -115,4 +115,4 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 30rpx;width: 100%;">
|
<view class="tn-flex tn-flex-center tn-flex-col-center" style="padding: 30rpx;width: 100%;">
|
||||||
<view v-if="login && userInfo.photo_image">
|
<view v-if="login && userInfo.photo_image">
|
||||||
<image :src="apiImgUrl+userInfo.photo_image"
|
<image :src="apiImgUrl+userInfo.photo_image"
|
||||||
@click="tn_ru('/pages/index/my_card?id='+userInfo.member_id)"
|
@click="tn_ru('/pages/packageA/user/my_card?id='+userInfo.member_id)"
|
||||||
style="width: 100rpx;height: 100rpx;border-radius: 50%;"></image>
|
style="width: 100rpx;height: 100rpx;border-radius: 50%;"></image>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="!login || !userInfo.photo_image">
|
<view v-if="!login || !userInfo.photo_image">
|
||||||
|
@ -15,13 +15,13 @@
|
||||||
<view style="width: 100%;">
|
<view style="width: 100%;">
|
||||||
<view v-if="login" class="tn-flex tn-flex-col-center tn-flex-row-between">
|
<view v-if="login" class="tn-flex tn-flex-col-center tn-flex-row-between">
|
||||||
<view style="margin-left: 20rpx;color: #fff"
|
<view style="margin-left: 20rpx;color: #fff"
|
||||||
@click="tn_ru('/pages/index/my_card?id='+userInfo.member_id)">
|
@click="tn_ru('/pages/packageA/user/my_card?id='+userInfo.member_id)">
|
||||||
<view style="font-size: 35rpx;">{{ userInfo.nikename }}</view>
|
<view style="font-size: 35rpx;">{{ userInfo.nikename }}</view>
|
||||||
<view v-if="userInfo.position_name!=null" style="font-size: 24rpx;margin-top: 10rpx;">
|
<view v-if="userInfo.position_name!=null" style="font-size: 24rpx;margin-top: 10rpx;">
|
||||||
{{userInfo.position_name}}
|
{{userInfo.position_name}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="tn('/pages/index/my_edit')">
|
<view @click="tn('/pages/packageA/user/my_edit')">
|
||||||
<image src="/static/ico13.png" style="width: 40rpx ;" mode="widthFix"></image>
|
<image src="/static/ico13.png" style="width: 40rpx ;" mode="widthFix"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
<text>所在商/协会</text>
|
<text>所在商/协会</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="tn('/pages/index/events_my')">
|
<view @click="tn('/pages/packageA/user/events_my')">
|
||||||
<view>
|
<view>
|
||||||
<image src="/static/ico1.png" style="width: 50rpx;height: 50rpx;"></image>
|
<image src="/static/ico1.png" style="width: 50rpx;height: 50rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
<text>参与活动</text>
|
<text>参与活动</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="tn('/pages/index/my_desc')">
|
<view @click="tn('/pages/packageA/user/my_desc')">
|
||||||
<view>
|
<view>
|
||||||
<image src="/static/02_2.png" style="width: 50rpx;height: 50rpx;"></image>
|
<image src="/static/02_2.png" style="width: 50rpx;height: 50rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
<text>协会服务</text>
|
<text>协会服务</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view @click="tn('/pages/index/my_card?id='+userInfo.member_id)">
|
<view @click="tn('/pages/packageA/user/my_card?id='+userInfo.member_id)">
|
||||||
<view>
|
<view>
|
||||||
<image src="/static/ico6.png" style="width: 50rpx;height: 50rpx;"></image>
|
<image src="/static/ico6.png" style="width: 50rpx;height: 50rpx;"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -75,15 +75,15 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="background-color: #fff;">
|
<view style="background-color: #fff;padding-bottom: 80rpx;">
|
||||||
<view style="padding:0px 20rpx;">
|
<view style="padding:0px 20rpx;">
|
||||||
<tn-list-cell v-if="login" :arrow="true" @click="tn('/pages/index/my_card_holder')">
|
<tn-list-cell v-if="login" :arrow="true" @click="tn('/pages/packageA/user/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/icon13.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 v-if="login" :arrow="true" @click="tn('/pages/index/my_edit')">
|
<tn-list-cell v-if="login" :arrow="true" @click="tn('/pages/packageA/user/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/icon14.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>
|
||||||
|
@ -96,13 +96,13 @@
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </tn-list-cell>-->
|
<!-- </tn-list-cell>-->
|
||||||
<tn-list-cell :arrow="true" v-if="userInfo.if_xianshi!=1 || !login"
|
<tn-list-cell :arrow="true" v-if="userInfo.if_xianshi!=1 || !login"
|
||||||
@click="tn_ru('/pages/index/apply_in?association_id='+loginData.association_id)">
|
@click="tn_ru('/pages/packageA/user/apply_in?association_id='+loginData.association_id)">
|
||||||
<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/ico8.png" style="width: 50rpx;height: 50rpx"></image>
|
<image src="/static/ico8.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_msg')">
|
<tn-list-cell :arrow="true" @click="tn('/pages/packageA/user/my_msg')">
|
||||||
<view class="tn-flex tn-flex-center tn-flex-col-center" style="position: relative;">
|
<view class="tn-flex tn-flex-center tn-flex-col-center" style="position: relative;">
|
||||||
<image src="/static/ico9.png" style="width: 50rpx;height: 50rpx"></image>
|
<image src="/static/ico9.png" style="width: 50rpx;height: 50rpx"></image>
|
||||||
<view style="margin-left: 20rpx;">我的消息</view>
|
<view style="margin-left: 20rpx;">我的消息</view>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
fontColor="#ffffff">{{msg()}}</tn-badge>
|
fontColor="#ffffff">{{msg()}}</tn-badge>
|
||||||
</view>
|
</view>
|
||||||
</tn-list-cell>
|
</tn-list-cell>
|
||||||
<tn-list-cell v-if="login" :arrow="true" @click="tn('/pages/index/my_invite')">
|
<tn-list-cell v-if="login" :arrow="true" @click="tn('/pages/packageA/user/my_invite')">
|
||||||
<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/ico10.png" style="width: 50rpx;height: 50rpx"></image>
|
<image src="/static/ico10.png" style="width: 50rpx;height: 50rpx"></image>
|
||||||
<view style="margin-left: 20rpx;">邀请入会</view>
|
<view style="margin-left: 20rpx;">邀请入会</view>
|
||||||
|
@ -123,25 +123,38 @@
|
||||||
<!-- </view>-->
|
<!-- </view>-->
|
||||||
<!-- </tn-list-cell>-->
|
<!-- </tn-list-cell>-->
|
||||||
<tn-list-cell v-if="userInfo.shenhe==1&&login" :arrow="true"
|
<tn-list-cell v-if="userInfo.shenhe==1&&login" :arrow="true"
|
||||||
@click="tn('/pages/index/user_auditing')">
|
@click="tn('/pages/packageA/user/user_auditing')">
|
||||||
<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/icon15.png" style="width: 50rpx;height: 50rpx"></image>
|
<image src="/static/icon15.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 v-if="userInfo.shenhe==1&&login" :arrow="true"
|
<tn-list-cell v-if="userInfo.shenhe==1&&login" :arrow="true"
|
||||||
@click="tn('/pages/index/user_activity')">
|
@click="tn('/pages/packageA/user/user_activity')">
|
||||||
<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/ico16.png" style="width: 50rpx;height: 50rpx"></image>
|
<image src="/static/ico16.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_idea')">
|
<tn-list-cell :arrow="true" @click="tn('/pages/packageA/user/my_idea')">
|
||||||
<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/ico12.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/packageA/user/my_vip')">
|
||||||
|
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||||
|
<image src="/static/ico12.png" style="width: 50rpx;height: 50rpx"></image>
|
||||||
|
<view style="margin-left: 20rpx;">会员卡</view>
|
||||||
|
</view>
|
||||||
|
</tn-list-cell>
|
||||||
|
<tn-list-cell v-if="userInfo.business==1" :arrow="true"
|
||||||
|
@click="tn('/pages/packageA/user/my_vip_clerk')">
|
||||||
|
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||||
|
<image src="/static/ico12.png" style="width: 50rpx;height: 50rpx"></image>
|
||||||
|
<view style="margin-left: 20rpx;">店员管理</view>
|
||||||
|
</view>
|
||||||
|
</tn-list-cell>
|
||||||
<tn-list-cell :arrow="true" @click="loginAut">
|
<tn-list-cell :arrow="true" @click="loginAut">
|
||||||
<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/ico11.png" style="width: 50rpx;height: 50rpx"></image>
|
<image src="/static/ico11.png" style="width: 50rpx;height: 50rpx"></image>
|
||||||
|
@ -384,7 +397,7 @@
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
tn_ru(e) {
|
tn_ru(e) {
|
||||||
var url = "/pages/index/apply_in?association_id=" + store.state.Gid;
|
var url = "/pages/packageA/user/apply_in?association_id=" + store.state.Gid;
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: e
|
url: e
|
||||||
})
|
})
|
||||||
|
@ -401,7 +414,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.userInfo.if_member == 2) {
|
if (this.userInfo.if_member == 2) {
|
||||||
if (e == '/pages/index/my_edit') {
|
if (e == '/pages/packageA/user/my_edit') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请入会后查看',
|
title: '请入会后查看',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -409,7 +422,7 @@
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.includes("/pages/index/my_invite")) {
|
if (e.includes("/pages/packageA/user/my_invite")) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请入会后查看',
|
title: '请入会后查看',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
@ -425,7 +438,7 @@
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.includes("/pages/index/my_card")) {
|
if (e.includes("/pages/packageA/user/my_card")) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请入会后查看',
|
title: '请入会后查看',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
|
|
@ -1,102 +0,0 @@
|
||||||
<template>
|
|
||||||
<view style="background-color: #EBF4F7;letter-spacing: 1rpx;">
|
|
||||||
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
|
||||||
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
|
||||||
<view style="padding-left: 15rpx;" @click="goBack()">
|
|
||||||
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
|
||||||
</view>
|
|
||||||
<view class="tn-margin-top"
|
|
||||||
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
|
||||||
|
|
||||||
<tn-tabs :list="[{name:'会员名录'}]" :current="topCurrent" activeColor="#000" :bold="false"
|
|
||||||
:fontSize="36"></tn-tabs>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</tn-nav-bar>
|
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
|
||||||
<view style="padding:30rpx 30rpx 180rpx 30rpx;">
|
|
||||||
<image src="/static/u2.jpg" style="width: 100%;border-radius: 20rpx;" mode="widthFix"></image>
|
|
||||||
<view style="margin-top: 10rpx;background-color: #fff;padding: 30rpx;border-radius: 20rpx;">
|
|
||||||
<view style="font-size: 32rpx;font-weight: 600;">
|
|
||||||
<text>朱荣梅</text>
|
|
||||||
<text style="margin-left: 40rpx;">汉族</text>
|
|
||||||
</view>
|
|
||||||
<view style="margin: 10rpx 0rpx;">
|
|
||||||
<text>河南省青年企业家协会</text>
|
|
||||||
<text style="margin-left: 20rpx;">副会长</text>
|
|
||||||
</view>
|
|
||||||
<view>
|
|
||||||
<text>郑州康桥房地产开发有限责任公司</text>
|
|
||||||
<text style="margin-left: 20rpx;">执行总裁</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
style="padding:10rpx 30rpx 50rpx 30rpx;background-color: #fff;border-radius: 20rpx;margin-top: 20rpx;">
|
|
||||||
<tn-tabs :list="list" :isScroll="true" :activeItemStyle="{'fontWeight':'600','fontSize':'30rpx'}"
|
|
||||||
style="font-weight: ;" activeColor="#000" :barWidth="50" :barHeight="6"
|
|
||||||
:barStyle="{'background': 'linear-gradient(-45deg, #4AA2EF, #3A7FF4)','borderRadius': '4rpx'}"
|
|
||||||
:current="current" name="name" @change="change"></tn-tabs>
|
|
||||||
<view style="margin-top: 20rpx;position: relative;">
|
|
||||||
<image src="/static/b1.png"
|
|
||||||
style="width: 100rpx;height: 100rpx;position: absolute;left: 0;right: 0;top: 38%;z-index: 10;margin: 0 auto;">
|
|
||||||
</image>
|
|
||||||
<image src="/static/t7.jpg" style="width: 100%;border-radius: 20rpx;" mode="widthFix"></image>
|
|
||||||
</view>
|
|
||||||
<view style="line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;">
|
|
||||||
<p>河南省青年企业家协会(HeNan Young
|
|
||||||
Entrepreneurs’Association),简称为省青企协,是全省性的青年企业家的群众组织,是共青团联系青年企业家的桥梁和纽带,是具有独立法人资格的非营利性社会团体,是中国青年企业家协会、河南省青年联合会、河南省企业联合会(河南省企业家协会)的团体会员。
|
|
||||||
</p>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="position: fixed;bottom: 5%;width: 100%;">
|
|
||||||
<view class="tn-flex tn-flex-row-around">
|
|
||||||
|
|
||||||
<view
|
|
||||||
style="color: #fff;;letter-spacing: 10rpx;line-height: 70rpx;;text-align: center;;width: 300rpx;height: 70rpx;background: linear-gradient(-45deg, #4AA2EF, #3A7FF4);border-radius: 50rpx;">
|
|
||||||
公司/产品介绍</view>
|
|
||||||
<view
|
|
||||||
style="color: #fff;;letter-spacing: 10rpx;line-height: 70rpx;;text-align: center;;width: 300rpx;height: 70rpx;background: linear-gradient(270deg, #EE7E45, #EE9657);border-radius: 50rpx;">
|
|
||||||
联系TA</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
topCurrent: 0.,
|
|
||||||
list: [{
|
|
||||||
name: '公司介绍'
|
|
||||||
}, {
|
|
||||||
name: '个人介绍'
|
|
||||||
}],
|
|
||||||
current: 0
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
change(e) {
|
|
||||||
this.current = e;
|
|
||||||
},
|
|
||||||
goBack() {
|
|
||||||
if (getCurrentPages().length > 1) {
|
|
||||||
uni.navigateBack()
|
|
||||||
} else {
|
|
||||||
uni.redirectTo({
|
|
||||||
url: '/pages/index/index'
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
|
|
||||||
</style>
|
|
|
@ -87,14 +87,14 @@
|
||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="userInfo.association_id!=info.id" @click="openUrl('/pages/index/apply_in')"
|
<view v-if="userInfo.association_id!=info.id" @click="openUrl('/pages/packageA/user/apply_in')"
|
||||||
style="position: fixed;bottom: 330rpx;right: 20rpx;line-height: 35rpx;color: #fff;;text-align: center;width: 100rpx;height: 100rpx;background: linear-gradient(270deg, #EE7E45, #EE9657);border-radius: 50%;">
|
style="position: fixed;bottom: 330rpx;right: 20rpx;line-height: 35rpx;color: #fff;;text-align: center;width: 100rpx;height: 100rpx;background: linear-gradient(270deg, #EE7E45, #EE9657);border-radius: 50%;">
|
||||||
<view style="padding-top: 16rpx;">申请</view>
|
<view style="padding-top: 16rpx;">申请</view>
|
||||||
<view>入会</view>
|
<view>入会</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="position: fixed;bottom: 310rpx; width: 100%;">
|
<view style="position: fixed;bottom: 310rpx; width: 100%;">
|
||||||
<view class="tn-flex tn-flex-row-around">
|
<view class="tn-flex tn-flex-row-around">
|
||||||
<view @click="openUrl('/pages/index/directory?id='+info.id)"
|
<view @click="openUrl('/pages/packageA/info/directory?id='+info.id)"
|
||||||
style="position: absolute; right:20rpx;color: #fff; line-height:35rpx;text-align: center;width: 100rpx;height: 100rpx;background: linear-gradient(-45deg, #4AA2EF, #3A7FF4);border-radius: 50%;">
|
style="position: absolute; right:20rpx;color: #fff; line-height:35rpx;text-align: center;width: 100rpx;height: 100rpx;background: linear-gradient(-45deg, #4AA2EF, #3A7FF4);border-radius: 50%;">
|
||||||
<view style="padding-top: 16rpx;">会员</view>
|
<view style="padding-top: 16rpx;">会员</view>
|
||||||
<view>名录</view>
|
<view>名录</view>
|
||||||
|
@ -237,4 +237,4 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -18,7 +18,7 @@
|
||||||
<tn-list-view :card="true" unlined="all">
|
<tn-list-view :card="true" unlined="all">
|
||||||
<block v-for="(item, index) in list" :key="index">
|
<block v-for="(item, index) in list" :key="index">
|
||||||
<tn-list-cell padding="36rpx" :arrow="true"
|
<tn-list-cell padding="36rpx" :arrow="true"
|
||||||
@click="openUrl('/pages/index/policy_list?id='+item.id)">{{item.name}}</tn-list-cell>
|
@click="openUrl('/pages/packageA/info/policy_list?id='+item.id)">{{item.name}}</tn-list-cell>
|
||||||
</block>
|
</block>
|
||||||
</tn-list-view>
|
</tn-list-view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -83,4 +83,4 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -18,7 +18,7 @@
|
||||||
<tn-list-view :card="true" unlined="all">
|
<tn-list-view :card="true" unlined="all">
|
||||||
<block v-for="(item, index) in list" :key="index">
|
<block v-for="(item, index) in list" :key="index">
|
||||||
<tn-list-cell padding="36rpx" :arrow="true"
|
<tn-list-cell padding="36rpx" :arrow="true"
|
||||||
@click="openUrl('/pages/index/policy_info?id='+item.id)">{{item.article_title}}</tn-list-cell>
|
@click="openUrl('/pages/packageA/info/policy_info?id='+item.id)">{{item.article_title}}</tn-list-cell>
|
||||||
</block>
|
</block>
|
||||||
</tn-list-view>
|
</tn-list-view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -87,4 +87,4 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -202,7 +202,7 @@
|
||||||
console.log(info);
|
console.log(info);
|
||||||
return {
|
return {
|
||||||
title: this.userThisInfo.nikename,
|
title: this.userThisInfo.nikename,
|
||||||
path: '/pages/index/my_card?id=' + this.userThisInfo.member_id + '&gid=' + this.userThisInfo
|
path: '/pages/packageA/user/my_card?id=' + this.userThisInfo.member_id + '&gid=' + this.userThisInfo
|
||||||
.association_id,
|
.association_id,
|
||||||
imageUrl: this.apiImgUrl + this.userThisInfo.photo_image
|
imageUrl: this.apiImgUrl + this.userThisInfo.photo_image
|
||||||
}
|
}
|
||||||
|
@ -210,7 +210,7 @@
|
||||||
onShareTimeline() { // 分享到朋友圈
|
onShareTimeline() { // 分享到朋友圈
|
||||||
return {
|
return {
|
||||||
title: this.userThisInfo.nikename,
|
title: this.userThisInfo.nikename,
|
||||||
path: '/pages/index/my_card?id=' + this.userThisInfo.member_id + '&gid=' + this.userThisInfo
|
path: '/pages/packageA/user/my_card?id=' + this.userThisInfo.member_id + '&gid=' + this.userThisInfo
|
||||||
.association_id,
|
.association_id,
|
||||||
imageUrl: this.apiImgUrl + this.userThisInfo.photo_image
|
imageUrl: this.apiImgUrl + this.userThisInfo.photo_image
|
||||||
}
|
}
|
||||||
|
@ -585,4 +585,4 @@
|
||||||
-webkit-line-clamp: 10;
|
-webkit-line-clamp: 10;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -15,7 +15,7 @@
|
||||||
</tn-nav-bar>
|
</tn-nav-bar>
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||||
<view v-for="(item,index) in list" :key="index" class="wallpaper-shadow tn-margin tn-padding">
|
<view v-for="(item,index) in list" :key="index" class="wallpaper-shadow tn-margin tn-padding">
|
||||||
<view @click="tn('/pages/index/my_card?id='+item.id)"
|
<view @click="tn('/pages/packageA/user/my_card?id='+item.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">
|
||||||
|
@ -95,4 +95,4 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -78,14 +78,14 @@
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
return {
|
return {
|
||||||
title: this.userInfo.nikename + '邀请你加入【' + this.userInfo.association_name + '】',
|
title: this.userInfo.nikename + '邀请你加入【' + this.userInfo.association_name + '】',
|
||||||
path: '/pages/index/apply_in?id=' + this.uid + "&association_id=" + this.userInfo.association_id,
|
path: '/pages/packageA/user/apply_in?id=' + this.uid + "&association_id=" + this.userInfo.association_id,
|
||||||
imageUrl: this.apiImgUrl + this.userInfo.association_image,
|
imageUrl: this.apiImgUrl + this.userInfo.association_image,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareTimeline() { // 分享到朋友圈
|
onShareTimeline() { // 分享到朋友圈
|
||||||
return {
|
return {
|
||||||
title: this.userInfo.nikename + '邀请你加入【' + this.userInfo.association_name + '】',
|
title: this.userInfo.nikename + '邀请你加入【' + this.userInfo.association_name + '】',
|
||||||
path: '/pages/index/apply_in?id=' + this.uid + "&association_id=" + this.userInfo.association_id,
|
path: '/pages/packageA/user/apply_in?id=' + this.uid + "&association_id=" + this.userInfo.association_id,
|
||||||
imageUrl: this.apiImgUrl + this.userInfo.association_image,
|
imageUrl: this.apiImgUrl + this.userInfo.association_image,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -224,4 +224,4 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 标签内容 end*/
|
/* 标签内容 end*/
|
||||||
</style>
|
</style>
|
|
@ -0,0 +1,172 @@
|
||||||
|
<template>
|
||||||
|
<view class="message tn-safe-area-inset-bottom">
|
||||||
|
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||||
|
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||||
|
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||||
|
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||||
|
</view>
|
||||||
|
<view class="tn-margin-top"
|
||||||
|
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||||
|
<tn-tabs :list="[{name:'会员卡'}]" activeColor="#000" :bold="false" :fontSize="36"></tn-tabs>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</tn-nav-bar>
|
||||||
|
<view class="" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||||
|
<view style="text-align: center;padding: 30rpx;">
|
||||||
|
<tn-button backgroundColor="#01BEFF" @click="openQrcode" fontColor="#ffffff">出示二维码</tn-button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<tn-tabs :list="list" :isScroll="true" :activeItemStyle="{fontSize:'30rpx',fontWeight:'600'}"
|
||||||
|
activeColor="#3377FF" :current="current" name="type_name" @change="change" :fontSize="28"></tn-tabs>
|
||||||
|
<view style="padding: 30rpx;">
|
||||||
|
<view v-for="(item,index) in sp_list" style="position: relative;"
|
||||||
|
@click="tn('/pages/packageA/user/my_vip_info?id='+item.id)">
|
||||||
|
<view class="tn-flex tn-flex-col-center tn-flex-row-between"
|
||||||
|
style="background-color: #ffffff;padding:50rpx 30rpx;border-radius: 15rpx;margin-bottom: 20rpx;">
|
||||||
|
<view class="tn-flex tn-flex-col-center">
|
||||||
|
<view>
|
||||||
|
<image :src="item.business_image==''?'/static/def.png':apiImgUrl+item.business_image"
|
||||||
|
style="width: 100rpx;height: 100rpx;border-radius: 50%;">
|
||||||
|
</image>
|
||||||
|
</view>
|
||||||
|
<view style="margin-left: 20rpx;">
|
||||||
|
<view style="font-size: 31rpx;font-weight: 600;letter-spacing: 5rpx;">{{item.business_name}}
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 24rpx;color: #808080;margin-top: 15rpx;">地址:{{item.address}}</view>
|
||||||
|
<view style="font-size: 24rpx;color: #808080;margin-top: 15rpx;">电话:{{item.telephone}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="width: 200rpx;text-align: right;">
|
||||||
|
<tn-button backgroundColor="#3377FF" size="sm" shape="round" fontColor="#ffffff">查看</tn-button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<!-- <view
|
||||||
|
style="font-size: 20rpx;color: #43A9F8;background-color: #CAE5FF;position: absolute;top: 0;right: 0;border-radius: 0px 15rpx 0px 15rpx;padding:10rpx 10rpx;">
|
||||||
|
<text class="tn-icon-success-circle-fill" style="vertical-align: middle;"></text>
|
||||||
|
<text style="vertical-align: middle;margin-left: 5rpx;">已认证</text>
|
||||||
|
</view> -->
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<tn-popup v-if="show" :closeBtn="true" v-model="show" mode="center" width="500rpx" height="600rpx">
|
||||||
|
<view style="text-align: center;padding: 30rpx 0rpx;font-size: 32rpx;font-weight: 600;">核销二维码</view>
|
||||||
|
<view style="text-align: center;width: 300rpx;margin:0rpx auto;">
|
||||||
|
<l-painter ref="painter" css="background: #fff;width: 300rpx;text-align: center;">
|
||||||
|
<l-painter-qrcode :text="qrcode_url" css="width: 300rpx; height: 300rpx" />
|
||||||
|
</l-painter>
|
||||||
|
</view>
|
||||||
|
<view style="text-align: center;margin-top: 50rpx;">
|
||||||
|
<tn-button @click="show= false" shape="round" width="80%" backgroundColor="#3F8BF2"
|
||||||
|
fontColor="#ffffff">关闭</tn-button>
|
||||||
|
</view>
|
||||||
|
</tn-popup>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
businesstypeList,
|
||||||
|
businessList
|
||||||
|
} from "@/util/api";
|
||||||
|
import store from "@/store";
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
current: 0,
|
||||||
|
show: false,
|
||||||
|
qrcode_url: '',
|
||||||
|
list: [],
|
||||||
|
page: 1,
|
||||||
|
type: 0,
|
||||||
|
apiImgUrl: this.$store.state.imgUrl,
|
||||||
|
sp_list: []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.getbusinesstypeList();
|
||||||
|
this.getbusinessList();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
change(d) {
|
||||||
|
this.current = d;
|
||||||
|
var info = this.list[d];
|
||||||
|
this.type = info.id;
|
||||||
|
this.page = 1;
|
||||||
|
this.sp_list = [];
|
||||||
|
this.getbusinessList();
|
||||||
|
},
|
||||||
|
getbusinessList() {
|
||||||
|
var u = uni.getStorageSync('userInfo');
|
||||||
|
businessList({
|
||||||
|
business_type: this.type,
|
||||||
|
association_id: u.association_id,
|
||||||
|
page: this.page,
|
||||||
|
size: 10,
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
console.log(res);
|
||||||
|
if (res.code == 1) {
|
||||||
|
this.sp_list.push(...res.data.list);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
uni.showToast({
|
||||||
|
title: error,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getbusinesstypeList() {
|
||||||
|
businesstypeList()
|
||||||
|
.then(res => {
|
||||||
|
console.log(res);
|
||||||
|
if (res.code == 1) {
|
||||||
|
var key = res.data;
|
||||||
|
key.unshift({
|
||||||
|
id: 0,
|
||||||
|
type_name: '全部'
|
||||||
|
});
|
||||||
|
this.list = res.data;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
uni.showToast({
|
||||||
|
title: error,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
})
|
||||||
|
},
|
||||||
|
openQrcode() {
|
||||||
|
var u = uni.getStorageSync('userInfo');
|
||||||
|
this.qrcode_url = store.state.apiUrl + "?type=2&key=123456789-" + u.id + "-" + u.association_id + "";
|
||||||
|
setTimeout(() => {
|
||||||
|
this.show = true;
|
||||||
|
}, 500)
|
||||||
|
},
|
||||||
|
tn(e) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: e
|
||||||
|
})
|
||||||
|
},
|
||||||
|
goBack() {
|
||||||
|
if (getCurrentPages().length > 1) {
|
||||||
|
uni.navigateBack()
|
||||||
|
} else {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
page {
|
||||||
|
background-color: aliceblue;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -0,0 +1,170 @@
|
||||||
|
<template>
|
||||||
|
<view class="message tn-safe-area-inset-bottom">
|
||||||
|
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||||
|
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||||
|
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||||
|
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||||
|
</view>
|
||||||
|
<view class="tn-margin-top"
|
||||||
|
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||||
|
<tn-tabs :list="[{name:'店员管理'}]" activeColor="#000" :bold="false" :fontSize="36"></tn-tabs>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</tn-nav-bar>
|
||||||
|
<view class="" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||||
|
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between" style="padding: 30rpx;">
|
||||||
|
<view>当前店铺:</view>
|
||||||
|
<view @click="select_show = true">
|
||||||
|
<text>123456</text>
|
||||||
|
<text class="tn-icon-down-triangle"></text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<tn-select v-model="select_show" mode="single" :list="select_list"></tn-select>
|
||||||
|
<view style="text-align: center;padding: 30rpx;">
|
||||||
|
<tn-button backgroundColor="#01BEFF" @click="addClerkShow = true" fontColor="#ffffff">添加店员</tn-button>
|
||||||
|
</view>
|
||||||
|
<view style="margin: 20rpx;font-size: 35rpx;font-weight: 600;">在职店员</view>
|
||||||
|
<view class="tn-flex tn-flex-center tn-flex-row-between" style="padding: 30rpx;">
|
||||||
|
<view class="tn-flex tn-flex-center tn-flex-col-center">
|
||||||
|
<view style="font-size: 30rpx;font-weight: 600;">李白</view>
|
||||||
|
<view style="margin-left: 20rpx;">1800000000</view>
|
||||||
|
<view style="margin-left: 20rpx;">
|
||||||
|
<tn-tag size="sm" backgroundColor="#FF7043" width="80rpx" shape="circle"
|
||||||
|
fontColor="#ffffff">未绑定</tn-tag>
|
||||||
|
<tn-tag size="sm" backgroundColor="#28B93D" width="80rpx" shape="circle"
|
||||||
|
fontColor="#ffffff">已绑定</tn-tag>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<tn-button backgroundColor="#E83A30" size="sm" shape="round" fontColor="#ffffff">删除</tn-button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<tn-popup v-if="addClerkShow" :closeBtn="true" v-model="addClerkShow" mode="center" width="500rpx">
|
||||||
|
<view style="text-align: center;padding: 30rpx 0rpx;font-size: 32rpx;font-weight: 600;">添加店员</view>
|
||||||
|
<view style="text-align: center;width: 400rpx;margin:0rpx auto;">
|
||||||
|
<tn-form :model="formAdd" ref="form" labelWidth="120">
|
||||||
|
<tn-form-item label="姓名" prop="name">
|
||||||
|
<tn-input v-model="formAdd.clerk_name" :clearable="false" />
|
||||||
|
</tn-form-item>
|
||||||
|
<tn-form-item label="手机号" prop="intro">
|
||||||
|
<tn-input v-model="formAdd.phone" :clearable="false" />
|
||||||
|
</tn-form-item>
|
||||||
|
</tn-form>
|
||||||
|
</view>
|
||||||
|
<view style="text-align: center;margin-top: 50rpx;padding-bottom: 50rpx;">
|
||||||
|
<tn-button shape="round" width="80%" backgroundColor="#3F8BF2" fontColor="#ffffff">确定</tn-button>
|
||||||
|
</view>
|
||||||
|
</tn-popup>
|
||||||
|
<tn-modal v-model="show" :title="title" :content="content" :button="button" @click="dian"></tn-modal>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
clerkListByBusiness,
|
||||||
|
addClerk
|
||||||
|
} from "@/util/api";
|
||||||
|
import store from "@/store";
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
show: false,
|
||||||
|
title: '提示信息',
|
||||||
|
content: '确定要删除店员吗?',
|
||||||
|
button: [{
|
||||||
|
text: '取消',
|
||||||
|
backgroundColor: '#F4F4F4',
|
||||||
|
fontColor: '#000000',
|
||||||
|
plain: true,
|
||||||
|
shape: 'round'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '确定',
|
||||||
|
backgroundColor: '#548ceb',
|
||||||
|
fontColor: '#FFFFFF'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
addClerkShow: false,
|
||||||
|
formAdd: {
|
||||||
|
phone: '',
|
||||||
|
clerk_name: '',
|
||||||
|
},
|
||||||
|
select_show: false,
|
||||||
|
select_list: [{
|
||||||
|
value: '1',
|
||||||
|
label: 'A'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '2',
|
||||||
|
label: 'B'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '3',
|
||||||
|
label: 'C'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
list: []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
add() {
|
||||||
|
addClerk({
|
||||||
|
business_id: d.code,
|
||||||
|
...formAdd
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
console.log(res);
|
||||||
|
if (res.code == 1) {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
uni.showToast({
|
||||||
|
title: error,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
})
|
||||||
|
},
|
||||||
|
del() {
|
||||||
|
|
||||||
|
},
|
||||||
|
dian(d) {
|
||||||
|
console.log(d);
|
||||||
|
},
|
||||||
|
getList() {
|
||||||
|
clerkListByBusiness({
|
||||||
|
business_id: d.code,
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
console.log(res);
|
||||||
|
if (res.code == 1) {
|
||||||
|
this.list = res.data;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
uni.showToast({
|
||||||
|
title: error,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
})
|
||||||
|
},
|
||||||
|
goBack() {
|
||||||
|
if (getCurrentPages().length > 1) {
|
||||||
|
uni.navigateBack()
|
||||||
|
} else {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
|
@ -0,0 +1,123 @@
|
||||||
|
<template>
|
||||||
|
<view class="message tn-safe-area-inset-bottom">
|
||||||
|
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
|
||||||
|
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
|
||||||
|
<view style="padding-left: 15rpx;" @click="goBack()">
|
||||||
|
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
|
||||||
|
</view>
|
||||||
|
<view class="tn-margin-top"
|
||||||
|
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
|
||||||
|
<tn-tabs :list="[{name:'商家详情'}]" activeColor="#000" :bold="false" :fontSize="36"></tn-tabs>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</tn-nav-bar>
|
||||||
|
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||||
|
<view style="padding: 30rpx;">
|
||||||
|
<view class="tn-flex tn-flex-col-center tn-flex-row-between"
|
||||||
|
style="background-color: #ffffff;padding:50rpx 30rpx;border-radius: 15rpx;margin-bottom: 20rpx;">
|
||||||
|
<view class="tn-flex tn-flex-col-center">
|
||||||
|
<view>
|
||||||
|
<image :src="info.business_image==''?'/static/def.png':apiImgUrl+info.business_image"
|
||||||
|
style="width: 100rpx;height: 100rpx;border-radius: 50%;">
|
||||||
|
</image>
|
||||||
|
</view>
|
||||||
|
<view style="margin-left: 20rpx;">
|
||||||
|
<view style="font-size: 31rpx;font-weight: 600;letter-spacing: 5rpx;">{{info.business_name}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 24rpx;color: #808080;margin-top: 15rpx;" @click="openLoca()">
|
||||||
|
<text>地址:{{info.address}}</text>
|
||||||
|
<text class="tn-icon-location" style="margin-left: 10rpx;color:#3377FF"></text>
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 24rpx;color: #808080;margin-top: 15rpx;" @click="openTel()">
|
||||||
|
<text>电话:{{info.telephone}}</text>
|
||||||
|
<text class="tn-icon-tel-circle" style="margin-left: 10rpx;color:#3377FF"></text>
|
||||||
|
</view>
|
||||||
|
<view style="margin-top: 30rpx;font-size: 30rpx;font-weight: 600;">商家介绍</view>
|
||||||
|
<view style="margin-top: 20rpx;" v-html="info.introduction"></view>
|
||||||
|
<view style="margin-top: 30rpx;font-size: 30rpx;font-weight: 600;">活动介绍</view>
|
||||||
|
<view style="margin-top: 20rpx;" v-html="info.activity_content"></view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
businessFind
|
||||||
|
} from "@/util/api";
|
||||||
|
import store from "@/store";
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
info: {},
|
||||||
|
apiImgUrl: this.$store.state.imgUrl,
|
||||||
|
id: 0,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(data) {
|
||||||
|
this.id = data.id;
|
||||||
|
this.getbusinessFind();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
openLoca() {
|
||||||
|
uni.openLocation({
|
||||||
|
latitude: parseFloat(this.info.address_latitude),
|
||||||
|
longitude: parseFloat(this.info.address_longitude),
|
||||||
|
name: this.info.business_name,
|
||||||
|
success: function() {
|
||||||
|
console.log('success');
|
||||||
|
},
|
||||||
|
fail: function(res) {
|
||||||
|
console.log(res);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
openTel() {
|
||||||
|
uni.makePhoneCall({
|
||||||
|
phoneNumber: this.info.telephone, // 电话号码
|
||||||
|
success: function() {
|
||||||
|
console.log('拨打电话成功');
|
||||||
|
},
|
||||||
|
fail: function() {
|
||||||
|
console.log('拨打电话失败');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getbusinessFind() {
|
||||||
|
businessFind({
|
||||||
|
id: this.id,
|
||||||
|
})
|
||||||
|
.then(res => {
|
||||||
|
console.log(res);
|
||||||
|
if (res.code == 1) {
|
||||||
|
this.info = res.data;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
uni.showToast({
|
||||||
|
title: error,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
});
|
||||||
|
})
|
||||||
|
},
|
||||||
|
goBack() {
|
||||||
|
if (getCurrentPages().length > 1) {
|
||||||
|
uni.navigateBack()
|
||||||
|
} else {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
|
@ -329,7 +329,7 @@
|
||||||
} else {
|
} else {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/index/event_info?id=' + res.data
|
url: '/pages/packageB/event/event_info?id=' + res.data
|
||||||
})
|
})
|
||||||
}, 1000)
|
}, 1000)
|
||||||
}
|
}
|
||||||
|
@ -428,7 +428,7 @@
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: '/pages/index/event_info?id=' + that
|
url: '/pages/packageB/event/event_info?id=' + that
|
||||||
.addID
|
.addID
|
||||||
})
|
})
|
||||||
}, 500)
|
}, 500)
|
||||||
|
@ -508,4 +508,4 @@
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -32,7 +32,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-for="item in all_list"
|
<view v-for="item in all_list"
|
||||||
@click="openUrl('/pages/index/user_auditing_info?id='+item.id+'&type='+item.type)"
|
@click="openUrl('/pages/packageA/user/user_auditing_info?id='+item.id+'&type='+item.type)"
|
||||||
style="margin-bottom: 30rpx;box-shadow: 0rpx 10rpx 10rpx #d2e0f2;background: #ffffff;border-radius: 20rpx;padding: 30rpx 20rpx;position: relative;">
|
style="margin-bottom: 30rpx;box-shadow: 0rpx 10rpx 10rpx #d2e0f2;background: #ffffff;border-radius: 20rpx;padding: 30rpx 20rpx;position: relative;">
|
||||||
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between">
|
<view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between">
|
||||||
<view>
|
<view>
|
||||||
|
@ -255,4 +255,4 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -222,7 +222,7 @@
|
||||||
</tn-nav-bar>
|
</tn-nav-bar>
|
||||||
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
||||||
<view v-if="info.list.length!=0" class="tn-flex tn-flex-center tn-flex-col-center"
|
<view v-if="info.list.length!=0" class="tn-flex tn-flex-center tn-flex-col-center"
|
||||||
v-for="(item,index) in info.list" @click="openUrl('/pages/index/my_card?id='+item.id)"
|
v-for="(item,index) in info.list" @click="openUrl('/pages/packageA/user/my_card?id='+item.id)"
|
||||||
style="margin-top: 20rpx;padding: 20rpx;">
|
style="margin-top: 20rpx;padding: 20rpx;">
|
||||||
<view>
|
<view>
|
||||||
<image :src="apiImgUrl+item.photo_image"
|
<image :src="apiImgUrl+item.photo_image"
|
||||||
|
@ -315,14 +315,14 @@
|
||||||
// 更多参数配置,参考文档
|
// 更多参数配置,参考文档
|
||||||
return {
|
return {
|
||||||
title: this.info.activity_name,
|
title: this.info.activity_name,
|
||||||
path: '/pages/index/event_info?id=' + this.info.id + "&gid=" + store.state.Gid,
|
path: '/pages/packageB/event/event_info?id=' + this.info.id + "&gid=" + store.state.Gid,
|
||||||
imageUrl: this.apiImgUrl + this.info.activity_image,
|
imageUrl: this.apiImgUrl + this.info.activity_image,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareTimeline() { // 分享到朋友圈
|
onShareTimeline() { // 分享到朋友圈
|
||||||
return {
|
return {
|
||||||
title: this.info.activity_name,
|
title: this.info.activity_name,
|
||||||
path: '/pages/index/event_info?id=' + this.info.id + "&gid=" + store.state.Gid,
|
path: '/pages/packageB/event/event_info?id=' + this.info.id + "&gid=" + store.state.Gid,
|
||||||
imageUrl: this.apiImgUrl + this.info.activity_image,
|
imageUrl: this.apiImgUrl + this.info.activity_image,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -616,4 +616,4 @@
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -72,14 +72,14 @@
|
||||||
// 更多参数配置,参考文档
|
// 更多参数配置,参考文档
|
||||||
return {
|
return {
|
||||||
title: this.info.news_title,
|
title: this.info.news_title,
|
||||||
path: '/pages/index/new_info?id=' + this.info.news_id + '&gid=' + this.info.association_id,
|
path: '/pages/packageB/news/new_info?id=' + this.info.news_id + '&gid=' + this.info.association_id,
|
||||||
imageUrl: this.apiImgUrl + this.info.news_image,
|
imageUrl: this.apiImgUrl + this.info.news_image,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareTimeline() { // 分享到朋友圈
|
onShareTimeline() { // 分享到朋友圈
|
||||||
return {
|
return {
|
||||||
title: this.info.news_title,
|
title: this.info.news_title,
|
||||||
path: '/pages/index/new_info?id=' + this.info.news_id + '&gid=' + this.info.association_id,
|
path: '/pages/packageB/news/new_info?id=' + this.info.news_id + '&gid=' + this.info.association_id,
|
||||||
imageUrl: this.apiImgUrl + this.info.news_image,
|
imageUrl: this.apiImgUrl + this.info.news_image,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -124,4 +124,4 @@
|
||||||
.ks_html img {
|
.ks_html img {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
12
util/api.js
12
util/api.js
|
@ -60,4 +60,14 @@ export const activityAdd = data => request.post('/move/activity/activityAdd', da
|
||||||
|
|
||||||
export const wxphoneLogin = data => request.post('/move/login/wxphone', data, false);
|
export const wxphoneLogin = data => request.post('/move/login/wxphone', data, false);
|
||||||
|
|
||||||
export const activitySign = data => request.post('/move/activity_sign/index ', data, false);
|
export const activitySign = data => request.post('/move/activity_sign/index', data, false);
|
||||||
|
|
||||||
|
export const businesstypeList = data => request.post('/move/business/businesstypeList', data, false);
|
||||||
|
|
||||||
|
export const businessList = data => request.post('/move/business/businessList', data, false);
|
||||||
|
|
||||||
|
export const businessFind = data => request.post('/move/business/businessFind', data, false);
|
||||||
|
|
||||||
|
export const clerkListByBusiness = data => request.post('/move/business/getClerkListByBusinessId', data, false);
|
||||||
|
|
||||||
|
export const addClerk = data => request.post('/move/business/addClerk', data, false);
|
Loading…
Reference in New Issue