特易招,招聘小程序
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.

374 lines
8.5 KiB

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