mine.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896
  1. <template>
  2. <view>
  3. <u-navbar back-text="我的" back-icon-size="0" :customBack="customBack" back-icon-color="#ffffff"
  4. :background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
  5. <view class="top">
  6. <view class="photo">
  7. <u-avatar :src="src" :gender="userInfo.gender" ></u-avatar>
  8. </view>
  9. <!-- <view class="login">
  10. 请登录
  11. </view> -->
  12. <!-- 已登录 -->
  13. <view class="logined">
  14. <view class="name">
  15. <template v-if="userInfo&&userInfo.id">
  16. 你好,{{userInfo.realName?userInfo.realName:'用户'+userInfo.id.slice(0,3)}}
  17. </template>
  18. <template v-else>
  19. 未登录
  20. </template>
  21. <view class="img-box" v-if="userInfo.status==1">
  22. <img src="@/assets/img/riFill-shield-user-fill@1x.png" alt="">
  23. </view>
  24. </view>
  25. <view class="tel" @click="changePhone" v-if="userInfo&&userInfo.id">
  26. {{userInfo.phone}}
  27. <img src="@/pages/tab/as-components/riLine-edit-2-line.svg">
  28. </view>
  29. </view>
  30. </view>
  31. <!-- 求职信息 -->
  32. <view class="card card1">
  33. <view class="title">
  34. 求职信息
  35. <u-icon size="34" v-if="ck1()" name="checkmark-circle-fill" style="color: #54b86c;"></u-icon>
  36. <u-icon size="34" @click="showIcon(1)" v-else name="error-circle-fill" style="color: #dc4441;"></u-icon>
  37. </view>
  38. <u-grid :col="3" :border="false">
  39. <u-grid-item @click="gotoUrl0('pages/packages/mine/myJobInformation/myJobInformation')">
  40. <u-badge :count="num3==2?0:(num3==0?'未创建':'审批中')"
  41. :type="num3==0?'error':'warning'"
  42. size="mini" :offset="[18,4]"></u-badge>
  43. <view class="icon">
  44. <img src="@/assets/img/riLine-folder-user-line@1x.png" alt="">
  45. </view>
  46. <view class="grid-text">我的简历</view>
  47. </u-grid-item>
  48. <u-grid-item @click="gotoUrl1('pages/packages/mine/myJobInformation/myRegistration?c=0')">
  49. <view class="icon">
  50. <img src="@/assets/img/riLine-todo-line@1x.png" alt="">
  51. </view>
  52. <view class="grid-text">我的报名</view>
  53. </u-grid-item>
  54. <u-grid-item @click="gotoUrl1('pages/packages/mine/myJobInformation/myRegistration?c=1')">
  55. <u-badge :count="num1" size="mini" :offset="[28,34]"></u-badge>
  56. <view class="icon">
  57. <img src="@/assets/img/riLine-mail-star-line@1x.png" alt="">
  58. </view>
  59. <view class="grid-text">收到邀请</view>
  60. </u-grid-item>
  61. <u-grid-item
  62. @click="gotoUrl0('pages/packages/mine/privacy')">
  63. <view class="icon">
  64. <img src="@/assets/img/riLine-shield-keyhole-line@3x.png" alt="">
  65. </view>
  66. <view class="grid-text">隐私设置</view>
  67. </u-grid-item>
  68. </u-grid>
  69. </view>
  70. <!-- 用工服务 -->
  71. <!-- 幻灯片 -->
  72. <view class="swiper" v-if="bannerlist.length">
  73. <u-swiper img-mode="scaleToFill" mode="none" height="100" :list="bannerlist" @click="clickBanner" ></u-swiper>
  74. </view>
  75. <view class="card ">
  76. <view class="title">
  77. 用工服务
  78. <u-icon size="34" v-if="ck2()" name="checkmark-circle-fill" style="color: #54b86c;"></u-icon>
  79. <u-icon size="34" @click="showIcon(2)" v-else name="error-circle-fill" style="color: #dc4441;"></u-icon>
  80. </view>
  81. <u-grid :col="4" :border="false">
  82. <u-grid-item @click="gotoUrl2('pages/packages/mine/employmentService/laborManagement/laborManagement')">
  83. <view class="icon">
  84. <img src="@/assets/img/riLine-folder-2-line@1x.png" alt="">
  85. </view>
  86. <view class="grid-text">用工管理</view>
  87. </u-grid-item>
  88. <u-grid-item @click="gotoUrl2('pages/packages/mine/employmentService/receiveRegistration?c=0')">
  89. <u-badge :count="num2" size="mini" :offset="[28,34]"></u-badge>
  90. <view class="icon">
  91. <img src="@/assets/img/riLine-inbox-archive-line@1x.png" alt="">
  92. </view>
  93. <view class="grid-text">收到报名</view>
  94. </u-grid-item>
  95. <u-grid-item @click="gotoUrl2('pages/packages/mine/employmentService/receiveRegistration?c=1')">
  96. <view class="icon">
  97. <img src="@/assets/img/riLine-time-line@1x.png" alt="">
  98. </view>
  99. <view class="grid-text">邀请记录</view>
  100. </u-grid-item>
  101. <u-grid-item @click="gotoUrl2('pages/packages/mine/employmentService/shareEmployment')">
  102. <view class="icon">
  103. <img src="@/assets/img/riLine-service-line@1x.png" alt="">
  104. </view>
  105. <view class="grid-text">共享用工</view>
  106. </u-grid-item>
  107. </u-grid>
  108. </view>
  109. <!-- 其他服务 -->
  110. <view class="card ">
  111. <view class="title">
  112. 其他服务
  113. </view>
  114. <u-grid :col="3" :border="false">
  115. <u-grid-item @click="toAuthentication">
  116. <u-icon v-if="ck1()||ck2()" name="checkmark-circle-fill" style="color: #54b86c;"
  117. class="checked"></u-icon>
  118. <u-icon v-else name="error-circle-fill" style="color: #dc4441;" class="badge-icon"></u-icon>
  119. <view class="icon">
  120. <img src="@/assets/img/riLine-shield-user-line@1x.png" alt="">
  121. </view>
  122. <view class="grid-text">实名认证</view>
  123. </u-grid-item>
  124. <!-- <u-grid-item @click="showPhoneMethod">
  125. <view class="icon">
  126. <img src="@/assets/img/riLine-customer-service-line@1x.png" alt="">
  127. </view>
  128. <view class="grid-text">联系客服</view>
  129. </u-grid-item> -->
  130. <u-grid-item >
  131. <button class="btncontact" open-type="contact">
  132. <view class="icon">
  133. <img src="@/assets/img/riLine-customer-service-line@1x.png" alt="">
  134. </view>
  135. <view class="grid-text">联系客服</view>
  136. </button>
  137. </u-grid-item>
  138. <!-- <u-grid-item>
  139. <view class="icon">
  140. <img src="@/assets/img/riLine-logout-box-r-line@1x.png" alt="">
  141. </view>
  142. <view class="grid-text">退出登录</view>
  143. </u-grid-item> -->
  144. </u-grid>
  145. </view>
  146. <!-- 登录弹窗 -->
  147. <u-popup v-model="show" mode="center" border-radius="24" :closeable="true" @close="close">
  148. <view class="u-mode-center-main">
  149. <view class="title">
  150. 登录荆州经开区共享用工平台
  151. </view>
  152. <view>
  153. <button class="login-btn" @click="decryptPhoneNumberH5" open-type="getPhoneNumber"
  154. @getphonenumber="decryptPhoneNumber">
  155. <u-icon name="phone-fill" size="46"></u-icon> <text>手机号码一键登录</text>
  156. </button>
  157. </view>
  158. <view class="radio" v-if="false">
  159. <!-- <radio></radio>
  160. <view class="agreement">
  161. 阅读并同意<text style="color: #2795FD">《用户隐私协议》</text>
  162. </view> -->
  163. <u-radio-group v-model="value">
  164. <u-radio active-color="red">阅读并同意<text style="color: #2795FD">《用户隐私协议》</text></u-radio>
  165. </u-radio-group>
  166. </view>
  167. </view>
  168. </u-popup>
  169. <u-modal v-model="showPhone" @confirm="confirmPhone" :confirm-text="confirmText" confirm-color="#606266"
  170. :show-cancel-button="true" ref="uModal" :asyncClose="true" title="客服电话" :content="content"
  171. :content-style="{fontSize: '24px',color: '#101010'}"></u-modal>
  172. <tabbar :current="4"></tabbar>
  173. </view>
  174. </template>
  175. <script>
  176. import * as API from '@/apis/pagejs/tab.js'
  177. import * as API_weixin from '@/apis/weixin.js'
  178. import tabbar from "@/components/Tabbar.vue"
  179. export default {
  180. components: {
  181. tabbar
  182. },
  183. data() {
  184. return {
  185. src: '',
  186. show: false,
  187. value: 'false',
  188. userInfo: {},
  189. showPhone: false,
  190. confirmText: '拨打电话',
  191. content: "",
  192. num1: 0,
  193. num2: 0,
  194. num3: 0,//0 未创建 ,1 审批中, 2 成功
  195. isReady:false,
  196. updateintention:false,
  197. bannerlist: [
  198. ],
  199. intentionList:[
  200. {
  201. value: '1',
  202. label: '求职中'
  203. },
  204. {
  205. value: '2',
  206. label: '已入职/勿扰'
  207. }
  208. ],
  209. }
  210. },
  211. onLoad() {
  212. this.userInfo = this.carhelp.getPersonInfo()
  213. this.findByOpenId();
  214. this.getNewsInfo()
  215. },
  216. onShow(){
  217. if(this.isReady){
  218. this.findByOpenId();
  219. }
  220. },
  221. methods: {
  222. getNewsInfo(){
  223. API_weixin.bannerList({
  224. classify:4,
  225. }).then((res) => {
  226. uni.hideLoading();
  227. //this.newsList = res.data.data;
  228. this.bannerlist =res.data.data.map(item=>{
  229. item.image=item.picUrl
  230. return item
  231. })
  232. }).catch(error => {
  233. uni.showToast({icon: 'none',
  234. title: error,
  235. icon: "none"
  236. })
  237. })
  238. },
  239. changePhone(){
  240. var _this=this;
  241. uni.showModal({
  242. title: '提示',
  243. content: '是否修改当前手机号',
  244. //confirmText:"",
  245. showCancel: true,
  246. success: function(res) {
  247. if (res.confirm) {
  248. _this.show=true
  249. //uni.navigateBack()
  250. } else if (res.cancel) {
  251. //.log('用户点击取消');
  252. }
  253. }
  254. });
  255. },
  256. updateintentionBtn(e){
  257. console.log(e);
  258. var intention=e[0].value
  259. uni.showLoading({
  260. title: "加载中",
  261. mask: true,
  262. })
  263. API.updateIntention({
  264. intention: intention
  265. }).then((res) => {
  266. uni.hideLoading();
  267. this.userInfo.intention=intention;
  268. }).catch(error => {
  269. this.showPhone = false;
  270. uni.hideLoading();
  271. })
  272. },
  273. showIcon(i) {
  274. if (i == 1) {
  275. uni.showToast({
  276. title: "未进行实名认证",
  277. icon: "none"
  278. })
  279. }
  280. if (i == 2) {
  281. uni.showToast({
  282. title: "未进行企业认证",
  283. icon: "none"
  284. })
  285. }
  286. },
  287. ck1() {
  288. var user = this.carhelp.getPersonInfo();
  289. if (user.status != 1) {
  290. return false
  291. }
  292. return true
  293. },
  294. ck2() {
  295. var enterpriseInfo = this.carhelp.getPersonInfoPlus().enterpriseInfo;
  296. if (!enterpriseInfo || enterpriseInfo.status != 1) {
  297. return false
  298. }
  299. return true
  300. },
  301. gotoUrl1(url) {
  302. if (this.ck1()) {
  303. } else {
  304. uni.showToast({
  305. icon: 'none',
  306. title: "当前操作需要实名认证"
  307. })
  308. return
  309. }
  310. uni.navigateTo({
  311. url: "/" + url
  312. })
  313. },
  314. gotoUrl0(url) {
  315. var user = this.carhelp.getPersonInfo();
  316. if (!user.id) {
  317. uni.showToast({
  318. title:"请登录",
  319. icon:"none"
  320. })
  321. return false
  322. }
  323. uni.navigateTo({
  324. url: "/" + url
  325. })
  326. },
  327. gotoUrl2(url) {
  328. if (this.ck2()) {
  329. } else {
  330. uni.showToast({
  331. icon: 'none',
  332. title: "当前操作需要进行企业认证"
  333. })
  334. return
  335. }
  336. uni.navigateTo({
  337. url: "/" + url
  338. })
  339. },
  340. gotoMyJobInformation() {
  341. //zkx 需要认证
  342. uni.navigateTo({
  343. url: "/pages/packages/mine/myJobInformation/myJobInformation"
  344. })
  345. },
  346. confirmPhone() {
  347. this.showPhone = false;
  348. uni.makePhoneCall({
  349. phoneNumber: this.content //仅为示例
  350. });
  351. },
  352. showPhoneMethod() {
  353. if (this.content == "") {
  354. uni.showLoading({
  355. title: "加载中",
  356. mask: true,
  357. })
  358. API_weixin.findValueByName({
  359. name: '客服电话'
  360. }).then((res) => {
  361. this.content = res.data
  362. uni.hideLoading();
  363. this.showPhone = true;
  364. }).catch(error => {
  365. this.showPhone = false;
  366. uni.hideLoading();
  367. })
  368. } else {
  369. this.showPhone = true;
  370. }
  371. },
  372. getNum1() {
  373. API.myRegistrationNotReadNum().then((res) => {
  374. this.num1 = res.data.notReadNum
  375. }).catch(error => {
  376. //.log(error)
  377. })
  378. },
  379. getNum2() {
  380. API.myReceivedRegistrationNotReadNum().then((res) => {
  381. this.num2 = res.data.notReadNum
  382. }).catch(error => {
  383. //.log(error)
  384. })
  385. },
  386. findByOpenId() {
  387. uni.showLoading({
  388. title: "加载中",
  389. mask: true,
  390. })
  391. API_weixin.findByOpenId({
  392. openId: this.carhelp.getOpenId(),
  393. noerror: true
  394. }).then((res) => {
  395. this.isReady=true;
  396. this.carhelp.setPersonInfo(res.data.regUser);
  397. this.carhelp.setToken(res.data.token);
  398. this.carhelp.setPersonInfoPlus(res.data);
  399. this.userInfo = res.data.regUser;
  400. this.src = this.userInfo.photo
  401. uni.hideLoading();
  402. this.show = false;
  403. var jobInformationInfo = this.carhelp.getPersonInfoPlus().jobInformationInfo;
  404. if(jobInformationInfo==null){
  405. this.num3=0
  406. }else{
  407. if(jobInformationInfo.status==1){
  408. this.num3=2
  409. }else{
  410. this.num3=1
  411. }
  412. }
  413. if (this.ck1()) {
  414. this.getNum1()
  415. }
  416. if (this.ck2()) {
  417. this.getNum2()
  418. }
  419. }).catch(error => {
  420. //.log("11111")
  421. this.carhelp.logoff();
  422. this.userInfo = {};
  423. uni.hideLoading();
  424. this.show = true;
  425. this.isReady=true;
  426. // uni.showToast({icon: 'none',
  427. // title: error
  428. // })
  429. //this.getPhone()
  430. })
  431. },
  432. close() {
  433. // #ifdef MP-WEIXIN
  434. if (this.userInfo.id) {
  435. } else {
  436. uni.reLaunch({
  437. url: "/"
  438. })
  439. }
  440. // #endif
  441. },
  442. changePhoneUser(phone) {
  443. API.changePhone(phone).then((res2) => {
  444. this.findByOpenId()
  445. }).catch(error2 => {
  446. uni.showToast({
  447. icon: 'none',
  448. title: error2
  449. })
  450. })
  451. },
  452. createUser(phone) {
  453. if (this.userInfo.id) {
  454. console.log("changePhoneUser",phone)
  455. this.changePhoneUser(phone)
  456. } else{
  457. console.log("createUser",phone)
  458. API.createUser({
  459. phone: phone,
  460. openId: this.carhelp.getOpenId()
  461. }).then((res2) => {
  462. API_weixin.saveLoginRecord({
  463. openId:this.carhelp.getOpenId()
  464. }).then((res) => {
  465. console.log('App createUser 记录用户登陆')
  466. }).catch(error => {
  467. console.log('App createUser 记录用户登陆 失败')
  468. })
  469. this.findByOpenId()
  470. }).catch(error2 => {
  471. uni.showToast({
  472. icon: 'none',
  473. title: error2
  474. })
  475. })
  476. }
  477. },
  478. decryptPhoneNumberH5() {
  479. // #ifdef H5
  480. this.show = false
  481. var _this = this
  482. uni.showModal({
  483. title: '输入手机号测试',
  484. editable: true,
  485. //content: '这是一个模态弹窗',
  486. success: function(res) {
  487. if (res.confirm) {
  488. //_this.createUser(res.content)
  489. if (_this.userInfo.id) {
  490. _this.changePhoneUser(res.content)
  491. } else{
  492. _this.createUser(res.content)
  493. }
  494. } else if (res.cancel) {
  495. //.log('用户点击取消');
  496. }
  497. }
  498. });
  499. // #endif
  500. },
  501. decryptPhoneNumber(e) {
  502. console.log(e, this.carhelp.getOpenId())
  503. var _this=this;
  504. if (!e.detail.code&&e.detail.errMsg == 'getPhoneNumber:ok') {
  505. uni.login({
  506. provider: 'weixin', //使用微信登录
  507. success: function(loginRes) {
  508. API_weixin.decryptData({
  509. code: loginRes.code,
  510. encryptedData: e.detail.encryptedData,
  511. iv: e.detail.iv
  512. }).then((res) => {
  513. console.log(res)
  514. if (res.data) {
  515. console.log(_this.userInfo.id)
  516. _this.createUser(res.data)
  517. } else {
  518. uni.showToast({
  519. icon: 'none',
  520. title: "获取手机号失败,请检查"
  521. })
  522. }
  523. }).catch(error => {
  524. uni.showToast({
  525. icon: 'none',
  526. title: error
  527. })
  528. //this.getPhone()
  529. })
  530. }
  531. });
  532. } else {
  533. uni.showLoading({
  534. title: "加载中",
  535. mask: true,
  536. })
  537. API_weixin.findUserPhoneNumber(e.detail.code).then((res) => {
  538. if (res.data) {
  539. this.createUser(res.data)
  540. } else {
  541. uni.showToast({
  542. icon: 'none',
  543. title: "获取手机号失败,请检查"
  544. })
  545. }
  546. }).catch(error => {
  547. uni.showToast({
  548. icon: 'none',
  549. title: error
  550. })
  551. //this.getPhone()
  552. })
  553. }
  554. },
  555. customBack() {
  556. },
  557. toAuthentication() {
  558. var user = this.carhelp.getPersonInfo();
  559. if (!user.id) {
  560. uni.showToast({
  561. title:"请登录",
  562. icon:"none"
  563. })
  564. return false
  565. }
  566. uni.navigateTo({
  567. url: '/pages/packages/mine/otherServices/authentication'
  568. })
  569. },
  570. toShareEmployment() {
  571. uni.navigateTo({
  572. url: '/pages/packages/mine/employmentService/shareEmployment'
  573. })
  574. }
  575. }
  576. }
  577. </script>
  578. <style>
  579. page {
  580. background: #F0F0F2;
  581. padding-bottom: 150px;
  582. }
  583. </style>
  584. <style lang="scss" scoped>
  585. .swiper{
  586. margin: 32rpx;
  587. }
  588. .showImg {
  589. width: 38rpx;
  590. height: 38rpx;
  591. }
  592. .top {
  593. display: flex;
  594. align-items: center;
  595. padding: 40rpx 32rpx 88rpx;
  596. background: url(@/assets/img/mineCover.png), linear-gradient(180deg, rgba(39, 149, 253, 1) 0%, rgba(118, 182, 255, 1) 100%);
  597. background-repeat: no-repeat;
  598. background-position: right;
  599. .photo {
  600. /deep/.u-avatar {
  601. width: 120rpx !important;
  602. height: 120rpx !important;
  603. box-shadow: 0px 1px 3px 0px rgba(39, 149, 253, 100);
  604. border: 2px solid rgba(255, 255, 255, 1);
  605. }
  606. }
  607. .login {
  608. color: rgba(255, 255, 255, 1);
  609. font-size: 40rpx;
  610. text-align: left;
  611. font-family: 'PingFangSC-medium';
  612. margin-left: 24rpx;
  613. }
  614. .logined {
  615. color: rgba(255, 255, 255, 1);
  616. margin-left: 24rpx;
  617. .name {
  618. font-size: 40rpx;
  619. font-family: 'PingFangSC-medium';
  620. display: flex;
  621. align-items: center;
  622. .img-box {
  623. margin-left: 8rpx;
  624. overflow: hidden;
  625. img {
  626. width: 40rpx;
  627. height: 40rpx;
  628. vertical-align: middle;
  629. z-index: 999;
  630. position: relative;
  631. }
  632. }
  633. }
  634. .tel {
  635. margin-top: 8rpx;
  636. font-size: 32rpx;
  637. display: flex;
  638. img {
  639. width: 40rpx;
  640. height: 40rpx;
  641. }
  642. }
  643. }
  644. }
  645. .card1 {
  646. margin-top: -32rpx !important;
  647. }
  648. .card {
  649. background-color: #fff;
  650. border-radius: 12px;
  651. margin: 32rpx;
  652. padding: 32rpx;
  653. /deep/.u-grid-item {
  654. width: 25% !important;
  655. }
  656. .title {
  657. color: rgba(16, 16, 16, 1);
  658. font-size: 40rpx;
  659. margin-bottom: 20rpx;
  660. }
  661. .grid-text {
  662. color: rgba(51, 51, 51, 1);
  663. margin-top: 8rpx;
  664. }
  665. .icon {
  666. width: 56rpx;
  667. height: 56rpx;
  668. img {
  669. width: 100%;
  670. height: 100%;
  671. }
  672. }
  673. .badge-icon {
  674. position: absolute;
  675. top: 24rpx;
  676. right: 40rpx;
  677. width: 30rpx;
  678. height: 30rpx;
  679. }
  680. .checked {
  681. position: absolute;
  682. bottom: 72rpx;
  683. right: 40rpx;
  684. width: 30rpx;
  685. height: 30rpx;
  686. }
  687. }
  688. // 弹窗
  689. .u-mode-center-main {
  690. width: 560rpx !important;
  691. border-radius: 12px;
  692. padding: 80rpx 48rpx;
  693. .title {
  694. color: rgba(16, 16, 16, 1);
  695. font-size: 32rpx;
  696. font-family: 'PingFangSC-medium';
  697. }
  698. .login-btn {
  699. background-color: rgba(0, 188, 99, 1);
  700. color: #fff;
  701. padding: 8rpx 70rpx;
  702. margin-top: 56rpx;
  703. margin-bottom: 16rpx;
  704. border-radius: 8px;
  705. display: flex;
  706. font-size: 32rpx;
  707. text {
  708. margin-left: 8rpx;
  709. }
  710. }
  711. .radio {
  712. display: inline-block;
  713. width: 100%;
  714. display: flex;
  715. justify-content: center;
  716. font-size: 24rpx;
  717. color: #777777;
  718. margin-left: 20rpx;
  719. .uni-radio-input {
  720. width: 24rpx;
  721. height: 24rpx;
  722. }
  723. .uni-radio-input-checked:before {
  724. font-size: 24rpx;
  725. background-color: rgb(0, 122, 255);
  726. border-color: rgb(0, 122, 255);
  727. }
  728. }
  729. }
  730. .btncontact:after{
  731. content: none;
  732. }
  733. .btncontact{
  734. display: flex;
  735. flex-direction: column;
  736. background: white;
  737. padding:0;
  738. .icon{
  739. margin: 0 auto;
  740. }
  741. .grid-text{
  742. margin-top: 8rpx;
  743. font-size: 28rpx;
  744. line-height: 44rpx;
  745. }
  746. }
  747. .intentionClass{
  748. font-size: 32rpx;
  749. float: right;
  750. .intentionClassSpan{
  751. margin-left: 8rpx;
  752. }
  753. .intentionClassSpan1{
  754. color: #4caf50;
  755. }
  756. .intentionClassSpan2{
  757. color: #ff5722;
  758. }
  759. }
  760. </style>