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

402 lines
8.9 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
9 months ago
11 months ago
11 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
9 months ago
11 months ago
9 months ago
11 months ago
11 months ago
9 months ago
11 months ago
9 months ago
11 months ago
11 months ago
11 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
9 months ago
11 months ago
9 months ago
9 months ago
9 months ago
11 months ago
11 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
9 months ago
11 months ago
10 months ago
11 months ago
9 months ago
11 months ago
9 months ago
11 months ago
9 months ago
11 months ago
11 months ago
9 months ago
11 months ago
9 months ago
9 months ago
9 months ago
9 months ago
11 months ago
9 months ago
11 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 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:null,
  198. }
  199. },
  200. onShow() {
  201. this.$store.commit('getUserInfo')
  202. //判断如果是登录状态则获取信息
  203. this.getUserCenterData();
  204. },
  205. methods: {
  206. headBtn() {
  207. let self = this
  208. uni.showModal({
  209. title: '演示切换角色之后的效果',
  210. success(res) {
  211. if (res.confirm) {
  212. self.$store.state.shop = !self.$store.state.shop
  213. }
  214. }
  215. })
  216. },
  217. // 联系客服按钮回调
  218. contactUs() {
  219. this.show = true
  220. },
  221. confirm() {
  222. this.show = false
  223. },
  224. cancle() {
  225. this.show = false
  226. },
  227. //获取个人中心基础信息的接口
  228. getUserCenterData(){
  229. this.$api('getUserCenterData',{}, res =>{
  230. if(res.code == 200){
  231. this.numInfo = res.result
  232. }
  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>