特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

391 lines
9.1 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
4 months ago
4 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
4 months ago
6 months ago
4 months ago
4 months ago
6 months ago
4 months ago
4 months ago
6 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
6 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <view class="page">
  3. <navbar bgColor="#3796F8"/>
  4. <view class="head">
  5. <view class="headImage">
  6. <image :src="headImage" mode=""></image>
  7. </view>
  8. <view class="info">
  9. <view class="name">
  10. {{username}}
  11. <view>
  12. <uv-icon name="edit-pen" size="40rpx" color="#fff"></uv-icon>
  13. 修改资料
  14. </view>
  15. </view>
  16. <view class="tips">
  17. 手机号{{phone}}
  18. </view>
  19. <view>
  20. {{numInfo.vipType}}
  21. </view>
  22. </view>
  23. <!-- <view class="headBtn" @click="headBtn">
  24. 角色切换
  25. </view> -->
  26. <!-- <view class="setting">
  27. <uv-icon name="setting" size="40rpx"></uv-icon>
  28. </view> -->
  29. </view>
  30. <!-- 酒店 -->
  31. <view class="user">
  32. <!-- 实名认证 -->
  33. <view class="auth" v-if="numInfo.status != '1'" @click="$utils.navigateTo('/pages_order/auth/certification')">
  34. <uv-cell
  35. icon="setting-fill"
  36. title="完成实名认证,信息优先推荐!"
  37. value="去认证"
  38. isLink></uv-cell>
  39. </view>
  40. <view class="auth" v-else @click="$utils.navigateTo('/pages_order/auth/certification')">
  41. <uv-cell
  42. icon="setting-fill"
  43. title="您已完成认证!"
  44. value="去查看"
  45. isLink></uv-cell>
  46. </view>
  47. <!-- 轮播图 -->
  48. <view class="swipe">
  49. <uv-swiper
  50. :list="bannerList"
  51. indicator
  52. height="220rpx"
  53. keyName="image"></uv-swiper>
  54. </view>
  55. <view class="line">
  56. <view class="item"
  57. @click="$utils.navigateTo('/pages_order/mine/IntegralRecord')">
  58. <view class="">
  59. {{numInfo.integerNum}}
  60. </view>
  61. <view class="">
  62. 我的积分
  63. </view>
  64. </view>
  65. <!-- <view class="item">
  66. <view class="">
  67. 30000
  68. </view>
  69. <view class="">
  70. 临时积分
  71. </view>
  72. </view> -->
  73. <view class="item"
  74. @click="$utils.navigateTo('/pages_order/mine/collect')">
  75. <view class="">
  76. {{numInfo.scNum}}
  77. </view>
  78. <view class="">
  79. 我的收藏
  80. </view>
  81. </view>
  82. <view class="item"
  83. @click="$utils.navigateTo('/pages_order/mine/contactRecord')">
  84. <view class="">
  85. {{numInfo.lxNum}}
  86. </view>
  87. <view class="">
  88. 联系记录
  89. </view>
  90. </view>
  91. </view>
  92. <view class="line grid">
  93. <view class="title">
  94. 我的工作
  95. </view>
  96. <uv-grid :col="4" :border="false">
  97. <uv-grid-item
  98. v-if="!role"
  99. @click="$utils.navigateTo('/pages_order/work/addResume')">
  100. <image class="image" src="/static/image/center/a1.png" mode=""></image>
  101. <text class="grid-text">在线简历</text>
  102. </uv-grid-item>
  103. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/releaseWork')">
  104. <image class="image" src="/static/image/center/a1.png" mode=""></image>
  105. <text class="grid-text">{{ role ? '我的招工' : '我的找活'}}</text>
  106. </uv-grid-item>
  107. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/seeMy')">
  108. <image class="image" src="/static/image/center/a2.png" mode=""></image>
  109. <text class="grid-text">谁看过我</text>
  110. </uv-grid-item>
  111. </uv-grid>
  112. </view>
  113. <view class="line grid">
  114. <view class="title">
  115. 我的服务
  116. </view>
  117. <uv-grid :col="4" :border="false">
  118. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/MemberRecharge')">
  119. <image class="image" src="/static/image/center/1.png" mode=""></image>
  120. <text class="grid-text">会员充值</text>
  121. </uv-grid-item>
  122. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/GainPoints')">
  123. <image class="image" src="/static/image/center/4.png" mode=""></image>
  124. <text class="grid-text">获取积分</text>
  125. </uv-grid-item>
  126. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/IntegralRecord')">
  127. <image class="image" src="/static/image/center/5.png" mode=""></image>
  128. <text class="grid-text">积分记录</text>
  129. </uv-grid-item>
  130. <uv-grid-item @click="$utils.navigateTo('/pages_order/auth/certification')">
  131. <image class="image" src="/static/image/center/6.png" mode=""></image>
  132. <text class="grid-text">实名认证</text>
  133. </uv-grid-item>
  134. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/redeemCode')">
  135. <image class="image" src="/static/image/center/5.png" mode=""></image>
  136. <text class="grid-text">兑换码</text>
  137. </uv-grid-item>
  138. <uv-grid-item @click="$utils.redirectTo('/index/consult')">
  139. <image class="image" src="/static/image/center/6.png" mode=""></image>
  140. <text class="grid-text">考证咨询</text>
  141. </uv-grid-item>
  142. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/contract')">
  143. <image class="image" src="/static/image/center/5.png" mode=""></image>
  144. <text class="grid-text">电子合同</text>
  145. </uv-grid-item>
  146. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/promotion')">
  147. <image class="image" src="/static/image/center/5.png" mode=""></image>
  148. <text class="grid-text">面对面分享</text>
  149. </uv-grid-item>
  150. </uv-grid>
  151. </view>
  152. <view class="line grid">
  153. <view class="title">
  154. 设置与帮助
  155. </view>
  156. <uv-grid :col="4" :border="false">
  157. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/setting')">
  158. <image class="image" src="/static/image/center/setting.png" mode=""></image>
  159. <text class="grid-text">系统设置</text>
  160. </uv-grid-item>
  161. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/help')">
  162. <image class="image" src="/static/image/center/help.png" mode=""></image>
  163. <text class="grid-text">帮助与反馈</text>
  164. </uv-grid-item>
  165. <uv-grid-item @click="$utils.navigateTo('/pages_order/mine/about')">
  166. <image class="image" src="/static/image/center/message.png" mode=""></image>
  167. <text class="grid-text">关于本程序</text>
  168. </uv-grid-item>
  169. </uv-grid>
  170. </view>
  171. </view>
  172. <tabber select="3" />
  173. </view>
  174. </template>
  175. <script>
  176. import tabber from '@/components/base/tabbar.vue'
  177. import { mapState } from 'vuex'
  178. export default {
  179. components: {
  180. tabber,
  181. },
  182. computed: {
  183. ...mapState(['userInfo', 'role','banner',]),
  184. headImage(){
  185. return this.userInfo.headImage
  186. },
  187. username(){
  188. return this.userInfo.nickName
  189. },
  190. phone(){
  191. return this.userInfo.phone
  192. },
  193. bannerList(){
  194. return this.banner.filter(n => n.type == 1)
  195. },
  196. },
  197. data() {
  198. return {
  199. show: false,
  200. // bannerList: [
  201. // {
  202. // url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  203. // },
  204. // {
  205. // url: 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  206. // },
  207. // {
  208. // url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  209. // },
  210. // ],
  211. numInfo : {},
  212. }
  213. },
  214. onShow() {
  215. this.$store.commit('getUserInfo')
  216. this.$store.commit('getBanner')
  217. //判断如果是登录状态则获取信息
  218. this.getUserCenterData();
  219. },
  220. methods: {
  221. //获取个人中心基础信息的接口
  222. getUserCenterData(){
  223. this.$api('getUserCenterData',{}, res =>{
  224. if(res.code == 200){
  225. this.numInfo = res.result
  226. }
  227. })
  228. },
  229. }
  230. }
  231. </script>
  232. <style scoped lang="scss">
  233. .page {
  234. }
  235. image {
  236. width: 100%;
  237. height: 100%;
  238. }
  239. .head {
  240. display: flex;
  241. background-color: $uni-color;
  242. padding: 40rpx 20rpx;
  243. align-items: center;
  244. position: relative;
  245. color: #fff;
  246. padding-bottom: 70rpx;
  247. .headImage {
  248. width: 120rpx;
  249. height: 120rpx;
  250. // background-image: url(/static/image/center/3.png);
  251. background-size: 100% 100%;
  252. overflow: hidden;
  253. border-radius: 50%;
  254. margin-right: 40rpx;
  255. }
  256. .info {
  257. font-size: 28rpx;
  258. .name {
  259. font-size: 32rpx;
  260. display: flex;
  261. padding-bottom: 10rpx;
  262. view{
  263. display: flex;
  264. font-size: 20rpx;
  265. align-items: center;
  266. padding-left: 20rpx;
  267. }
  268. }
  269. .tips {
  270. font-size: 26rpx;
  271. color: #fff;
  272. }
  273. }
  274. // .headBtn {
  275. // margin-left: auto;
  276. // padding: 15rpx 20rpx;
  277. // background-color: $uni-color;
  278. // color: #fff;
  279. // border-radius: 20rpx;
  280. // margin-top: 50rpx;
  281. // }
  282. // .setting {
  283. // position: absolute;
  284. // right: 50rpx;
  285. // top: 50rpx;
  286. // }
  287. }
  288. .user {
  289. position: relative;
  290. padding-top: 30rpx;
  291. .auth{
  292. width: 690rpx;
  293. position: absolute;
  294. top: -50rpx;
  295. left: 30rpx;
  296. z-index: 99;
  297. overflow: hidden;
  298. background-color: #fff;
  299. border-radius: 20rpx;
  300. /deep/ text{
  301. font-size: 26rpx;
  302. }
  303. }
  304. .swipe{
  305. margin: 30rpx;
  306. border-radius: 20rpx;
  307. overflow: hidden;
  308. }
  309. .line {
  310. display: flex;
  311. background-color: #fff;
  312. margin-top: 20rpx;
  313. padding: 20rpx 0;
  314. margin: 30rpx;
  315. border-radius: 20rpx;
  316. overflow: hidden;
  317. .item {
  318. flex: 1;
  319. display: flex;
  320. flex-direction: column;
  321. justify-content: center;
  322. align-items: center;
  323. font-size: 24rpx;
  324. padding: 10rpx 0;
  325. view{
  326. padding: 5rpx 0;
  327. }
  328. }
  329. }
  330. .grid {
  331. flex-direction: column;
  332. font-size: 26rpx;
  333. padding: 20rpx;
  334. .title {
  335. margin-bottom: 30rpx;
  336. font-size: 28rpx;
  337. }
  338. .image {
  339. width: 45rpx;
  340. height: 45rpx;
  341. margin-bottom: 10rpx;
  342. }
  343. text {
  344. text-align: center;
  345. margin-bottom: 20rpx;
  346. }
  347. }
  348. }
  349. </style>