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

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