workbench.vue
6.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<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>
<view class="main">
<view class="bg-white">
<view class="bidding-title"><view class="bidding-title-line"></view>招商服务</view>
<view class="wallet-info">
<view class="list" @click="questionnaire">
<view class="icon">
<image :src="$imgUrl('/workbench1.png')"></image>
</view>
<view class="title">
<text>问卷调查</text>
</view>
</view>
<view class="list" @click="Iproposal">
<view class="icon">
<image :src="$imgUrl('/workbench2.png')"></image>
</view>
<view class="title">
<text>招商方案</text>
</view>
</view>
<view class="list" @click='participation'>
<view class="icon">
<image :src="$imgUrl('/workbench3.png')"></image>
</view>
<view class="title">
<text>活动参与</text>
</view>
</view>
<view class="list" @click="activityAdd">
<view class="icon">
<image :src="$imgUrl('/workbench4.png')"></image>
</view>
<view class="title">
<text>活动申请</text>
</view>
</view>
<view class="list" @click="sales">
<view class="icon">
<image :src="$imgUrl('/workbench5.png')"></image>
</view>
<view class="title">
<text>销售上报</text>
</view>
</view>
</view>
</view>
<view class="bg-white">
<view class="bidding-title"><view class="bidding-title-line"></view>推广策划</view>
<view class="wallet-info">
<view class="list">
<view class="icon" @click='popularize(1)'>
<image :src="$imgUrl('/workbench2.png')" ></image>
</view>
<view class="title">
<text>推广方案申请</text>
</view>
</view>
<view class="list">
<view class="icon" @click='popularize(2)'>
<image :src="$imgUrl('/workbench7.png')"></image>
</view>
<view class="title">
<text>推广方案管理</text>
</view>
</view>
<view class="list">
<view class="icon">
<image :src="$imgUrl('/workbench8.png')"></image>
</view>
<view class="title">
<text>效果查看</text>
</view>
</view>
</view>
</view>
<view class="bg-white">
<view class="bidding-title"><view class="bidding-title-line"></view>在线商城</view>
<view class="wallet-info">
<!-- <view class="list">
<view class="icon">
<image src="../../static/workbench9.png"></image>
</view>
<view class="title">
<text>新增商品</text>
</view>
</view> -->
<view class="list" @click="order">
<view class="icon">
<image :src="$imgUrl('/workbench10.png')"></image>
</view>
<view class="title">
<text>订单查询</text>
</view>
</view>
<!-- <view class="list">
<view class="icon">
<image src="../../static/workbench11.png"></image>
</view>
<view class="title">
<text>售后管理</text>
</view>
</view> -->
<!-- <view class="list">
<view class="icon">
<image src="../../static/workbench12.png"></image>
</view>
<view class="title">
<text>库存管理</text>
</view>
</view> -->
<view class="list" @click="salesSta">
<view class="icon">
<image :src="$imgUrl('/workbench15.png')"></image>
</view>
<view class="title">
<text>销售统计</text>
</view>
</view>
<!-- <view class="list">
<view class="icon">
<image src="../../static/workbench14.png"></image>
</view>
<view class="title">
<text>综合查询</text>
</view>
</view> -->
<!-- <view class="list">
<view class="icon">
<image src="../../static/workbench13.png"></image>
</view>
<view class="title">
<text>优惠券发放</text>
</view>
</view> -->
</view>
</view>
<view class="bg-white">
<view class="bidding-title"><view class="bidding-title-line"></view>支付服务</view>
<view class="wallet-info">
<view class="list">
<view class="icon">
<image :src="$imgUrl('/workbench16.png')"></image>
</view>
<view class="title">
<text>明细查询</text>
</view>
</view>
<view class="list">
<view class="icon">
<image :src="$imgUrl('/workbench7.png')"></image>
</view>
<view class="title">
<text>日志查询</text>
</view>
</view>
</view>
</view>
</view>
<!-- tabbar -->
<tabbar :tabBarShow="1"></tabbar>
</view>
</template>
<script>
import tabbar from '../../components/tabbar/tabbar.vue';
export default {
components: {
tabbar
},
data() {
return {
scrollTop: 0,
};
},
onReady() {
uni.hideTabBar()
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
},
methods: {
activityAdd(){
uni.navigateTo({
url: '/pages/activityAdd/activityAdd',
})
},
participation(){
uni.navigateTo({
url: '/pages/participation/participation',
})
},
questionnaire(){
uni.navigateTo({
url: '/pages/questionnaire/questionnaire',
})
},
sales(){
uni.navigateTo({
url: '/pages/salesReporting/salesReporting',
})
},
order(){
uni.navigateTo({
url: '/pages/orderList/orderList',
})
},
salesSta(){
uni.navigateTo({
url: '/pages/salesSta/salesSta',
})
},
Iproposal(){
uni.navigateTo({
url: '/pages/Iproposal/Iproposal',
})
},
popularize(val){
if(val ==1){
uni.navigateTo({
url: '/pages/application/application',
})
}else{
uni.navigateTo({
url: '/pages/projectManagement/projectManagement',
})
}
}
}
}
</script>
<style scoped lang="scss">
@import 'workbench.scss';
</style>