3f535f30
杨鑫
'初始'
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<template>
<view class="page">
<view style="position: absolute; top: 0; width: 100%;">
<image :src="$imgUrl('/bg.png')" style="width: 100%; height: 490rpx;border-radius: 0 0 40rpx 40rpx;"></image></view>
<view class="my-top">
<view class="head" :style="'background-color: rgba(38,197,112,'+(scrollTop/50)+');'">
<view class="logo-title">
<image :src="$imgUrl('/logo.png')"></image>
</view>
<view class="title">
</view>
<view class="setting-mess"></view>
</view>
</view>
|
e3789a75
杨鑫
'最新'
|
16
|
<!-- <view class="main">
|
e5b57447
杨鑫
'分包问卷'
|
17
18
|
<view class="bg-white" v-for="item in pageList1" :key="item.id">
<view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view>
|
3f535f30
杨鑫
'初始'
|
19
|
<view class="wallet-info">
|
e5b57447
杨鑫
'分包问卷'
|
20
|
<view class="list" v-for="v in item.children" :key="v.name" @click="toPath(v.path)">
|
3f535f30
杨鑫
'初始'
|
21
|
<view class="icon">
|
e5b57447
杨鑫
'分包问卷'
|
22
|
<image :src="$imgUrl(`${v.img}`)"></image>
|
3f535f30
杨鑫
'初始'
|
23
24
|
</view>
<view class="title">
|
e5b57447
杨鑫
'分包问卷'
|
25
|
<text>{{v.name}}</text>
|
3f535f30
杨鑫
'初始'
|
26
27
28
29
|
</view>
</view>
</view>
</view>
|
e3789a75
杨鑫
'最新'
|
30
|
</view> -->
|
e5b57447
杨鑫
'分包问卷'
|
31
32
33
|
<view class="main">
<view class="bg-white" v-for="item in pageList2" :key="item.id">
<view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view>
|
3f535f30
杨鑫
'初始'
|
34
|
<view class="wallet-info">
|
e5b57447
杨鑫
'分包问卷'
|
35
|
<view class="list" v-for="v in item.children" :key="v.name" @click="toPath(v.path)">
|
3f535f30
杨鑫
'初始'
|
36
|
<view class="icon">
|
e5b57447
杨鑫
'分包问卷'
|
37
|
<image :src="$imgUrl(`${v.img}`)"></image>
|
3f535f30
杨鑫
'初始'
|
38
39
|
</view>
<view class="title">
|
e5b57447
杨鑫
'分包问卷'
|
40
|
<text>{{v.name}}</text>
|
3f535f30
杨鑫
'初始'
|
41
42
|
</view>
</view>
|
3f535f30
杨鑫
'初始'
|
43
44
|
</view>
</view>
|
e5b57447
杨鑫
'分包问卷'
|
45
46
47
48
|
</view>
<view class="main">
<view class="bg-white" v-for="item in pageList3" :key="item.id">
<view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view>
|
3f535f30
杨鑫
'初始'
|
49
|
<view class="wallet-info">
|
e5b57447
杨鑫
'分包问卷'
|
50
|
<view class="list" v-for="v in item.children" :key="v.name" @click="toPath(v.path)">
|
3f535f30
杨鑫
'初始'
|
51
|
<view class="icon">
|
e5b57447
杨鑫
'分包问卷'
|
52
|
<image :src="$imgUrl(`${v.img}`)"></image>
|
3f535f30
杨鑫
'初始'
|
53
54
|
</view>
<view class="title">
|
e5b57447
杨鑫
'分包问卷'
|
55
|
<text>{{v.name}}</text>
|
3f535f30
杨鑫
'初始'
|
56
57
58
59
60
|
</view>
</view>
</view>
</view>
</view>
|
e3789a75
杨鑫
'最新'
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
<view class="main">
<view class="bg-white" v-for="item in pageList4" :key="item.id">
<view class="bidding-title"><view class="bidding-title-line"></view>{{item.title}}</view>
<view class="wallet-info">
<view class="list" v-for="v in item.children" :key="v.name" @click="toPath(v.path)">
<view class="icon">
<image :src="$imgUrl(`${v.img}`)"></image>
</view>
<view class="title">
<text>{{v.name}}</text>
</view>
</view>
</view>
</view>
</view>
|
3f535f30
杨鑫
'初始'
|
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<!-- tabbar -->
<tabbar :tabBarShow="1"></tabbar>
</view>
</template>
<script>
import tabbar from '../../components/tabbar/tabbar.vue';
export default {
components: {
tabbar
},
data() {
return {
|
e5b57447
杨鑫
'分包问卷'
|
89
|
pageList1: [
|
e3789a75
杨鑫
'最新'
|
90
91
92
93
94
95
96
97
|
// {
// id: 1,
// title: '招商服务',
// children: [
// { name: '问卷调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' },
// { name: '意向申请', img: '/workbench5.png', path: '/pages/rsaManagement/rsaManagement' },
// ]
// },
|
e5b57447
杨鑫
'分包问卷'
|
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
// {
// id: 2,
// title: '推广策划',
// children: [
// { name: '推广方案申请', img: '/workbench2.png', path: '/pages/application/application' },
// { name: '推广方案管理', img: '/workbench7.png', path: '/pages/projectManagement/projectManagement' },
// { name: '效果查看', img: '/workbench8.png', path: '' },
// ]
// },
// {
// id: 3,
// title: '在线商城',
// children: [
// // { name: '新增商品', img: '/workbench9.png', path: '' },
// { name: '订单查询', img: '/workbench10.png', path: '/pages/orderList/orderList' },
// // { name: '售后管理', img: '/workbench11.png', path: '' },
// // { name: '库存管理', img: '/workbench12.png', path: '' },
// { name: '销售统计', img: '/workbench15.png', path: '/pages/salesSta/salesSta' },
// // { name: '综合查询', img: '/workbench14.png', path: '' },
// // { name: '优惠券发放', img: '/workbench13.png', path: '' },
// ]
// },
// {
// id: 4,
// title: '支付服务',
// children: [
// { name: '明细查询', img: '/workbench16.png', path: '' },
// { name: '日志查询', img: '/workbench7.png', path: '' },
// ]
// },
],
pageList2: [
{
id: 1,
|
e3789a75
杨鑫
'最新'
|
132
|
title: '活动与意向申请',
|
e5b57447
杨鑫
'分包问卷'
|
133
|
children: [
|
5ebff886
wesley88
1
|
134
|
{ name: '问卷调查', img: '/wjdc.png', path: '/pages/questionnaire/questionnaire' },
|
e5b57447
杨鑫
'分包问卷'
|
135
|
// { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' },
|
5ebff886
wesley88
1
|
136
137
138
|
{ name: '我的活动', img: '/wdhd.png', path: '/pages/participation/participation' },
{ name: '活动申请', img: '/hdsq.png', path: '/pages/mycreated/mycreated' },
{ name: '意向申请', img: '/yxsq.png', path: '/pages/rsaManagement/rsaManagement' },
|
e5b57447
杨鑫
'分包问卷'
|
139
140
141
142
143
144
145
146
147
148
149
150
|
]
},
],
pageList3: [
{
id: 1,
title: '销售上报与统计',
children: [
// { name: '文件调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' },
// { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' },
// { name: '我的活动', img: '/workbench3.png', path: '/pages/participation/participation' },
// { name: '活动申请', img: '/workbench4.png', path: '/pages/mycreated/mycreated' },
|
5ebff886
wesley88
1
|
151
152
|
{ name: '销售上报', img: '/xssb.png', path: '/pages/saleReport/saleReport' },
{ name: '销售统计', img: '/xstj.png', path: '/pages/salesReporting/salesReporting' },
|
e5b57447
杨鑫
'分包问卷'
|
153
154
155
|
]
},
],
|
e3789a75
杨鑫
'最新'
|
156
157
158
159
160
161
162
163
|
pageList4: [
{
id: 1,
title: '商铺缴费',
children: [
// { name: '文件调查', img: '/workbench1.png', path: '/pages/questionnaire/questionnaire' },
// { name: '招商方案', img: '/workbench2.png', path: '/pages/Iproposal/Iproposal' },
// { name: '我的活动', img: '/workbench3.png', path: '/pages/participation/participation' },
|
5ebff886
wesley88
1
|
164
165
|
// { name: '活动申请', img: '/wyjf.png', path: '/pages/mycreated/mycreated' },
{ name: '租金缴费', img: '/zjjf.png', path: '/pagesA/rentPay/rentPay' },
|
e3789a75
杨鑫
'最新'
|
166
167
168
|
]
},
],
|
3f535f30
杨鑫
'初始'
|
169
170
171
|
scrollTop: 0,
};
},
|
e5b57447
杨鑫
'分包问卷'
|
172
|
onShow() {
|
844aa73a
杨鑫
'最新'
|
173
174
175
176
177
178
179
180
|
const isLogin = uni.getStorageSync('token');
if (isLogin == '') {
// 如果未登录,跳转到登录页面
uni.navigateTo({
url: '/pages/login/login'
})
} else {
|
2067568a
杨鑫
'租金缴费'
|
181
|
this.$http.sendRequest('/cerePlatformMerchant/queryByPage', 'POST',{"pageSize":10,pageNumber:0,phone:uni.getStorageSync('user').phone}).then(res => {
|
60cd6339
杨鑫
'最新'
|
182
|
if(res.data.code == '20004' || res.data.code == '20003'){
|
844aa73a
杨鑫
'最新'
|
183
184
185
186
187
188
189
|
uni.navigateTo({
url: '/pages/login/login'
})
}
})
}
|
e5b57447
杨鑫
'分包问卷'
|
190
|
},
|
3f535f30
杨鑫
'初始'
|
191
192
193
194
195
196
197
|
onReady() {
uni.hideTabBar()
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
},
methods: {
|
e5b57447
杨鑫
'分包问卷'
|
198
|
toPath(path){
|
3f535f30
杨鑫
'初始'
|
199
|
uni.navigateTo({
|
e5b57447
杨鑫
'分包问卷'
|
200
|
url: path,
|
3f535f30
杨鑫
'初始'
|
201
202
|
})
},
|
3f535f30
杨鑫
'初始'
|
203
204
205
206
207
208
209
|
}
}
</script>
<style scoped lang="scss">
@import 'workbench.scss';
</style>
|