staff.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978
  1. <template>
  2. <view class="join">
  3. <view class="banner">
  4. <image src="/static/login/banner.png" mode=""></image>
  5. </view>
  6. <view class="top">
  7. <view v-if="ShopInfo.merchant.auditStatus == 1 || ShopInfo.merchant.auditStatus == 2" class="checkBox"
  8. :style="{
  9. borderColor: ShopInfo.merchant.auditStatus == 1 ? '#F76560' : '#FF7D00',
  10. color: ShopInfo.merchant.auditStatus === 1 ? '#F53F3F' : '#FF7D00',
  11. background: ShopInfo.merchant.auditStatus === 1 ? '#FFF5F5' : '#FFF8EC'
  12. }">
  13. <view class="checkStatus">审核中</view>
  14. <view class="text">入驻审核中,审核结果将会在9个工作日通知您</view>
  15. </view>
  16. <view class="title">
  17. <view class="lineIcon">
  18. <image src="/static/login/lineIcon.png" mode=""></image>
  19. </view>
  20. <view style="position: relative;">申请入驻</view>
  21. </view>
  22. <view class="content">
  23. <view class="input-box">
  24. <u-input :disabled="ShopInfo.merchant.auditStatus == 1 ? true : false" v-model="form.teName"
  25. border="none" placeholder="输入真实姓名" class="input-item"
  26. placeholder-style="font-weight: 400;font-size: 30rpx;color: #C9CDD4;text-align: right;">
  27. <template slot="prefix">
  28. <view class="label">
  29. <text>姓名</text>
  30. </view>
  31. </template>
  32. </u-input>
  33. </view>
  34. <view class="input-box service">
  35. <view class="label">性别</view>
  36. <u-radio-group v-model="form.teSex" :disabled="ShopInfo.merchant.auditStatus == 1 ? true : false">
  37. <u-radio activeColor="#333335" v-for="(item, index) in sex" :key="index" :name="item.value"
  38. :label="item.label" :customStyle="{ margin: '0 12rpx' }" />
  39. </u-radio-group>
  40. </view>
  41. <view class="input-box">
  42. <u-input :disabled="ShopInfo.merchant.auditStatus == 1 ? true : false" v-model="form.tePhone"
  43. border="none" maxlength='11' placeholder="请输入手机号" class="input-item"
  44. placeholder-style="font-weight: 400;font-size: 30rpx;color: #C9CDD4;text-align: right;">
  45. <template slot="prefix">
  46. <view class="label">
  47. <text>手机号</text>
  48. </view>
  49. </template>
  50. </u-input>
  51. </view>
  52. <view class="input-box" v-if="this.ShopInfo.merchant.auditStatus != 1">
  53. <u-input :disabled="ShopInfo.merchant.auditStatus == -1 ? true : false" v-model="form.phoneMsg"
  54. type="number" border="none" maxlength="6" placeholder="输入短信验证码"
  55. placeholder-style="font-weight: 400;font-size: 30rpx;color: #C9CDD4;text-align: right;margin-right: 42rpx;"
  56. class="input-item code-input">
  57. <template slot="prefix">
  58. <view class="label">
  59. <text>验证码</text>
  60. </view>
  61. </template>
  62. </u-input>
  63. <view class="code-btn" :class="{ disabled: !canGetCode }" @click="getCode">
  64. <text v-if="!CodeSendNum" @click="getCode">发送验证码</text>
  65. <view v-else>
  66. <text v-if="startCountdownFlag">{{ countdown }}s</text>
  67. <text @click="agginGetCode">重新获取</text>
  68. </view>
  69. <!-- <text v-if="countdown === 60">发送验证码</text>
  70. <text v-else>{{ countdown }}s 后重新获取</text> -->
  71. </view>
  72. </view>
  73. <view class="input-box">
  74. <view class="label" style="width: 50%;">合作意向城市</view>
  75. <view class="inp select" @click="ShopInfo.merchant.auditStatus == 1 ? show = false : show = true">
  76. <view class="text" :style="{ color: form.provinceName ? '#4E5969' : '#C9CDD4' }">{{
  77. form.provinceName || '选择城市' }}</view>
  78. <img src="/static/login/arrowIcon.png" alt="" />
  79. </view>
  80. <u-popup :show="show" mode="bottom" border-radius="16rpx 16rpx 0 0"
  81. :style="{ height: '600rpx', zIndex: 9999, }">
  82. <u-picker :show="show" confirmColor="#fff" title="合作意向城市" :columns="[cityList]" keyName="label"
  83. :style="{ zIndex: 0, }" @confirm="onSelect" @cancel="cancel"></u-picker>
  84. </u-popup>
  85. </view>
  86. <view class="input-box service">
  87. <view class="label">开通服务</view>
  88. <u-radio-group v-model="form.openService" :disabled="ShopInfo.merchant.auditStatus == 1 ? true : false">
  89. <u-radio activeColor="#333335" v-for="(item, index) in serveArr" :key="index"
  90. :name="item.dictValue" :label="item.dictLabel" :customStyle="{ fontSize: '20rpx' }" />
  91. </u-radio-group>
  92. </view>
  93. <!-- :width="80" :height="80" -->
  94. <view class="updata">
  95. <view class="name">形象照</view>
  96. <view class="images">
  97. <Upload :disabled="ShopInfo.merchant.auditStatus == 1 ? true : false" :maxCount="2"
  98. :fileList="avatarList" @fileList="onUpload($event)"
  99. />
  100. </view>
  101. <view class="title">
  102. 请上传本人2张近期照片,图片大小不超过2M(建议清晰正脸照)
  103. </view>
  104. </view>
  105. <!-- <view class="updata" style="border:0;">
  106. <view class="name">工作形象照</view>
  107. <view class="title">
  108. 请上传本人近期照片,图片大小不超过10M (建议清晰正脸照)
  109. </view>
  110. <view class="images">
  111. <Upload
  112. :maxCount="2"
  113. @fileList="onUpload1($event, 'cImgList')"
  114. />
  115. </view>
  116. </view> -->
  117. </view>
  118. </view>
  119. <view class="submits" v-if="this.ShopInfo.merchant.auditStatus != 1">
  120. <view class="btn" @click="submit">
  121. 提交
  122. </view>
  123. <text>平台不会通过任何渠道泄漏你的个人信息,请放心输入</text>
  124. </view>
  125. <view class="keFu" @click="callKeFu">
  126. <view class="keFuContent">
  127. <view style="display: flex;justify-content: center;align-items: center;margin-top: 5rpx;">
  128. <img src="/static/login/serviceIcon.png" style="width: 44rpx;height: 44rpx;" />
  129. </view>
  130. <view style="font-weight: 400;font-size: 20rpx;color: #1D2129;text-align: center;margin-top: -10rpx;">客服
  131. </view>
  132. </view>
  133. </view>
  134. <!-- 图形验证码弹窗 -->
  135. <u-popup :show="showCaptcha" mode="center" border-radius="12">
  136. <view class="captcha-box">
  137. <view class="captcha-title">
  138. <view>请输入下方图形验证码</view>
  139. <u-icon custom-style="position: relative;left:90rpx ;" name="close" color="#C9CDD4" size="20"
  140. @click="showCaptcha = false"></u-icon>
  141. </view>
  142. <view style="padding: 0 48rpx;margin-top: 48rpx;">
  143. <view
  144. style="display: flex;justify-content: space-between;height: 106rpx;border-bottom: 1rpx solid #E7E7E7;">
  145. <!-- 验证码输入框,唤起全字符键盘 -->
  146. <u-input v-model="imgCode" placeholder="请输入图形验证码" :focus="showCaptcha" type="text" maxlength="4"
  147. border="none"
  148. placeholder-style="font-weight: 400;font-size: 30rpx;color: #C9CDD4;"></u-input>
  149. <!-- 图形验证码图片,点击刷新 -->
  150. <image :src="captchaImg" @click="refreshCaptcha" class="captcha-img"></image>
  151. </view>
  152. <view class="text">看不清? 换一张</view>
  153. <u-button class="submitImgCode" @click="submitImgCode" block>确定</u-button>
  154. </view>
  155. </view>
  156. </u-popup>
  157. </view>
  158. </template>
  159. <script>
  160. import {
  161. getCityList, technicianApply, sendMsg, getServiceCategoryList, getTechnician
  162. } from '@/api/index';
  163. import {
  164. captchaImage
  165. } from '@/api/newLogin';
  166. import Upload from '@/components/upload/index.vue';
  167. export default {
  168. components: {
  169. Upload
  170. },
  171. computed: {
  172. canGetCode() {
  173. return !this.isSendingCode && this.countdown === 60
  174. },
  175. // canBind() {
  176. // return this.phoneMsg && this.phoneMsg.length === 6 && !this.isBinding
  177. // }
  178. },
  179. data() {
  180. return {
  181. //auditStatus 审核状态:-1-申请入住,0-待入驻,1-待审核,2-审核通过,3-审核驳回"
  182. status: 1,
  183. imgCode: '', // 用户填写的图形验证码
  184. captchaImg: '', // 图形验证码图片地址
  185. captchaKey: '', // 后端返回验证码标识
  186. showCaptcha: false,
  187. startCountdownFlag: false,
  188. timer: null,
  189. isSendingCode: false,
  190. countdown: 60,
  191. cityList: [],
  192. show: false,
  193. isLogin: false,
  194. type: 'text',
  195. isShow: false,
  196. sex: [
  197. {
  198. value: 1,
  199. label: '男'
  200. },
  201. {
  202. value: 0,
  203. label: '女'
  204. }
  205. ],
  206. serveArr: [
  207. // {
  208. // value: 1,
  209. // label: '上门按摩'
  210. // },
  211. // {
  212. // value: 2,
  213. // label: '同城陪玩'
  214. // }
  215. ],
  216. avatarList: [],
  217. CodeSendNum: 0,
  218. form: {
  219. provinceCode: '',
  220. provinceName: '',
  221. cityCode: '',
  222. cityName: '',
  223. districtCode: '',
  224. districtName: '',
  225. cOpenid: uni.getStorageSync('wx_copenid'),
  226. teName: '',
  227. //cNickName: '',
  228. //cPortrait: '',
  229. tePhone: '',
  230. phoneMsg: '',
  231. //cJianjie: '',
  232. teSex: null,
  233. openService: null,
  234. //cSfzImg: [],
  235. avatar: '',
  236. //latitude: '',
  237. //longitude: '',
  238. //name: '0',
  239. //cOpenId: '',
  240. //cBhList: '',
  241. //teAddress: ''
  242. },
  243. token: '',
  244. uuid: '',
  245. ShopInfo: {merchant:{auditStatus: 0}}
  246. }
  247. },
  248. onLoad(options) {
  249. console.log(options, '66666')
  250. if (options.ShopInfo) this.ShopInfo = JSON.parse(options.ShopInfo)
  251. console.log(this.ShopInfo, 'ShopInfo')
  252. this.isLogin = !!uni.getStorageSync('access-token');
  253. },
  254. onShow() {
  255. this.getServiceCategoryList()
  256. this.getCity()
  257. //this.getinfo()
  258. // let city = uni.getStorageSync('selectCity')
  259. // let lastCity = city.charAt(city.length - 1)
  260. // lastCity == '市' ? this.form.city = city.slice(0, -1) : this.form.city = city
  261. // this.form.city = uni.getStorageSync('selectCity')
  262. },
  263. methods: {
  264. // upload事件
  265. onUpload1(e, t) {
  266. this.form[t] = e.map(item => item.url).join()
  267. },
  268. //查询商户信息 auditStatus 审核状态:-1-申请入住,0-待入驻,1-待审核,2-审核通过,3-审核驳回"
  269. getTechnicianFun() {
  270. let openid = uni.getStorageSync('wx_copenid')
  271. getTechnician({ openid: openid }).then(res => {
  272. console.log(res)
  273. if (res.data.code == 200) {
  274. if (!res.data.result) return
  275. this.ShopInfo = res.data.result
  276. if (res.data.result.auditStatus == -1) {
  277. uni.navigateTo({
  278. url: '/pages/join/staff'
  279. })
  280. } else if (res.data.result.auditStatus == 0) {
  281. let str = uni.$u.queryParams(res.data.result)
  282. uni.navigateTo({ url: `/pages/join/staff${str}` })
  283. }
  284. }
  285. })
  286. },
  287. //图形验证码提交
  288. submitImgCode() {
  289. if (!this.imgCode) {
  290. uni.showToast({
  291. title: '请输入验证码',
  292. icon: 'none'
  293. })
  294. return
  295. }
  296. sendMsg33333({ uuid: this.uuid, imgCode: this.imgCode }).then(res => {
  297. console.log(res)
  298. if (res.data.code == 200) {
  299. this.showCaptcha = false
  300. this.getCode()
  301. }
  302. })
  303. },
  304. //查询开通服务接口
  305. getServiceCategoryList() {
  306. getServiceCategoryList('service_tag').then(res => {
  307. this.serveArr = res.data.data
  308. console.log(this.serveArr)
  309. })
  310. },
  311. //重新获取验证码
  312. agginGetCode() {
  313. if (!this.form.tePhone) {
  314. uni.showToast({
  315. title: '请输入手机号',
  316. icon: 'none'
  317. })
  318. return
  319. }
  320. if (!/^1[3456789]\d{9}$/.test(this.form.tePhone)) {
  321. uni.showToast({
  322. title: '请输入正确的手机号',
  323. icon: 'none'
  324. })
  325. return
  326. }
  327. captchaImage().then(res => {
  328. console.log(res)
  329. if (res.data.code == 200) {
  330. this.uuid = res.data.uuid
  331. }
  332. })
  333. this.showCaptcha = true
  334. },
  335. //获取验证码
  336. getCode() {
  337. if (!/^1[3456789]\d{9}$/.test(this.form.tePhone)) {
  338. uni.showToast({
  339. title: '请输入正确的手机号',
  340. icon: 'none'
  341. });
  342. return;
  343. }
  344. if (this.isSendingCode || this.countdown < 60) return
  345. this.isSendingCode = true
  346. sendMsg({ phone: this.form.tePhone }).then(res => {
  347. console.log(res)
  348. if (res.data.code == 200) {
  349. uni.showToast({
  350. title: '验证码已发送',
  351. icon: 'none'
  352. })
  353. this.CodeSendNum = 1
  354. this.startCountdown()
  355. this.isSendingCode = false
  356. } else {
  357. uni.showToast({
  358. title: res.msg,
  359. icon: 'none'
  360. });
  361. }
  362. })
  363. },
  364. startCountdown() {
  365. this.startCountdownFlag = true
  366. this.countdown = 60
  367. this.timer = setInterval(() => {
  368. this.countdown--
  369. if (this.countdown <= 0) {
  370. clearInterval(this.timer)
  371. this.startCountdownFlag = false
  372. //this.countdown = 60
  373. this.timer = null
  374. }
  375. }, 1000)
  376. },
  377. // upload事件
  378. onUpload(e) {
  379. this.avatarList = e;
  380. },
  381. //提交
  382. submit() {
  383. console.log(this.avatarList, 'avatarList')
  384. console.log(this.form)
  385. // var openids = uni.getStorageSync('wx_copenid')
  386. // this.form.cOpenId = openids
  387. // this.form.cAddress =this.form.cAddress
  388. // this.form.cSfzImg = this.idCard
  389. // that.data.form.cBhList = that.data.form.cBhList.join(", ")
  390. if (this.form.teName == '') {
  391. uni.showToast({
  392. title: '请输入您的姓名',
  393. icon: 'none'
  394. })
  395. return
  396. }
  397. if (this.form.teSex === null) {
  398. uni.showToast({
  399. title: '请选择您的性别',
  400. icon: 'none'
  401. })
  402. return
  403. }
  404. if (!/^1[3456789]\d{9}$/.test(this.form.tePhone)) {
  405. uni.showToast({
  406. title: '请输入正确的手机号',
  407. icon: 'none'
  408. });
  409. return;
  410. }
  411. if (this.form.phoneMsg == '') {
  412. uni.showToast({
  413. title: '请输入验证码',
  414. icon: 'none'
  415. });
  416. return
  417. }
  418. if (this.form.provinceName == '') {
  419. uni.showToast({
  420. title: '请选择城市',
  421. icon: 'none'
  422. });
  423. return
  424. }
  425. if (!this.form.openService) {
  426. uni.showToast({
  427. title: '请选择开通服务',
  428. icon: 'none'
  429. });
  430. return
  431. }
  432. if (this.avatarList.length) {
  433. this.form.avatar = this.avatarList.map(item => item.url).join(',')
  434. }
  435. if (this.avatarList.length < 1) {
  436. uni.showToast({
  437. title: '最少上传一张工作形象照',
  438. icon: 'none'
  439. });
  440. return
  441. } else {
  442. technicianApply(this.form).then(res => {
  443. if (res.data.code == 200) {
  444. uni.setStorageSync('wx_phone', this.form.tePhone)
  445. uni.showToast({
  446. title: res.data.message,
  447. icon: 'none'
  448. })
  449. this.getTechnicianFun()
  450. } else {
  451. uni.showToast({
  452. title: res.msg,
  453. icon: 'none'
  454. });
  455. }
  456. })
  457. }
  458. },
  459. //获取城市
  460. getCity() {
  461. getCityList().then(res => {
  462. console.log(res)
  463. this.cityList = res.data.data.records.map(({
  464. deptId,
  465. deptName
  466. }) => ({
  467. value: deptId,
  468. label: deptName
  469. }))
  470. });
  471. },
  472. selectCity() {
  473. this.show = true
  474. },
  475. cancel() {
  476. console.log('cancel')
  477. this.show = false
  478. },
  479. onSelect(e) {
  480. console.log(e)
  481. if (!e.value[0]) return
  482. this.form.provinceName = e.value[0].label
  483. this.form.provinceCode = e.value[0].value
  484. //this.form.deptId = e.value[0].value
  485. this.show = false
  486. },
  487. // goCity() {
  488. // uni.navigateTo({
  489. // url: '/pages/identify/city?type=' + 'indent'
  490. // })
  491. // },
  492. // getAddress() {
  493. // uni.chooseLocation({
  494. // success: res => {
  495. // this.form.name = res.name;
  496. // this.form.latitude = res.latitude;
  497. // this.form.longitude = res.longitude;
  498. // // this.form.address = res.address
  499. // }
  500. // });
  501. // },
  502. },
  503. mounted() {
  504. this.token = uni.getStorageSync('access-token'); // 假设token保存在本地缓存中
  505. },
  506. beforeDestroy() {
  507. if (this.timer) {
  508. clearInterval(this.timer)
  509. this.timer = null
  510. }
  511. }
  512. }
  513. </script>
  514. <style lang="scss" scoped>
  515. ::v-deep .u-upload__success {
  516. display: none;
  517. }
  518. ::v-deep .u-picker {
  519. bottom: 136rpx;
  520. background-color: #ffffff;
  521. position: relative;
  522. }
  523. ::v-deep .u-toolbar__cancel__wrapper {
  524. width: 30rpx;
  525. height: 30rpx;
  526. position: absolute;
  527. right: 32rpx;
  528. background-image: url('/static/login/closeIcon.png');
  529. background-repeat: no-repeat;
  530. background-size: 100% 100%;
  531. .u-toolbar__wrapper__cancel {
  532. width: 30rpx;
  533. height: 30rpx;
  534. span {
  535. display: none;
  536. }
  537. }
  538. }
  539. /* 关键:穿透隐藏原生 toolbar,只留插槽内容 */
  540. .u-toolbar {
  541. z-index: 9999 !important;
  542. display: block !important;
  543. }
  544. ::v-deep .u-toolbar__cancel__wrapper {
  545. color: #666;
  546. }
  547. ::v-deep .u-toolbar__confirm__wrapper {
  548. position: fixed;
  549. bottom: 0;
  550. width: 100%;
  551. padding: 24rpx 48rpx;
  552. .u-toolbar__wrapper__confirm {
  553. width: 654rpx;
  554. height: 88rpx;
  555. background: #333335;
  556. border-radius: 60rpx 60rpx 60rpx 60rpx;
  557. font-weight: 400;
  558. font-size: 32rpx;
  559. color: #FFFFFF;
  560. text-align: center;
  561. display: flex;
  562. align-items: center;
  563. justify-content: center;
  564. }
  565. }
  566. .captcha-box {
  567. width: 622rpx;
  568. background: #FFFFFF;
  569. border-radius: 32rpx 32rpx 32rpx 32rpx;
  570. .captcha-title {
  571. display: flex;
  572. justify-content: center;
  573. align-items: center;
  574. font-weight: 500;
  575. font-size: 32rpx;
  576. color: #333333;
  577. text-align: center;
  578. padding: 32rpx 0;
  579. border-bottom: 1rpx solid #E7E7E7;
  580. }
  581. .captcha-img {
  582. //width: 100%;
  583. width: 200rpx;
  584. height: 106rpx;
  585. }
  586. .submitImgCode {
  587. width: 526rpx;
  588. height: 80rpx;
  589. background: linear-gradient(263deg, #45FFD7 0%, #7FFFBD 100%);
  590. border-radius: 60rpx 60rpx 60rpx 60rpx;
  591. margin-top: 48rpx;
  592. font-weight: 500;
  593. font-size: 32rpx;
  594. color: #1D2129;
  595. text-align: center;
  596. margin-bottom: 48rpx;
  597. }
  598. .text {
  599. margin-top: 12rpx;
  600. font-weight: 400;
  601. font-size: 28rpx;
  602. color: #86909C;
  603. text-align: right;
  604. }
  605. .u-input {}
  606. }
  607. .join {
  608. height: 105vh;
  609. overflow: auto;
  610. background-color: #F7F8FA;
  611. .banner {
  612. width: 100%;
  613. height: 304rpx;
  614. image {
  615. width: 100%;
  616. height: 100%;
  617. }
  618. }
  619. .top {
  620. margin: 0 32rpx;
  621. position: relative;
  622. padding: 32rpx;
  623. box-sizing: border-box;
  624. margin-top: -42rpx;
  625. background-color: #FFF;
  626. border-radius: 16rpx;
  627. .checkBox {
  628. padding: 24rpx;
  629. width: 622rpx;
  630. height: 134rpx;
  631. border-radius: 8rpx 8rpx 8rpx 8rpx;
  632. border: 1rpx solid #111111;
  633. margin-bottom: 32rpx;
  634. //color: #FF7D00;
  635. .checkStatus {
  636. font-weight: 500;
  637. font-size: 30rpx;
  638. text-align: left;
  639. }
  640. .text {
  641. margin-top: 8rpx;
  642. font-weight: 400;
  643. font-size: 26rpx;
  644. text-align: left;
  645. }
  646. }
  647. .title {
  648. font-weight: 500;
  649. font-size: 36rpx;
  650. color: #1D2129;
  651. line-height: 36rpx;
  652. position: relative;
  653. .lineIcon {
  654. position: absolute;
  655. top: 10rpx;
  656. width: 130rpx;
  657. height: 24rpx;
  658. image {
  659. width: 100%;
  660. height: 100%;
  661. }
  662. }
  663. }
  664. .content {
  665. width: 100%;
  666. height: auto;
  667. box-sizing: border-box;
  668. box-shadow: 0 4rpx 12rpx 0 rgba(209, 168, 88, 0.1);
  669. border-radius: 24rpx;
  670. .input-box {
  671. width: 622rpx;
  672. height: 110rpx;
  673. background: #ffffff00 !important;
  674. display: flex;
  675. align-items: center;
  676. justify-content: space-between;
  677. border-bottom: 1rpx solid #E7E7E7;
  678. .u-input {
  679. background: #ffffff00 !important;
  680. }
  681. .label {
  682. font-weight: 400;
  683. font-size: 30rpx;
  684. color: #1D2129;
  685. text-align: left;
  686. }
  687. .input-item {
  688. flex: 1;
  689. }
  690. .captcha-img {
  691. width: 30rpx;
  692. height: 30rpx;
  693. }
  694. ::v-deep .uni-input-input {
  695. font-weight: 400;
  696. font-size: 30rpx;
  697. color: #4E5969;
  698. text-align: right;
  699. }
  700. .code-input {
  701. margin-right: 42rpx;
  702. border: 1px solid re;
  703. }
  704. .code-btn {
  705. font-weight: 400;
  706. font-size: 30rpx;
  707. color: #19D29B;
  708. text-align: center;
  709. font-style: normal;
  710. text-transform: none;
  711. }
  712. // .name {
  713. // width: 31%;
  714. // margin-bottom: 20rpx;
  715. // }
  716. .inp {
  717. width: 100%;
  718. }
  719. .select {
  720. width: 100%;
  721. display: flex;
  722. align-items: center;
  723. justify-content: flex-end;
  724. .text {
  725. font-weight: 400;
  726. font-size: 30rpx;
  727. text-align: right;
  728. }
  729. img {
  730. width: 22rpx;
  731. height: 22rpx;
  732. }
  733. }
  734. }
  735. .page-section {
  736. width: 100%;
  737. font-size: 28rpx;
  738. height: 106rpx;
  739. display: flex;
  740. align-items: center;
  741. }
  742. .service {
  743. /* 普通中文/英文自动换行 */
  744. word-wrap: break-word;
  745. word-break: break-all;
  746. white-space: normal;
  747. .u-radio-group--row {
  748. display: flex;
  749. justify-content: flex-end;
  750. flex-wrap: wrap;
  751. /* 放不下自动换行 */
  752. gap: 10px;
  753. /* 间距,可选 */
  754. }
  755. .u-radio {
  756. /* 减去3个gap宽度,均分4份 */
  757. // width: calc((100% - 2 * 12px) / 3);
  758. // box-sizing: border-box;
  759. }
  760. ::v-deep .u-radio__text {
  761. font-weight: 400;
  762. font-size: 30rpx;
  763. color: #f10000;
  764. text-align: right;
  765. }
  766. }
  767. .code-box {
  768. .code-btn {
  769. width: 200rpx;
  770. text-align: right;
  771. font-size: 28rpx;
  772. color: #2DB1A8;
  773. line-height: 88rpx;
  774. &.disabled {
  775. color: #2DB1A8;
  776. }
  777. }
  778. }
  779. .updata {
  780. margin-top: 32rpx;
  781. width: 100%;
  782. .name {
  783. font-weight: 400;
  784. font-size: 30rpx;
  785. color: #1D2129;
  786. text-align: left;
  787. }
  788. .images {
  789. border-radius: 12rpx 12rpx 12rpx 12rpx;
  790. margin-top: 16rpx;
  791. }
  792. .title {
  793. font-weight: 400;
  794. font-size: 26rpx;
  795. color: #86909C;
  796. text-align: justified;
  797. overflow: hidden;
  798. // text-overflow: ellipsis;
  799. white-space: nowrap;
  800. }
  801. }
  802. }
  803. }
  804. .submits {
  805. padding: 24rpx 48rpx;
  806. background-color: #fff;
  807. position: fixed;
  808. bottom: 0;
  809. width: 100%;
  810. margin-top: 28rpx;
  811. text {
  812. font-weight: 400;
  813. font-size: 22rpx;
  814. color: #86909C;
  815. display: block;
  816. width: 100%;
  817. margin-top: 10rpx;
  818. text-align: center;
  819. }
  820. .btn {
  821. width: 654rpx;
  822. height: 88rpx;
  823. background: #333335;
  824. border-radius: 60rpx 60rpx 60rpx 60rpx;
  825. font-weight: 500;
  826. font-size: 32rpx;
  827. color: #FFFFFF;
  828. text-align: center;
  829. display: flex;
  830. justify-content: center;
  831. align-items: center;
  832. }
  833. }
  834. }
  835. .keFu {
  836. position: fixed;
  837. right: 0;
  838. bottom: 290rpx;
  839. width: 100rpx;
  840. height: 100rpx;
  841. background: linear-gradient(263deg, rgba(69, 255, 215, 0.4) 0%, rgba(127, 255, 189, 0.4) 100%);
  842. border-radius: 50%;
  843. //opacity: 0.4;
  844. display: flex;
  845. justify-content: center;
  846. align-items: center;
  847. .keFuContent {
  848. width: 76rpx;
  849. height: 76rpx;
  850. background: linear-gradient(263deg, rgba(69, 255, 215, 0.5) 0%, rgba(127, 255, 189, 0.5) 100%);
  851. border-radius: 50%;
  852. //opacity: 0.5;
  853. }
  854. }
  855. </style>