index.vue 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506
  1. <template>
  2. <view style="padding-bottom: 40rpx;">
  3. <!-- 用户端 -->
  4. <block v-if="userType==1">
  5. <view class="info flex justify-center">
  6. <view class="info-box">
  7. <view class="info-box-btn flex justify-end align-center" v-if="token && XCXIsSelect!='否'">
  8. <image src="../../static/images/my/icon/selectUser.png"
  9. style="width: 40rpx;height: 100%;margin-right: 40rpx;" mode="" @click="bindQe(userType)">
  10. </image>
  11. <!-- <image src="../../static/images/my/icon/set.png" style="width: 44rpx;height: 100%;" mode="">
  12. </image> -->
  13. </view>
  14. <view class="info-box-header flex justify-between align-center">
  15. <view style="width: 60%;height: 100%;" class="flex align-center">
  16. <view class="info-box-header-l">
  17. <image :src="avatar?avatar:'../../static/logo.png'" @click="goNav('/pages/my/userinfo')"
  18. mode=""></image>
  19. </view>
  20. <view class="info-box-header-r">
  21. <view class="info-box-header-r-name flex align-center"
  22. @click="goNav('/pages/my/userinfo')">
  23. <view class=""
  24. style="height:fit-content; overflow:hidden;white-space: nowrap;text-overflow: ellipsis;-o-text-overflow:ellipsis;">
  25. {{userName}}
  26. </view>
  27. <image v-if="isVip==true" src="../../static/images/my/isVip.png"
  28. style="margin-left: 10rpx;width: 80rpx;height: 30rpx;" mode=""></image>
  29. </view>
  30. <view v-if="token && XCXIsSelect!='否'" class="info-box-header-r-bj flex align-center"
  31. @click="goNav('/package/my/resume')">
  32. <u-icon name="edit-pen" color="#1D1D1D" size="28"></u-icon>
  33. 编辑简历
  34. </view>
  35. </view>
  36. </view>
  37. <view class="flex align-center" @click="currenStatus()" v-if="token && XCXIsSelect!='否'">
  38. <image src="../../static/images/my/rightLeft.png" style="width: 50rpx;height: 50rpx;"
  39. mode=""></image>
  40. {{resumesStatus==1?'离职-正在找工作':(resumesStatus==2?'在职-考虑机会':'在职-暂不考虑')}}
  41. </view>
  42. </view>
  43. <view class="info-box-num flex align-center justify-between" v-if="XCXIsSelect!='否'">
  44. <view class="info-box-num-td" @click="gojiLuList('/package/records/records','投递记录')">
  45. <view class="info-box-num-td-num">
  46. {{deliveryCount}}
  47. </view>
  48. <view class="info-box-num-td-name">
  49. 投递记录
  50. </view>
  51. </view>
  52. <view class="info-box-num-td" @click="gojiLuList('/package/records/records','浏览记录')">
  53. <view class="info-box-num-td-num">
  54. {{browseCount}}
  55. </view>
  56. <view class="info-box-num-td-name">
  57. 浏览记录
  58. </view>
  59. </view>
  60. <view class="info-box-num-td" @click="gojiLuList('/package/records/records','我的收藏')">
  61. <view class="info-box-num-td-num">
  62. {{collectionCount}}
  63. </view>
  64. <view class="info-box-num-td-name">
  65. 我的收藏
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <!-- vip -->
  72. <view class="vip flex justify-center" @click="goNav('/my/vip/index')" v-if="XCXIsSelect!='否'">
  73. <view class="vip-box">
  74. <image class="vip-box-bg" src="../../static/images/my/icon/vip.png" mode=""></image>
  75. <view class="vip-box-cont flex justify-center">
  76. <view class="flex justify-between align-center"
  77. style="width: 626rpx;z-index: 9;margin-top: 30rpx;">
  78. <view class="flex align-center">
  79. <image src="../../static/images/my/icon/vip2.png"
  80. style="width: 32rpx;height: 29rpx;margin-right: 5rpx;" mode=""></image>
  81. <image src="../../static/images/my/icon/vip3.png"
  82. style="width: 140rpx;height: 29rpx;margin-right: 20rpx;" mode=""></image>
  83. <text style="color: #914016;font-size: 24rpx;">开通享受特权找工作</text>
  84. </view>
  85. <view class="flex align-center"
  86. style="color: #914016;font-size: 24rpx;font-weight: bold;z-index: 999;margin-right: 10rpx;">
  87. {{isVip==true?'已开通':'去开通'}}
  88. <u-icon name="play-right-fill" color="#914016" size="18"></u-icon>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. <!-- 求职服务 -->
  95. <view class="jobServer flex justify-center" v-if="XCXIsSelect!='否'"
  96. :style="XCXIsSelect=='否'?'margin-top:30rpx':''">
  97. <view class="jobServer-box flex justify-center">
  98. <view class="jobServer-box-c">
  99. <view class="jobServer-box-title">
  100. 求职服务
  101. </view>
  102. <view class="jobServer-box-btn flex justify-between">
  103. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  104. @click="goNav('/package/my/resume')">
  105. <image src="../../static/images/my/icon/server1.png" mode=""></image>
  106. <view class="">
  107. 我的简历
  108. </view>
  109. </view>
  110. <view class="jobServer-box-btn-item flex justify-center flex-wrap" @click="refresh()">
  111. <image src="../../static/images/my/icon/server2.png" mode=""></image>
  112. <view class="">
  113. 简历刷新
  114. </view>
  115. </view>
  116. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  117. @click="goNav('/package/my/pingbi')">
  118. <image src="../../static/images/my/icon/server3.png" mode=""></image>
  119. <view class="">
  120. 屏蔽公司
  121. </view>
  122. </view>
  123. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  124. @click="goNav('/my/jilu/jiluUser')">
  125. <image src="../../static/images/my/icon/server4.png" mode=""></image>
  126. <view class="">
  127. 我的面试
  128. </view>
  129. </view>
  130. </view>
  131. </view>
  132. </view>
  133. </view>
  134. <!-- 更多工具 -->
  135. <view class="utils flex justify-center">
  136. <view class="utils-box flex justify-center">
  137. <view class="utils-box-c">
  138. <view class="utils-box-c-t flex justify-between align-center">
  139. <!-- <view class="flex justify-center flex-wrap" style="width: 102rpx;" @click="goNav('/package/my/resume')">
  140. <image src="../../static/images/my/icon/utils/utils1.png"
  141. style="width: 54rpx;height: 54rpx;" mode=""></image>
  142. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  143. 我的简历
  144. </view>
  145. </view> -->
  146. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  147. @click="goNavNoLogin('/pages/my/invitationUser')">
  148. <image src="../../static/images/my/icon/utils/utils2.png"
  149. style="width: 54rpx;height: 54rpx;" mode=""></image>
  150. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  151. 邀请好友
  152. </view>
  153. </view>
  154. <view v-if="XCXIsSelect!='否'" class="flex justify-center flex-wrap" style="width: 112rpx;"
  155. @click="goNavNoLogin('/my/setting/feedbackIndex')">
  156. <image src="../../static/images/my/icon/utils/help.png"
  157. style="width: 54rpx;height: 54rpx;" mode=""></image>
  158. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  159. 帮助中心
  160. </view>
  161. </view>
  162. <view class="flex justify-center flex-wrap" style="width: 112rpx;" @click="goChat">
  163. <image src="../../static/images/my/icon/utils/utils4.png"
  164. style="width: 54rpx;height: 54rpx;" mode=""></image>
  165. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  166. 联系客服
  167. </view>
  168. </view>
  169. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  170. @click="goNavNoLogin('/my/setting/mimi')">
  171. <image src="../../static/images/my/icon/utils/utils5.png"
  172. style="width: 54rpx;height: 54rpx;" mode=""></image>
  173. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  174. 隐私协议
  175. </view>
  176. </view>
  177. </view>
  178. <view class="utils-box-c-b flex justify-between align-center">
  179. <!-- <view class="flex justify-center flex-wrap" style="width: 112rpx;" @click="goNav('/my/setting/mimi')">
  180. <image src="../../static/images/my/icon/utils/utils5.png"
  181. style="width: 54rpx;height: 54rpx;" mode=""></image>
  182. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  183. 隐私协议
  184. </view>
  185. </view>
  186. <view class="flex justify-center flex-wrap" style="width: 112rpx;" @click="goNav('/my/setting/xieyi')">
  187. <image src="../../static/images/my/icon/utils/utils6.png"
  188. style="width: 54rpx;height: 54rpx;" mode=""></image>
  189. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  190. 用户协议
  191. </view>
  192. </view> -->
  193. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  194. @click="goNavNoLogin('/my/setting/xieyi')">
  195. <image src="../../static/images/my/icon/utils/utils6.png"
  196. style="width: 54rpx;height: 54rpx;" mode=""></image>
  197. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  198. 用户协议
  199. </view>
  200. </view>
  201. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  202. @click="goNavNoLogin('/my/setting/about')">
  203. <image src="../../static/images/my/icon/utils/utils7.png"
  204. style="width: 54rpx;height: 54rpx;" mode=""></image>
  205. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  206. 关于我们
  207. </view>
  208. </view>
  209. <view v-if="token" class="flex justify-center flex-wrap" style="width: 112rpx;"
  210. @click="goOut()">
  211. <image src="../../static/images/my/icon/utils/utils8.png"
  212. style="width: 54rpx;height: 54rpx;" mode=""></image>
  213. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  214. 退出登录
  215. </view>
  216. </view>
  217. <view class="flex justify-center flex-wrap" style="width: 112rpx;height: 0;" v-if="!token">
  218. </view>
  219. <view class="flex justify-center flex-wrap" style="width: 112rpx;height: 0;">
  220. </view>
  221. </view>
  222. </view>
  223. </view>
  224. </view>
  225. </block>
  226. <!-- 企业端 -->
  227. <block v-else>
  228. <view class="info flex justify-center">
  229. <view class="info-box">
  230. <view v-if="XCXIsSelect!='否'" class="info-box-btn flex justify-end align-center">
  231. <image src="../../static/images/my/icon/selectUser.png"
  232. style="width: 40rpx;height: 100%;margin-right: 40rpx;" @click="bindQe(userType)" mode="">
  233. </image>
  234. <!-- <image src="../../static/images/my/icon/set.png" style="width: 44rpx;height: 100%;" mode="">
  235. </image> -->
  236. </view>
  237. <view class="info-box-header flex align-center">
  238. <view class="info-box-header-l">
  239. <image :src="avatar?avatar:'../../static/logo.png'" @click="goNav('/pages/my/userinfo')"
  240. mode=""></image>
  241. </view>
  242. <view class="info-box-header-r">
  243. <view class="info-box-header-r-name flex align-center">
  244. {{userName}}
  245. <image v-if="isCompanyVip" style="margin-left: 10rpx;width: 80rpx;height: 30rpx;"
  246. src="../../static/images/my/isVip.png" mode=""></image>
  247. </view>
  248. <view v-if="XCXIsSelect!='否'" class="info-box-header-r-bj flex align-center"
  249. @click="goNav('/my/renzheng/index')">
  250. <u-icon name="edit-pen" color="#1D1D1D" size="28"></u-icon>
  251. 编辑企业信息
  252. </view>
  253. </view>
  254. </view>
  255. </view>
  256. </view>
  257. <!-- vip -->
  258. <view class="vip flex justify-center" @click="goNav('/my/vip/index')" v-if="XCXIsSelect!='否'">
  259. <view class="vip-box">
  260. <image class="vip-box-bg" src="../../static/images/my/icon/vip.png" mode=""></image>
  261. <view class="vip-box-cont flex justify-center">
  262. <view class="flex justify-between align-center"
  263. style="width: 626rpx;z-index: 9;margin-top: 30rpx;">
  264. <view class="flex align-center">
  265. <image src="../../static/images/my/icon/vip2.png"
  266. style="width: 32rpx;height: 29rpx;margin-right: 5rpx;" mode=""></image>
  267. <image src="../../static/images/my/icon/vip4.png"
  268. style="width: 140rpx;height: 29rpx;margin-right: 20rpx;" mode=""></image>
  269. <text style="color: #914016;font-size: 24rpx;">尊享超多特权</text>
  270. </view>
  271. <view class="flex align-center"
  272. style="color: #914016;font-size: 24rpx;font-weight: bold;z-index: 999;margin-right: 10rpx;">
  273. {{isCompanyVip==true?'已开通':'去开通'}}
  274. <u-icon name="play-right-fill" color="#914016" size="18"></u-icon>
  275. </view>
  276. </view>
  277. </view>
  278. </view>
  279. </view>
  280. <!-- 求职服务 -->
  281. <view class="jobServer flex justify-center" v-if="XCXIsSelect!='否'"
  282. :style="XCXIsSelect=='否'?'margin-top:30rpx':''">
  283. <view class="jobServer-box flex justify-center">
  284. <view class="jobServer-box-c">
  285. <view class="jobServer-box-title">
  286. 招聘服务
  287. </view>
  288. <view class="jobServer-box-btn flex justify-between">
  289. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  290. @click="goNavStatus('/package/addJob/addJob')">
  291. <image src="../../static/images/my/icon/server1.png" mode=""></image>
  292. <view class="">
  293. 发布招聘
  294. </view>
  295. </view>
  296. <view class="jobServer-box-btn-item flex justify-center flex-wrap" @click="refreshJob()">
  297. <image src="../../static/images/my/icon/server2.png" mode=""></image>
  298. <view class="">
  299. 招聘刷新
  300. </view>
  301. </view>
  302. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  303. @click="goNav('/my/renzheng/index')">
  304. <image src="../../static/images/my/icon/server3.png" mode=""></image>
  305. <view class="">
  306. 认证中心
  307. </view>
  308. </view>
  309. <view class="jobServer-box-btn-item flex justify-center flex-wrap"
  310. @click="goNav('/package/deliveryRecord/deliveryRecord')">
  311. <image src="../../static/images/my/icon/server4.png" mode=""></image>
  312. <view class="">
  313. 已投简历
  314. </view>
  315. </view>
  316. </view>
  317. </view>
  318. </view>
  319. </view>
  320. <!-- 我的钱包 -->
  321. <view class="money flex justify-center" v-if="XCXIsSelect!='否'">
  322. <view class="money-box flex justify-center align-center">
  323. <view class="money-box-c flex justify-between">
  324. <view class="money-box-c-l flex flex-wrap" @click="goNav('/my/wallet/wallet')">
  325. <view class="money-box-c-l-name">
  326. 我的钻石
  327. </view>
  328. <view class="money-box-c-l-price flex align-center">
  329. {{money}}
  330. <text style="margin-left: 10rpx;">钻石</text>
  331. </view>
  332. </view>
  333. <view class="money-box-c-r flex flex-wrap" @click="goNav('/my/gird/browse')">
  334. <view class="money-box-c-r-name">
  335. 浏览记录
  336. </view>
  337. <view class="money-box-c-r-more">
  338. 点击查看更多
  339. </view>
  340. </view>
  341. </view>
  342. </view>
  343. </view>
  344. <!-- 我的项目 -->
  345. <view class="jobServer flex justify-center" style="margin-top: 20rpx;" v-if="XCXIsSelect!='否'">
  346. <view class="jobServer-box flex justify-center">
  347. <view class="jobServer-box-c" @click="goNav('/my/order/index')">
  348. <view class="jobServer-box-title">
  349. 我的招聘
  350. </view>
  351. <view class="jobServer-box-btn flex justify-between">
  352. <view class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  353. @click.stop="goNav('/my/order/index?index='+1)">
  354. <image src="../../static/images/my/my/my1.png" style="width: 46rpx;height: 38rpx;"
  355. mode=""></image>
  356. <view class="">
  357. 待审核
  358. </view>
  359. </view>
  360. <view class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  361. @click.stop="goNav('/my/order/index?index='+2)">
  362. <image src="../../static/images/my/my/my2.png" style="width: 46rpx;height: 38rpx;"
  363. mode=""></image>
  364. <view class="">
  365. 招聘中
  366. </view>
  367. </view>
  368. <view class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  369. @click.stop="goNav('/my/order/index?index='+5)">
  370. <image src="../../static/images/my/my/my3.png" style="width: 46rpx;height: 38rpx;"
  371. mode=""></image>
  372. <view class="">
  373. 已关闭
  374. </view>
  375. </view>
  376. <view class="jobServer-box-btn-item flex justify-center flex-wrap item-width"
  377. @click.stop="goNav('/my/order/index?index='+3)">
  378. <image src="../../static/images/my/my/my4.png" style="width: 50rpx;height: 38rpx;"
  379. mode=""></image>
  380. <view class="">
  381. 已拒绝
  382. </view>
  383. </view>
  384. </view>
  385. </view>
  386. </view>
  387. </view>
  388. <!-- 更多工具 -->
  389. <view class="utils flex justify-center">
  390. <view class="utils-box flex justify-center">
  391. <view class="utils-box-c">
  392. <view class="utils-box-c-t flex justify-between align-center">
  393. <view v-if="XCXIsSelect!='否'" class="flex justify-center flex-wrap" style="width: 112rpx;"
  394. @click="goNav('/package/myLove/myLove')">
  395. <image src="../../static/images/my/icon/utils/myLovere.png"
  396. style="width: 54rpx;height: 54rpx;" mode=""></image>
  397. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  398. 我的收藏
  399. </view>
  400. </view>
  401. <view v-if="XCXIsSelect!='否'" class="flex justify-center flex-wrap" style="width: 112rpx;"
  402. @click="goNav('/my/jilu/jilu')">
  403. <image src="../../static/images/my/icon/utils/jilu.png"
  404. style="width: 54rpx;height: 54rpx;" mode=""></image>
  405. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  406. 面试记录
  407. </view>
  408. </view>
  409. <view v-if="XCXIsSelect!='否'" class="flex justify-center flex-wrap" style="width: 112rpx;"
  410. @click="goNav('/my/renzheng/zhuanrang')">
  411. <image src="../../static/images/my/icon/utils/qy.png"
  412. style="width: 54rpx;height: 54rpx;" mode=""></image>
  413. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  414. 转让企业
  415. </view>
  416. </view>
  417. <view v-if="XCXIsSelect!='否'" class="flex justify-center flex-wrap" style="width: 112rpx;"
  418. @click="goNav('/package/blackList/blackList')">
  419. <image src="../../static/images/my/icon/utils/utils3.png"
  420. style="width: 54rpx;height: 54rpx;" mode=""></image>
  421. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  422. 黑名单
  423. </view>
  424. </view>
  425. </view>
  426. <view class="utils-box-c-b flex justify-between align-center">
  427. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  428. @click="goNav('/pages/my/invitationUserqy')">
  429. <image src="../../static/images/my/icon/utils/utils2.png"
  430. style="width: 54rpx;height: 54rpx;" mode=""></image>
  431. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  432. 邀请好友
  433. </view>
  434. </view>
  435. <view class="flex justify-center flex-wrap" style="width: 112rpx;" @click="goChat">
  436. <image src="../../static/images/my/icon/utils/utils4.png"
  437. style="width: 54rpx;height: 54rpx;" mode=""></image>
  438. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  439. 联系客服
  440. </view>
  441. </view>
  442. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  443. @click="goNav('/my/setting/mimi')">
  444. <image src="../../static/images/my/icon/utils/utils5.png"
  445. style="width: 54rpx;height: 54rpx;" mode=""></image>
  446. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  447. 隐私协议
  448. </view>
  449. </view>
  450. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  451. @click="goNav('/my/setting/xieyi')">
  452. <image src="../../static/images/my/icon/utils/utils6.png"
  453. style="width: 54rpx;height: 54rpx;" mode=""></image>
  454. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  455. 用户协议
  456. </view>
  457. </view>
  458. </view>
  459. <view class="utils-box-c-b flex justify-between align-center">
  460. <view class="flex justify-center flex-wrap" style="width: 112rpx;"
  461. @click="goNav('/my/setting/about')">
  462. <image src="../../static/images/my/icon/utils/utils7.png"
  463. style="width: 54rpx;height: 54rpx;" mode=""></image>
  464. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  465. 关于我们
  466. </view>
  467. </view>
  468. <view v-if="XCXIsSelect!='否'" class="flex justify-center flex-wrap" style="width: 112rpx;"
  469. @click="goNav('/my/setting/feedbackIndex')">
  470. <image src="../../static/images/my/icon/utils/help.png"
  471. style="width: 54rpx;height: 54rpx;" mode=""></image>
  472. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  473. 帮助中心
  474. </view>
  475. </view>
  476. <view v-if="token" class="flex justify-center flex-wrap" style="width: 112rpx;"
  477. @click="goOut()">
  478. <image src="../../static/images/my/icon/utils/utils8.png"
  479. style="width: 54rpx;height: 54rpx;" mode=""></image>
  480. <view class="" style="color: #1A1A1A;font-size: 24rpx;margin-top: 15rpx;">
  481. 退出登录
  482. </view>
  483. </view>
  484. <view class="flex justify-center flex-wrap" style="width: 112rpx;height: 0;">
  485. </view>
  486. <view class="flex justify-center flex-wrap" style="width: 112rpx;height: 0;">
  487. </view>
  488. </view>
  489. </view>
  490. </view>
  491. </view>
  492. </block>
  493. <!-- 状态切换 -->
  494. <u-action-sheet :list="list" @click="click" :tips="tips" v-model="show"></u-action-sheet>
  495. </view>
  496. </template>
  497. <script>
  498. export default {
  499. data() {
  500. return {
  501. tips: {
  502. text: '切换状态',
  503. color: '#909399',
  504. fontSize: 28
  505. },
  506. show: false,
  507. list: [{
  508. id: 1,
  509. text: '离职-正在找工作',
  510. fontSize: 24
  511. }, {
  512. id: 2,
  513. text: '在职-考虑机会',
  514. fontSize: 24
  515. }, {
  516. id: 3,
  517. text: '在职-暂不考虑',
  518. fontSize: 24
  519. }],
  520. userType: 1,
  521. avatar: '../../static/logo.png',
  522. userName: '登录',
  523. XCXIsSelect: '否',
  524. userId: '',
  525. arr: [],
  526. showModal: true,
  527. CompanyList: {},
  528. money: '0',
  529. browseCount: 0,
  530. collectionCount: 0,
  531. deliveryCount: 0,
  532. isVip: false, //用户是否是vip
  533. isCompanyVip: false, //企业是否是vip
  534. resumesStatus: 1, //求职状态
  535. resumesId: '',
  536. token: '',
  537. companyStatus: '', //企业认证状态(1:审核中 2:已通过 3:已拒绝 空:未认证)
  538. };
  539. },
  540. onLoad(e) {
  541. console.log(this.token)
  542. this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
  543. },
  544. onShow() {
  545. this.token = uni.getStorageSync('token')
  546. console.log(this.token, 'myToken');
  547. if (uni.getStorageSync('userType')) {
  548. this.userType = uni.getStorageSync('userType')
  549. }
  550. this.userId = uni.getStorageSync('userId')
  551. if (this.userId) {
  552. this.getUserInfo()
  553. this.getMyMoney()
  554. this.getUserData()
  555. if (this.userType == 1) {
  556. this.getJlInfo()
  557. } else {
  558. this.getCompanyStatus()
  559. }
  560. this.$Request.getT('/app/common/type/310').then(res => { //消息未读提醒
  561. if (res.code == 0) {
  562. if (res.data && res.data.value) {
  563. this.arr.push(res.data.value)
  564. }
  565. }
  566. })
  567. this.$Request.getT('/app/common/type/337').then(res => { //预约成功通知(通用)
  568. if (res.code == 0) {
  569. if (res.data && res.data.value) {
  570. this.arr.push(res.data.value)
  571. }
  572. }
  573. })
  574. this.$Request.getT('/app/common/type/338').then(res => { //订单状态通知
  575. if (res.code == 0) {
  576. if (res.data && res.data.value) {
  577. this.arr.push(res.data.value)
  578. }
  579. }
  580. })
  581. // #ifdef MP-WEIXIN
  582. if (this.showModal) {
  583. this.openMsg()
  584. }
  585. // #endif
  586. }
  587. },
  588. methods: {
  589. // 在线客服
  590. goChat() {
  591. let that = this
  592. if (uni.getStorageSync('userType') == 1) { //用户端
  593. // #ifdef MP-WEIXIN
  594. wx.openCustomerServiceChat({
  595. extInfo: {
  596. url: that.$queue.getData('kefu')
  597. },
  598. corpId: that.$queue.getData('kefuAppid'),
  599. success(res) {
  600. console.log(res)
  601. },
  602. })
  603. // #endif
  604. // #ifdef H5
  605. window.location.href = that.$queue.getData('kefu');
  606. // #endif
  607. // #ifdef APP
  608. let kefu = that.$queue.getData('kefu')
  609. console.log(kefu)
  610. plus.runtime.openURL(kefu, function(res) {});
  611. // #endif
  612. } else { //企业端
  613. // #ifdef MP-WEIXIN
  614. wx.openCustomerServiceChat({
  615. extInfo: {
  616. url: that.$queue.getData('kefuq')
  617. },
  618. corpId: that.$queue.getData('kefuAppidq'),
  619. success(res) {
  620. console.log(res)
  621. },
  622. })
  623. // #endif
  624. // #ifdef H5
  625. window.location.href = that.$queue.getData('kefuq');
  626. // #endif
  627. // #ifdef APP
  628. let kefu = that.$queue.getData('kefuq')
  629. console.log(kefu)
  630. plus.runtime.openURL(kefu, function(res) {});
  631. // #endif
  632. }
  633. },
  634. goNavStatus(url) {
  635. if (this.companyStatus) {
  636. if (this.companyStatus == 1) {
  637. uni.showToast({
  638. title: '企业认证审核中,请审核通过后操作!',
  639. icon: 'none'
  640. })
  641. return
  642. }
  643. if (this.companyStatus == 3) {
  644. uni.showToast({
  645. title: '企业认证审核未通过,请重新认证!',
  646. icon: 'none'
  647. })
  648. return
  649. }
  650. uni.navigateTo({
  651. url: url
  652. })
  653. } else {
  654. uni.showModal({
  655. title: '提示',
  656. content: '还未完成企业认证,请完成企业认证后操作',
  657. complete(ret) {
  658. if (ret.confirm) {
  659. }
  660. }
  661. })
  662. }
  663. },
  664. currenStatus() {
  665. if (uni.getStorageSync('token')) {
  666. this.show = true
  667. } else {
  668. this.noLogin()
  669. }
  670. },
  671. //查询简历信息
  672. getJlInfo() {
  673. this.$Request.getT("/app/resumes/selectResumesByUserId").then(res => {
  674. if (res.code == 0) {
  675. if (res.data) {
  676. this.resumesStatus = res.data.resumesStatus
  677. this.resumesId = res.data.resumesId
  678. if (this.resumesStatus == 1) {
  679. this.list = [{
  680. id: 2,
  681. text: '在职-考虑机会',
  682. fontSize: 24
  683. }, {
  684. id: 3,
  685. text: '在职-暂不考虑',
  686. fontSize: 24
  687. }]
  688. } else if (this.resumesStatus == 2) {
  689. this.list = [{
  690. id: 1,
  691. text: '离职-正在找工作',
  692. fontSize: 24
  693. }, {
  694. id: 3,
  695. text: '在职-暂不考虑',
  696. fontSize: 24
  697. }]
  698. } else {
  699. this.list = [{
  700. id: 1,
  701. text: '离职-正在找工作',
  702. fontSize: 24
  703. }, {
  704. id: 2,
  705. text: '在职-考虑机会',
  706. fontSize: 24
  707. }]
  708. }
  709. } else {
  710. uni.showToast({
  711. title: '暂无简历,请添加简历',
  712. icon: 'none'
  713. })
  714. }
  715. } else {
  716. uni.showToast({
  717. title: res.msg,
  718. icon: 'none'
  719. })
  720. }
  721. })
  722. },
  723. //切换求职状态
  724. click(e) {
  725. console.log(this.list[e].text)
  726. let that = this
  727. uni.showModal({
  728. title: '提示',
  729. content: '确认求职状态切换为:' + that.list[e].text + ' 吗?',
  730. confirmColor: '#00B88F',
  731. complete(ret) {
  732. if (ret.confirm) {
  733. let data = {
  734. resumesId: that.resumesId,
  735. resumesStatus: that.list[e].id
  736. }
  737. that.$Request.postT("/app/resumes/updateResumesStatus", data).then(res => {
  738. if (res.code == 0) {
  739. uni.showToast({
  740. title: '已切换'
  741. })
  742. that.getJlInfo()
  743. } else {
  744. uni.showToast({
  745. title: res.msg,
  746. icon: 'none'
  747. })
  748. }
  749. })
  750. }
  751. }
  752. })
  753. },
  754. //招聘刷新
  755. refreshJob() {
  756. if (uni.getStorageSync('userId')) {
  757. this.$Request.postT("/app/postPush/refreshPostPush").then(res => {
  758. if (res.code == 0) {
  759. uni.showToast({
  760. title: '刷新成功'
  761. })
  762. } else {
  763. if (this.isCompanyVip) {
  764. uni.showToast({
  765. title: res.msg,
  766. icon: 'none'
  767. })
  768. } else {
  769. uni.showModal({
  770. title: '提示',
  771. content: '今日可刷新次数已使用完,开通会员可享更多刷新次数以及其他特权',
  772. confirmText: '开通会员',
  773. confirmColor: '#00B88F',
  774. complete(ree) {
  775. if (ree.confirm) {
  776. uni.navigateTo({
  777. url: '/my/vip/index'
  778. })
  779. }
  780. }
  781. })
  782. }
  783. }
  784. })
  785. } else {
  786. this.noLogin()
  787. }
  788. },
  789. //简历刷新
  790. refresh() {
  791. if (uni.getStorageSync('userId')) {
  792. this.$Request.getT("/app/resumes/selectResumesByUserId").then(res => {
  793. if (res.code == 0) {
  794. if (res.data && res.data.resumesId) {
  795. this.$Request.postT("/app/resumes/refreshResumes", {
  796. resumesId: res.data.resumesId
  797. }).then(ret => {
  798. if (ret.code == 0) {
  799. uni.showToast({
  800. title: '刷新成功',
  801. })
  802. } else {
  803. if (this.isVip) {
  804. uni.showToast({
  805. title: ret.msg,
  806. icon: 'none'
  807. })
  808. } else {
  809. uni.showModal({
  810. title: '提示',
  811. content: '今日可刷新次数已使用完,开通会员可享更多刷新次数以及其他特权',
  812. confirmText: '开通会员',
  813. confirmColor: '#00B88F',
  814. complete(ree) {
  815. if (ree.confirm) {
  816. uni.navigateTo({
  817. url: '/my/vip/index'
  818. })
  819. }
  820. }
  821. })
  822. }
  823. }
  824. })
  825. } else {
  826. uni.showModal({
  827. title: '提示',
  828. content: '暂无简历,请添加简历后重试',
  829. confirmColor: '#00B88F',
  830. complete(ree) {
  831. if (ree.confirm) {
  832. uni.navigateTo({
  833. url: '/package/my/resume'
  834. })
  835. }
  836. }
  837. })
  838. }
  839. } else {
  840. uni.showToast({
  841. title: res.msg,
  842. icon: 'none'
  843. })
  844. }
  845. })
  846. } else {
  847. this.noLogin()
  848. }
  849. },
  850. /**
  851. * 获取投递记录、收藏记录、浏览记录
  852. */
  853. getUserData() {
  854. this.$Request.getT("/app/user/userData").then(res => {
  855. if (res.code == 0) {
  856. this.browseCount = res.data.browseCount;
  857. this.collectionCount = res.data.collectionCount;
  858. this.deliveryCount = res.data.deliveryCount;
  859. }
  860. })
  861. },
  862. /**
  863. * @param {Object} url 跳转路径
  864. * @param {Object} name 名称
  865. */
  866. gojiLuList(url, name) {
  867. if (uni.getStorageSync('token')) {
  868. uni.navigateTo({
  869. url: url + '?title=' + name
  870. })
  871. } else {
  872. this.noLogin()
  873. }
  874. },
  875. /**
  876. * 退出登录
  877. */
  878. goOut() {
  879. let that = this
  880. uni.showModal({
  881. title: '提示',
  882. content: '确定退出登录吗?',
  883. confirmColor: '#00B88F',
  884. success: function(res) {
  885. if (res.confirm) {
  886. console.log('用户点击确定');
  887. uni.removeStorageSync('userName')
  888. uni.removeStorageSync('avatar')
  889. uni.removeStorageSync('userId')
  890. uni.removeStorageSync('token')
  891. uni.removeStorageSync('phone')
  892. uni.removeStorageSync('zhiFuBaoName')
  893. uni.removeStorageSync('zhiFuBao')
  894. uni.removeStorageSync('invitationCode')
  895. uni.removeStorageSync('unionId')
  896. uni.removeStorageSync('openId')
  897. uni.removeStorageSync('isVIP')
  898. uni.removeStorageSync('companyId')
  899. // uni.removeStorageSync('userType')
  900. uni.setStorageSync('userType', 1)
  901. uni.setStorageSync('weixinPhone', false)
  902. that.userId = ''
  903. that.userType = 1
  904. that.money = 0
  905. that.deliveryCount = 0
  906. that.browseCount = 0
  907. that.collectionCount = 0
  908. that.token = ''
  909. uni.showToast({
  910. title: '退出成功!',
  911. icon: 'none'
  912. })
  913. that.isLogin = true
  914. that.userName = '登录'
  915. that.avatar = '../../static/logo.png'
  916. that.isVip = false
  917. // uni.reLaunch({
  918. // url: '/pages/public/selectIdentity/selectIdentity'
  919. // })
  920. } else if (res.cancel) {
  921. console.log('用户点击取消');
  922. }
  923. }
  924. })
  925. },
  926. /**
  927. * 我的钻石
  928. */
  929. getMyMoney() {
  930. this.$Request.get("/app/userMoney/selectMyMoney").then(res => {
  931. if (res.code == 0) {
  932. this.money = res.data.money
  933. }
  934. })
  935. },
  936. /**
  937. * 获取个人信息
  938. */
  939. getUserInfo() {
  940. this.$Request.get("/app/user/selectUserById").then(res => {
  941. if (res.code == 0) {
  942. uni.setStorageSync('weChatNum', res.data.weChatNum)
  943. uni.setStorageSync('zhiRate', res.data.zhiRate)
  944. if (res.data.avatar) {
  945. this.avatar = res.data.avatar
  946. }
  947. if (res.data.userName) {
  948. this.userName = res.data.userName
  949. }
  950. uni.setStorageSync('userId', res.data.userId)
  951. if (res.data.companyId) {
  952. uni.setStorageSync('companyId', res.data.companyId)
  953. }
  954. if (res.data.userType == 1 || res.data.userType == null) {
  955. this.userType = 1
  956. uni.setStorageSync('userType', 1)
  957. if (res.data.isUserVip == 1) { //判断用户是否是vip
  958. this.isVip = true
  959. } else {
  960. this.isVip = false
  961. }
  962. } else {
  963. this.userType = 2
  964. uni.setStorageSync('userType', 2)
  965. if (res.data.isCompanyVip == 1) { //判断企业用户是否是vip
  966. this.isCompanyVip = true
  967. } else {
  968. this.isCompanyVip = false
  969. }
  970. }
  971. }
  972. })
  973. },
  974. goNavNoLogin(e) {
  975. // #ifdef MP-WEIXIN
  976. if (uni.getStorageSync('sendMsg')) {
  977. // console.log('授权+1')
  978. wx.requestSubscribeMessage({
  979. tmplIds: this.arr,
  980. success(re) {
  981. // console.log(JSON.stringify(re), 111111111111)
  982. var datas = JSON.stringify(re);
  983. if (datas.indexOf("accept") != -1) {
  984. // console.log(re)
  985. }
  986. },
  987. fail: (res) => {
  988. // console.log(res)
  989. }
  990. })
  991. }
  992. // #endif
  993. uni.navigateTo({
  994. url: e
  995. })
  996. },
  997. //跳转
  998. goNav(e) {
  999. if (this.userId) {
  1000. // #ifdef MP-WEIXIN
  1001. if (uni.getStorageSync('sendMsg')) {
  1002. // console.log('授权+1')
  1003. wx.requestSubscribeMessage({
  1004. tmplIds: this.arr,
  1005. success(re) {
  1006. // console.log(JSON.stringify(re), 111111111111)
  1007. var datas = JSON.stringify(re);
  1008. if (datas.indexOf("accept") != -1) {
  1009. // console.log(re)
  1010. }
  1011. },
  1012. fail: (res) => {
  1013. // console.log(res)
  1014. }
  1015. })
  1016. }
  1017. // #endif
  1018. uni.navigateTo({
  1019. url: e
  1020. })
  1021. } else {
  1022. this.noLogin()
  1023. }
  1024. },
  1025. //获取企业认证状态(1:审核中 2:通过 3:拒绝)
  1026. getCompanyStatus() {
  1027. this.$Request.get("/app/company/selectCompanyByUserId").then(res => {
  1028. if (res.code == 0 && res.data) {
  1029. this.companyStatus = res.data.status
  1030. uni.setStorageSync('companyStatus', this.companyStatus)
  1031. } else {
  1032. this.companyStatus = ''
  1033. }
  1034. })
  1035. },
  1036. /**
  1037. * 获取用户企业实名数据
  1038. */
  1039. getCompany() {
  1040. this.$Request.get("/app/company/selectCompanyByUserId").then(res => {
  1041. if (res.code == 0 && res.data) {
  1042. this.CompanyList = res.data
  1043. if (this.CompanyList.status == 1) {
  1044. uni.showModal({
  1045. title: '提示',
  1046. content: '您提交的企业认证正在审核,是否查看修改?',
  1047. confirmColor: '#00B88F',
  1048. success: function(res) {
  1049. if (res.confirm) {
  1050. console.log('用户点击确定');
  1051. uni.navigateTo({
  1052. url: '/my/renzheng/index'
  1053. })
  1054. } else if (res.cancel) {
  1055. console.log('用户点击取消');
  1056. }
  1057. }
  1058. })
  1059. } else if (this.CompanyList.status == 2) {
  1060. this.$Request.postT("/app/user/updateUserEntity", {
  1061. userType: 2
  1062. }).then(res => {
  1063. if (res.code == 0) {
  1064. // uni.setStorageSync('companyId', this.CompanyList.companyId)
  1065. this.getUserInfo()
  1066. }
  1067. })
  1068. // this.userType = 2
  1069. // uni.setStorageSync('userType', this.userType)
  1070. } else if (this.CompanyList.status == 3) {
  1071. uni.showModal({
  1072. title: '提示',
  1073. content: '您提交的企业认证已被拒绝,是否查看修改?',
  1074. confirmColor: '#00B88F',
  1075. success: function(res) {
  1076. if (res.confirm) {
  1077. console.log('用户点击确定');
  1078. uni.navigateTo({
  1079. url: '/my/renzheng/index'
  1080. })
  1081. } else if (res.cancel) {
  1082. console.log('用户点击取消');
  1083. }
  1084. }
  1085. })
  1086. }
  1087. } else {
  1088. uni.showModal({
  1089. title: '提示',
  1090. content: '您还未企业认证,请先进行认证',
  1091. confirmColor: '#00B88F',
  1092. success: function(res) {
  1093. if (res.confirm) {
  1094. console.log('用户点击确定');
  1095. uni.navigateTo({
  1096. url: '/my/renzheng/index'
  1097. })
  1098. } else if (res.cancel) {
  1099. console.log('用户点击取消');
  1100. }
  1101. }
  1102. })
  1103. }
  1104. })
  1105. },
  1106. // 切换身份
  1107. bindQe(index) {
  1108. let that = this
  1109. if (uni.getStorageSync('userId')) {
  1110. if (index == 2) {
  1111. if (index == 2) { //企业换个人
  1112. uni.showModal({
  1113. title: '提示',
  1114. content: '确认切换到求职者身份吗?',
  1115. confirmColor: '#00B88F',
  1116. complete(ret) {
  1117. if (ret.confirm) {
  1118. let data = {
  1119. userType: 1
  1120. }
  1121. that.$Request.postT("/app/user/updateUserEntity", data).then(res => {
  1122. if (res.code == 0) {
  1123. that.getUserInfo()
  1124. that.getUserData()
  1125. }
  1126. })
  1127. }
  1128. }
  1129. })
  1130. }
  1131. } else if (index == 1) { //个人换企业
  1132. uni.showModal({
  1133. title: '提示',
  1134. content: '确认切换到招聘者身份吗?',
  1135. confirmColor: '#00B88F',
  1136. complete(ret) {
  1137. if (ret.confirm) {
  1138. that.getCompany()
  1139. }
  1140. }
  1141. })
  1142. }
  1143. } else {
  1144. this.noLogin()
  1145. }
  1146. },
  1147. // 开启订阅消息
  1148. openMsg() {
  1149. console.log('订阅消息')
  1150. var that = this
  1151. uni.getSetting({
  1152. withSubscriptions: true, //是否获取用户订阅消息的订阅状态,默认false不返回
  1153. success(ret) {
  1154. console.log(ret.subscriptionsSetting, '------------------')
  1155. // if (ret.subscriptionsSetting.itemSettings && Object.keys(ret.subscriptionsSetting.itemSettings).length == 2) {
  1156. if (ret.subscriptionsSetting.itemSettings) {
  1157. uni.setStorageSync('sendMsg', true)
  1158. uni.openSetting({ // 打开设置页
  1159. success(rea) {
  1160. console.log(rea.authSetting)
  1161. }
  1162. });
  1163. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  1164. console.log(99999)
  1165. uni.setStorageSync('sendMsg', false)
  1166. uni.showModal({
  1167. title: '提示',
  1168. content: '为了更好的体验,请绑定消息推送',
  1169. confirmText: '确定',
  1170. cancelText: '取消',
  1171. confirmColor: '#00B88F',
  1172. success: function(res) {
  1173. if (res.confirm) {
  1174. console.log(that.arr)
  1175. wx.requestSubscribeMessage({
  1176. tmplIds: that.arr,
  1177. success(re) {
  1178. console.log(JSON.stringify(re),
  1179. '++++++++++++++')
  1180. var datas = JSON.stringify(re);
  1181. if (datas.indexOf("accept") != -1) {
  1182. console.log(re)
  1183. uni.setStorageSync('sendMsg', true)
  1184. }
  1185. },
  1186. fail: (res) => {
  1187. console.log(res)
  1188. }
  1189. })
  1190. uni.setStorageSync('sendMsg', true)
  1191. console.log('确认')
  1192. that.showModal = false
  1193. } else if (res.cancel) {
  1194. console.log('取消')
  1195. uni.setStorageSync('sendMsg', false)
  1196. that.showModal = true
  1197. }
  1198. }
  1199. })
  1200. }
  1201. }
  1202. })
  1203. },
  1204. //未登录
  1205. noLogin() {
  1206. // uni.showModal({
  1207. // title: '提示',
  1208. // content: '您还未登录,请先登录',
  1209. // confirmColor:'#00B88F',
  1210. // success: function(res) {
  1211. // if (res.confirm) {
  1212. // console.log('用户点击确定');
  1213. // // uni.reLaunch({
  1214. // // url:'/pages/public/login'
  1215. // // })
  1216. // uni.navigateTo({
  1217. // url: '/pages/public/login'
  1218. // })
  1219. // } else if (res.cancel) {
  1220. // console.log('用户点击取消');
  1221. // }
  1222. // }
  1223. // })
  1224. uni.navigateTo({
  1225. url: '/pages/public/login'
  1226. })
  1227. },
  1228. }
  1229. }
  1230. </script>
  1231. <style lang="scss">
  1232. page {
  1233. background-color: #F2F6FC;
  1234. }
  1235. .info {
  1236. width: 100%;
  1237. background: linear-gradient(to bottom, #D9FEED, #FBFDF0, #F2F6FC);
  1238. .info-box {
  1239. width: 686rpx;
  1240. padding-bottom: 20rpx;
  1241. .info-box-btn {
  1242. width: 100%;
  1243. height: 44rpx;
  1244. margin-top: 20rpx;
  1245. }
  1246. .info-box-header {
  1247. width: 100%;
  1248. margin-top: 20rpx;
  1249. height: 90rpx;
  1250. .info-box-header-l {
  1251. margin-right: 20rpx;
  1252. image {
  1253. width: 90rpx;
  1254. height: 90rpx;
  1255. border-radius: 50%;
  1256. }
  1257. }
  1258. .info-box-header-r {
  1259. .info-box-header-r-name {
  1260. color: #1D1D1D;
  1261. font-size: 32rpx;
  1262. font-weight: 800;
  1263. margin-bottom: 10rpx;
  1264. }
  1265. .info-box-header-r-bj {
  1266. color: #1D1D1D;
  1267. font-size: 24rpx;
  1268. font-weight: 400;
  1269. }
  1270. }
  1271. }
  1272. .info-box-num {
  1273. margin-top: 50rpx;
  1274. .info-box-num-td {
  1275. // width: 200rpx;
  1276. .info-box-num-td-num {
  1277. width: 100%;
  1278. text-align: center;
  1279. color: #333333;
  1280. font-size: 38rpx;
  1281. font-weight: bold;
  1282. }
  1283. .info-box-num-td-name {
  1284. width: 100%;
  1285. text-align: center;
  1286. color: #333333;
  1287. font-size: 24rpx;
  1288. font-weight: 400;
  1289. margin-top: 20rpx;
  1290. }
  1291. }
  1292. }
  1293. }
  1294. }
  1295. .vip {
  1296. width: 100%;
  1297. height: 127rpx;
  1298. margin-top: 30rpx;
  1299. .vip-box {
  1300. width: 686rpx;
  1301. height: 100%;
  1302. position: relative;
  1303. .vip-box-bg {
  1304. position: absolute;
  1305. top: 0;
  1306. left: 0;
  1307. width: 100%;
  1308. height: 100%;
  1309. z-index: 1;
  1310. }
  1311. .vip-box-cont {
  1312. z-index: 2;
  1313. }
  1314. }
  1315. }
  1316. .jobServer {
  1317. width: 100%;
  1318. height: 235rpx;
  1319. margin-top: -46rpx;
  1320. z-index: 1;
  1321. .jobServer-box {
  1322. width: 686rpx;
  1323. height: 100%;
  1324. background-color: #ffffff;
  1325. border-radius: 24rpx;
  1326. z-index: 1;
  1327. .jobServer-box-c {
  1328. width: 626rpx;
  1329. height: 100%;
  1330. }
  1331. .jobServer-box-title {
  1332. margin-top: 30rpx;
  1333. width: 100%;
  1334. color: #161616;
  1335. font-size: 28rpx;
  1336. font-weight: 800;
  1337. }
  1338. .jobServer-box-btn {
  1339. width: 100%;
  1340. margin-top: 30rpx;
  1341. .item-width {
  1342. width: 110rpx !important;
  1343. }
  1344. .jobServer-box-btn-item {
  1345. width: 120rpx;
  1346. color: #161616;
  1347. font-size: 24rpx;
  1348. image {
  1349. width: 62rpx;
  1350. height: 62rpx;
  1351. margin-bottom: 18rpx;
  1352. }
  1353. }
  1354. }
  1355. }
  1356. }
  1357. .utils {
  1358. width: 100%;
  1359. // height: 308rpx;
  1360. margin-top: 20rpx;
  1361. .utils-box {
  1362. width: 686rpx;
  1363. height: 100%;
  1364. background-color: #ffffff;
  1365. border-radius: 24rpx;
  1366. .utils-box-c {
  1367. width: 626rpx;
  1368. height: 100%;
  1369. }
  1370. .utils-box-c-t {
  1371. width: 100%;
  1372. height: calc(308rpx / 2);
  1373. }
  1374. .utils-box-c-b {
  1375. width: 100%;
  1376. height: calc(308rpx / 2);
  1377. }
  1378. }
  1379. }
  1380. .money {
  1381. width: 100%;
  1382. height: 148rpx;
  1383. margin-top: 20rpx;
  1384. .money-box {
  1385. width: 686rpx;
  1386. height: 100%;
  1387. background-color: #ffffff;
  1388. border-radius: 24rpx;
  1389. .money-box-c {
  1390. width: 626rpx;
  1391. height: 90rpx;
  1392. }
  1393. .money-box-c-l {
  1394. width: 50%;
  1395. height: 100%;
  1396. border-right: 1rpx solid #E6E6E6;
  1397. box-sizing: border-box;
  1398. .money-box-c-l-name {
  1399. color: #333333;
  1400. font-size: 28rpx;
  1401. font-weight: bold;
  1402. width: 100%;
  1403. }
  1404. .money-box-c-l-price {
  1405. color: #1E1E1E;
  1406. font-size: 38rpx;
  1407. font-weight: bold;
  1408. width: 100%;
  1409. margin-top: 14rpx;
  1410. text {
  1411. font-size: 24rpx;
  1412. font-weight: 500;
  1413. }
  1414. }
  1415. }
  1416. .money-box-c-r {
  1417. width: 50%;
  1418. height: 100%;
  1419. .money-box-c-r-name {
  1420. width: 100%;
  1421. color: #333333;
  1422. font-size: 28rpx;
  1423. font-weight: bold;
  1424. padding-left: 30rpx;
  1425. }
  1426. .money-box-c-r-more {
  1427. width: 100%;
  1428. color: #999999;
  1429. font-size: 24rpx;
  1430. font-weight: 400;
  1431. padding-left: 30rpx;
  1432. margin-top: 20rpx;
  1433. }
  1434. }
  1435. }
  1436. }
  1437. </style>