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

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