my.vue
6.11 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
250
<template>
<view class="page">
<customHead mode='searchNav' :title='headtitle'></customHead>
<view class="my-top">
<!-- 用户信息 -->
<view class="user-info">
<view class="portrait">
<image :src="userInfo.headIcon==null? '../../static/img/head.jpg':(BASE_URL+userinfo.headIcon)">
</image>
</view>
<view class="info">
<view class="nickname">
<text>{{userInfo.name || userInfo.accent}}</text>
</view>
<view class="rank">
<text>{{userInfo.accent}}</text>
</view>
</view>
<view class="user-right">
<image src="../../static/right.png"></image>
</view>
</view>
</view>
<view class="main">
<view class="my-banner" @click="GoFindWork">
<image src="../../static/my1.png" mode="widthFix"></image>
</view>
<view class="message-list">
<view class="titleall-box">
<view class="titleall-left">
<view class="titleall-left-line"></view>服务与工具
</view>
</view>
<view class="list" @click="GoFindWork">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon1.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>个人信息</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="GoOpinion">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon3.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>意见反馈</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="GetDetail('389271103194793221')">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon4.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>防骗指南</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="GetDetail('389270722012251397')">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon5.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>关于我们</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="GetDetail('389271127152657669')">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon6.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>合作单位</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="GetDetail('389271160438654213')">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon7.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>关注公众号</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" @click="Getlogin">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon1.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>退出</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list" v-if="false">
<view class="icon-data">
<view class="icon">
<image src="/static/my-icon8.png" mode=""></image>
</view>
<view class="data">
<view class="title">
<text>分享给朋友</text>
</view>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
</view>
<view class="my-phone">
<view>客服电话:654564</view>
<view>彭州市人社局监督电话:541516</view>
<view>备案号:6556121212</view>
</view>
</view>
<!-- tabbar -->
<TabBar :tabBarShow="3"></TabBar>
</view>
</template>
<script>
import BASE_URL from '@/common/config.js'
import service from '@/service/service.js'
import customHead from "@/components/xy-customhead/xy-customhead.vue";
import TabBar from '../../components/TabBar/TabBar.vue';
export default {
components: {
TabBar,
customHead
},
data() {
return {
BASE_URL,
headtitle: '铭钛招聘',
scrollTop: 0,
isHotline: false,
userInfo: {},
};
},
onReady() {
uni.hideTabBar();
},
onPageScroll(e) {
this.scrollTop = e.scrollTop;
},
onLoad() {
this.userInfo = service.getUser();
},
methods: {
Getlogin(){
uni.navigateTo({
url: '/pages/Login/index'
})
},
GoFindWork() {
uni.navigateTo({
url: '/pages/FindWord/FindWord'
})
},
GoOpinion() {
uni.navigateTo({
url: '/pages/Opinion/Opinion'
})
},
/**
* 详情页面
*/
GetDetail(id) {
uni.navigateTo({
url: '/pages/Detail/Detail?id=' + id,
})
},
/**
* 跳转点击
* @param {String} type 跳转类型
*/
onSkip(type) {
switch (type) {
case 'goods':
uni.navigateTo({
url: '/pages/GoodsDetails/GoodsDetails',
animationType: 'zoom-fade-out',
animationDuration: 200
})
break;
}
},
/**
* 用户信息点击
* @param {Number} type
*/
onUserInfo() {
uni.navigateTo({
url: '/pages/login/login'
})
}
}
}
</script>
<style scoped lang="scss">
@import 'my.scss';
</style>