settledShipyard.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  1. <template>
  2. <view class="content">
  3. <view v-if="state == 0">
  4. <view class="box">
  5. <view class="title">船厂信息</view>
  6. <view class="cell vflex">
  7. <view class="img_title left">船厂头像</view>
  8. <view style="width: 220rpx;height: 220rpx;padding-top: 28rpx;">
  9. <u-upload :fileList="info.fileList1" @afterRead="afterRead" @delete="deletePic" :maxCount="1" name="1" multiple :previewFullImage="true" width="220rpx" height="220rpx">
  10. <view class="vflex acenter jcenter upload_bg">
  11. <u-icon name="plus" color="#929292" size="20"></u-icon>
  12. <view class="upload_text">上传图片</view>
  13. </view>
  14. </u-upload>
  15. </view>
  16. </view>
  17. <view class="hflex acenter jbetween cell">
  18. <view class="left">船厂名称</view>
  19. <u-input v-model="info.name" border="none" placeholder="请输入船厂名称" inputAlign="right"></u-input>
  20. </view>
  21. <view class="hflex acenter jbetween cell" @click="selectmap">
  22. <view class="left">船厂地址</view>
  23. <u-input v-model="addressObj.address" border="none" disabled disabledColor="#fff" placeholder="请选择" inputAlign="right" suffixIcon="map-fill" suffixIconStyle="color: #B7B7B7"></u-input>
  24. </view>
  25. <view class="hflex acenter jbetween cell">
  26. <view class="left">联系人</view>
  27. <u-input v-model="info.contacts" border="none" placeholder="请输入联系人姓名" inputAlign="right"></u-input>
  28. </view>
  29. <view class="hflex acenter jbetween cell">
  30. <view class="left">联系电话</view>
  31. <u-input v-model="info.phone" border="none" placeholder="请输入联系电话" inputAlign="right"></u-input>
  32. </view>
  33. <view class="hflex acenter jbetween cell">
  34. <view class="left">船厂人数</view>
  35. <u-input v-model="info.num_staff" border="none" placeholder="请输入范围值,例如10-50" inputAlign="right"></u-input>
  36. </view>
  37. <view class="vflex cell" style="border: none;">
  38. <view class="left">船厂简介</view>
  39. <u--textarea v-model="info.introduction" placeholder="在此输入船厂简介内容" ></u--textarea>
  40. </view>
  41. <view class="vflex">
  42. <view class="img_title">船厂环境</view>
  43. <view class="hflex fwrap" style="padding-top: 28rpx;">
  44. <u-upload :fileList="info.fileList2" @afterRead="afterRead" @delete="deletePic" :maxCount="9" name="2" multiple :previewFullImage="true" width="200rpx" height="200rpx">
  45. <view class="vflex acenter jcenter upload_bg">
  46. <u-icon name="plus" color="#929292" size="20"></u-icon>
  47. <view class="upload_text">上传图片</view>
  48. </view>
  49. </u-upload>
  50. </view>
  51. </view>
  52. <view class="vflex cell" style="border: none;">
  53. <view class="left">产品简介</view>
  54. <u--textarea v-model="info.product_intro" placeholder="在此输入产品简介内容" ></u--textarea>
  55. </view>
  56. </view>
  57. <view class="box">
  58. <view class="cell" style="border: none;padding: none;">
  59. <view class="img_title">上传营业执照</view>
  60. <view class="upload_img vflex acenter jcenter">
  61. <u-upload :fileList="info.fileList3" @afterRead="afterRead" @delete="deletePic" :maxCount="1" name="3" multiple :previewFullImage="true" width="550rpx" height="324rpx">
  62. <view class="" style="position: relative;">
  63. <image src="https://ship.shipcc.cn/common/upload-business.png" style="width: 550rpx;height: 324rpx;"></image>
  64. <image src="@/static/images/mine/upload_center.png" style="position: absolute;top:102rpx;left: 216rpx; width: 120rpx;height: 120rpx;"></image>
  65. </view>
  66. <!-- <image src="https://ship.shipcc.cn/common/upload-business.png" style="width: 550rpx;height: 324rpx;"></image> -->
  67. </u-upload>
  68. <view class="hflex acenter ">
  69. <u-icon name="camera" color="#999999" size="16"></u-icon>
  70. <view class="">点击上传营业执照</view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="hflex acenter">
  76. <u-checkbox-group @change="checkboxChange">
  77. <u-checkbox v-model="agree" shape="circle"></u-checkbox>
  78. </u-checkbox-group>
  79. <view class="text">阅读并同意<span class="read" @click="open">《船厂入驻规则》</span></view>
  80. </view>
  81. <view class="button hflex acenter jcenter" @click="settled">
  82. <view>立即入驻</view>
  83. </view>
  84. </view>
  85. <view v-if="state == 1">
  86. <view class="box1 vflex acenter jcenter">
  87. <image src="https://ship.shipcc.cn/common/wait.png" class="box1_img"></image>
  88. <view class="box1_title">审核中</view>
  89. <view class="box1_subTitle">预计审核时间3个工作日</view>
  90. <view class="box1_subTitle">请留意当前页面变动</view>
  91. <view class="btn" @click="result">返回</view>
  92. </view>
  93. </view>
  94. <view v-if="state == 2">
  95. <view class="box1 vflex acenter jcenter">
  96. <u-icon name="checkmark-circle-fill" color="#65B85D" size="62"></u-icon>
  97. <view class="box1_title">您已入驻成功</view>
  98. <view class="box1_text">请访问以下pc端地址进行船厂信息维护以及</view>
  99. <view class="box1_text">招聘信息的发布</view>
  100. <view class="hflex acenter jbetween lianjie">
  101. <view class="lj_text text_hide">{{login_url}}</view>
  102. <view class="text_blue"@click="copy(login_url)">复制链接</view>
  103. </view>
  104. <view class="hflex acenter" style="width: 570rpx;padding-top: 36rpx;">
  105. <view class="label">
  106. 账号:
  107. </view>
  108. <view class="text_blue">{{phone}}</view>
  109. </view>
  110. <view class="hflex acenter" style="width: 570rpx;padding-top: 36rpx;">
  111. <view class="label">
  112. 密码:
  113. </view>
  114. <view class="text_blue">123456</view>
  115. </view>
  116. <view class="card hflex">
  117. <image src="@/static/images/info_img.png" mode="aspectFill" class="icon"></image>
  118. <!-- <u-icon name="checkmark-circle-fill" color="#FE5201" size="12"></u-icon> -->
  119. <view class="card_text">
  120. 该密码为系统默认密码,登录后<span style="color: #FE5201;">请及时修改密码</span>,以防账号内<span style="color: #FE5201;">数据丢失</span>。
  121. </view>
  122. </view>
  123. <view class="btn" @click="result">返回</view>
  124. </view>
  125. </view>
  126. <view v-if="state == 3">
  127. <view class="box1 vflex acenter jcenter">
  128. <image src="https://ship.shipcc.cn/common/error.png" class="box1_img"></image>
  129. <view class="box1_title">审核失败</view>
  130. <view class="box1_subTitle">驳回原因</view>
  131. <view class="box1_subTitle">{{reason}}<span style="color: #506dff;margin-left: 8rpx;" @click="edit">立即修改></span></view>
  132. <view class="btn" @click="result">返回</view>
  133. </view>
  134. </view>
  135. <u-modal :show="showProtocol" :title="protocolTitle" confirmColor="#2988FE" @confirm="isRead" confirmText="我已阅读">
  136. <view class="slot-content">
  137. <rich-text :nodes="protocolContent"></rich-text>
  138. </view>
  139. </u-modal>
  140. </view>
  141. </template>
  142. <script>
  143. import $api from '@/static/js/api.js'
  144. var that = ''
  145. export default {
  146. data() {
  147. return {
  148. info: {
  149. id: '',
  150. name: '',
  151. address: '',
  152. contacts: '',
  153. phone: '',
  154. introduction: '',
  155. fileList1: [],
  156. fileList2: [],
  157. fileList3: [],
  158. product_intro:''
  159. },
  160. addressObj: {},
  161. agree: false,
  162. showProtocol: false,
  163. protocolTitle: '',
  164. protocolContent: '',
  165. state: 0,
  166. reason:'',
  167. fileList1: '',
  168. fileList2: '',
  169. fileList3: '',
  170. login_url: '',
  171. phone: '',
  172. }
  173. },
  174. onLoad() {
  175. that = this
  176. that.getPreData()
  177. },
  178. methods: {
  179. getPreData() {
  180. var pages = getCurrentPages()
  181. var prePage = pages[pages.length - 2]
  182. var shipyard = prePage.$vm.user.shipyard
  183. that.phone = prePage.$vm.user.phone
  184. if (shipyard) {
  185. that.info = {
  186. name: shipyard.name,
  187. contacts: shipyard.contact_name,
  188. phone: shipyard.contact_phone,
  189. introduction: shipyard.intro,
  190. num_staff: shipyard.num_staff,
  191. fileList1: [],
  192. fileList2: [],
  193. fileList3: [],
  194. product_intro: shipyard.product_intro,
  195. // fileList1: shipyard.business_img.split(','),
  196. id: shipyard.id
  197. }
  198. if(shipyard.head_img !== null) {
  199. that.info.fileList1.push({
  200. url: shipyard.head_img
  201. })
  202. that.fileList1 = shipyard.head_img
  203. }
  204. var imgs = shipyard.environment_imgs
  205. for(var i=0;i<imgs.length;i++) {
  206. that.info.fileList2.push({
  207. url: imgs[i]
  208. })
  209. }
  210. that.fileList2 = shipyard.environment_imgs
  211. that.info.fileList3.push({
  212. url: shipyard.business_img
  213. })
  214. that.fileList3 = shipyard.business_img
  215. console.log(that.info);
  216. that.addressObj = {
  217. address: shipyard.address,
  218. province: shipyard.province,
  219. city:shipyard.city,
  220. area:shipyard.area,
  221. longitude: shipyard.longitude,
  222. latitude: shipyard.latitude,
  223. }
  224. that.state = shipyard.audit
  225. that.reason = shipyard.why
  226. that.login_url = shipyard.login_url
  227. }
  228. },
  229. selectmap() {
  230. console.log('选择地址');
  231. uni.getLocation({
  232. type: 'wgs84',
  233. success: (res)=>{
  234. console.log(res);
  235. if(res.longitude && res.latitude){
  236. $api.jump('/pages/user/map?lng='+res.longitude+'&lat='+res.latitude)
  237. }
  238. },
  239. fail:()=>{
  240. uni.getSetting({
  241. success: (res) => {
  242. console.log(res);
  243. var status = res.authSetting;
  244. if(!status['scope.userLocation']){
  245. uni.showModal({
  246. title:"是否授权当前位置",
  247. content:"需要获取您的地理位置,请确认授权,否则地图功能将无法使用",
  248. success:(tip)=>{
  249. if(tip.confirm){
  250. uni.openSetting({
  251. success:(data)=>{
  252. if(data.authSetting['scope.userLocation']===true){
  253. uni.showToast({
  254. title:"授权成功",
  255. icon:"success",
  256. duration:1000
  257. })
  258. uni.getLocation({
  259. type: 'wgs84',
  260. success: (res)=>{
  261. console.log('当前位置的经度:' + res.longitude);
  262. console.log('当前位置的纬度:' + res.latitude);
  263. $api.jump('/pages/user/map?lng='+res.longitude+'&lat='+res.latitude)
  264. }
  265. })
  266. }else{
  267. uni.showToast({
  268. title:"授权失败",
  269. icon:"none",
  270. duration:1000
  271. })
  272. }
  273. }
  274. })
  275. }
  276. }
  277. })
  278. }else{
  279. uni.getLocation({
  280. type: 'wgs84',
  281. success: (res)=>{
  282. console.log('当前位置的经度:' + res.longitude);
  283. console.log('当前位置的纬度:' + res.latitude);
  284. $api.jump('/pages/user/map?lng='+res.longitude+'&lat='+res.latitude)
  285. }
  286. })
  287. }
  288. },
  289. fail: (res) => {
  290. uni.showToast({
  291. title:"调用授权窗口失败",
  292. icon:"none",
  293. duration:1000
  294. })
  295. }
  296. })
  297. }
  298. })
  299. },
  300. // 删除图片
  301. deletePic(event) {
  302. // that.userInfo.imgList.splice(event.index, 1)
  303. console.log(event)
  304. if(event.name !== '2') {
  305. that.info[`fileList${event.name}`] = []
  306. that[`fileList${event.name}`] = ''
  307. } else {
  308. that[`fileList${event.name}`] = ''
  309. that.info[`fileList${event.name}`].splice(event.index, 1)
  310. if(that.info[`fileList${event.name}`].length > 0) {
  311. for(var i=0;i<that.info[`fileList${event.name}`].length;i++) {
  312. if(i == that.info[`fileList${event.name}`].length -1) {
  313. that[`fileList${event.name}`] += that.info[`fileList${event.name}`][i].url
  314. } else {
  315. that[`fileList${event.name}`] += that.info[`fileList${event.name}`][i].url + ','
  316. }
  317. }
  318. }
  319. }
  320. },
  321. // 新增图片
  322. async afterRead(event) {
  323. uni.showLoading({
  324. title: '上传中',
  325. mask: true
  326. })
  327. console.log(`fileList${event.name}`);
  328. console.log(this.info[`fileList${event.name}`]);
  329. let lists = [].concat(event.file)
  330. let fileListLen = this.info[`fileList${event.name}`].length
  331. lists.map((item) => {
  332. this.info[`fileList${event.name}`].push({
  333. ...item,
  334. status: 'uploading',
  335. message: '上传中'
  336. })
  337. })
  338. for (let i = 0; i < lists.length; i++) {
  339. const result = await this.uploadFilePromise(lists[i].url)
  340. let item = this.info[`fileList${event.name}`][fileListLen]
  341. this.info[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  342. status: 'success',
  343. message: '',
  344. url: result.url
  345. }))
  346. fileListLen++
  347. if(lists.length - 1 == i) {
  348. uni.hideLoading()
  349. }
  350. }
  351. that[`fileList${event.name}`] = ""
  352. if(that.info[`fileList${event.name}`].length > 0) {
  353. for(var i=0;i<that.info[`fileList${event.name}`].length;i++) {
  354. if(i == that.info[`fileList${event.name}`].length -1) {
  355. that[`fileList${event.name}`] += that.info[`fileList${event.name}`][i].url
  356. } else {
  357. that[`fileList${event.name}`] += that.info[`fileList${event.name}`][i].url + ','
  358. }
  359. }
  360. }
  361. },
  362. // 上传图片
  363. uploadFilePromise(url) {
  364. return new Promise((resolve, reject) => {
  365. let a = uni.uploadFile({
  366. url: $api.config.baseUrl + '/data/api.auth.Center/upload',
  367. filePath: url,
  368. name: 'file',
  369. header: {
  370. 'content-type': 'application/x-www-form-urlencoded',
  371. 'api-token': uni.getStorageSync('token').token?uni.getStorageSync('token').token:'',
  372. 'api-name': 'wxapp'
  373. },
  374. formData: {
  375. user: 'test'
  376. },
  377. success: (res) => {
  378. setTimeout(() => {
  379. var data = JSON.parse(res.data)
  380. resolve(data.data)
  381. }, 1000)
  382. }
  383. });
  384. })
  385. },
  386. // 阅读并同意
  387. checkboxChange(n) {
  388. that.agree = !that.agree
  389. },
  390. settled() {
  391. uni.showLoading({
  392. title: '提交中',
  393. mask: true
  394. })
  395. if(!that.info.name) {
  396. $api.info('请输入船厂名称')
  397. return
  398. }
  399. if(!that.fileList1) {
  400. $api.info('请上传船厂头像')
  401. return
  402. }
  403. if(!that.addressObj.address) {
  404. $api.info('请输入船厂地址')
  405. return
  406. }
  407. if(!that.info.contacts) {
  408. $api.info('请输入联系人')
  409. return
  410. }
  411. if(!that.info.phone) {
  412. $api.info('请输入联系电话')
  413. return
  414. }
  415. if(!that.info.num_staff) {
  416. $api.info('请输入船厂人数')
  417. return
  418. }
  419. if(!that.info.introduction) {
  420. $api.info('请输入船厂简介')
  421. return
  422. }
  423. if(!that.fileList2) {
  424. $api.info('请上传船厂环境')
  425. return
  426. }
  427. if(!that.fileList3) {
  428. $api.info('请上传营业执照')
  429. return
  430. }
  431. if(!that.info.product_intro) {
  432. $api.info('请输入产品简介')
  433. return
  434. }
  435. var business_img = ""
  436. if(that.agree) {
  437. $api.req({
  438. url: '/data/api.auth.Center/addupshipyard',
  439. method: 'POST',
  440. data: {
  441. name: that.info.name,
  442. province: that.addressObj.province,
  443. city: that.addressObj.city,
  444. area: that.addressObj.area,
  445. address: that.addressObj.address,
  446. contact_name: that.info.contacts,
  447. contact_phone: that.info.phone,
  448. intro: that.info.introduction,
  449. longitude: that.addressObj.longitude,
  450. latitude: that.addressObj.latitude,
  451. head_img: that.fileList1,
  452. environment_imgs: that.fileList2,
  453. business_img: that.fileList3,
  454. product_intro: that.info.product_intro,
  455. num_staff: that.info.num_staff,
  456. id: that.info.id?that.info.id: ''
  457. }
  458. }, function(res) {
  459. uni.hideLoading()
  460. // $api.info(res.info)
  461. if(res.code == 1) {
  462. that.state = 1
  463. }
  464. })
  465. }else {
  466. uni.hideLoading()
  467. $api.info('请先阅读并同意《船厂入驻规则》')
  468. }
  469. },
  470. edit() {
  471. that.state = 0
  472. },
  473. result() {
  474. $api.jump('/pages/tabbar/mine/mine',3)
  475. },
  476. open() {
  477. $api.req({
  478. url: '/data/api.auth.Center/getrule'
  479. }, function(res) {
  480. if (res.code == 1) {
  481. console.log(res);
  482. uni.setStorageSync('xieyi',res.data.shipyard_join_rule)
  483. $api.jump('/pages/user/agreement?title=船厂入驻规则')
  484. }
  485. })
  486. },
  487. isRead() {
  488. that.showProtocol = false
  489. that.agree = true
  490. },
  491. copy(val) {
  492. uni.setClipboardData({
  493. data: val,
  494. success: function () {
  495. $api.info('复制成功')
  496. }
  497. });
  498. },
  499. },
  500. }
  501. </script>
  502. <style lang="scss" scoped>
  503. .content::v-deep {
  504. background: #F4F4F4;
  505. padding: 20rpx 30rpx;
  506. .box {
  507. width: 100%;
  508. background: #FFFFFF;
  509. border-radius: 28rpx;
  510. padding: 28rpx 20rpx;
  511. box-sizing: border-box;
  512. margin-bottom: 16rpx;
  513. .title {
  514. font-size: 32rpx;
  515. color: #222222;
  516. font-weight: 600;
  517. line-height: 44px;
  518. }
  519. .upload_bg {
  520. width: 200rpx;
  521. height: 200rpx;
  522. background: #F4F4F4;
  523. border-radius: 20rpx;
  524. }
  525. .upload_text {
  526. font-size: 26rpx;
  527. font-weight: 400;
  528. color: #777777;
  529. line-height: 36rpx;
  530. padding-top: 20rpx;
  531. }
  532. .cell {
  533. width: 100%;
  534. padding: 20rpx 0 28rpx;
  535. border-bottom: 1rpx solid #f4f4f4;
  536. .left {
  537. width: 20%;
  538. font-size: 28rpx;
  539. color: #222;
  540. position: relative;
  541. padding-left: 10rpx;
  542. }
  543. .left::before {
  544. content: "*";
  545. position: absolute;
  546. top: 0rpx;
  547. left: -5rpx;
  548. color: #FF0D0D;
  549. font-size: 20rpx;
  550. }
  551. .u-input {
  552. font-size: 28rpx;
  553. color: #222;
  554. }
  555. .img_title {
  556. font-size: 28rpx;
  557. color: #444;
  558. }
  559. .img_title::before {
  560. content: "*";
  561. position: absolute;
  562. top: 0rpx;
  563. left: -5rpx;
  564. color: #FF0D0D;
  565. font-size: 20rpx;
  566. }
  567. .upload_img {
  568. width: 670rpx;
  569. height: 404rpx;
  570. background-color: #fff;
  571. border-radius: 20rpx;
  572. margin: 28rpx 0 0;
  573. padding: 20rpx 0;
  574. border: 1rpx dashed #e0e0e0;
  575. }
  576. .u-upload__wrap {
  577. display: flex;
  578. align-items: center !important;
  579. justify-content: center !important;
  580. }
  581. .u-textarea {
  582. margin: 28rpx auto 0;
  583. background-color: #f4f4f4;
  584. border-radius: 28rpx;
  585. box-sizing: border-box;
  586. padding: 24rpx;
  587. width: 610rpx;
  588. }
  589. }
  590. .img_title {
  591. font-size: 28rpx;
  592. color: #444;
  593. padding-left: 10rpx;
  594. position: relative;
  595. }
  596. .img_title::before {
  597. content: "*";
  598. position: absolute;
  599. top: 0rpx;
  600. left: -5rpx;
  601. color: #FF0D0D;
  602. font-size: 20rpx;
  603. }
  604. }
  605. .text {
  606. font-size: 24rpx;
  607. color: #9c9c9c;
  608. }
  609. .read {
  610. color: #2a63f3;
  611. }
  612. .button {
  613. width: 100%;
  614. height: 88rpx;
  615. background-color: #506dff;
  616. border-radius: 50rpx;
  617. box-shadow: 0 4rpx 28rpx 0 rgba(132,123,255,0.4);
  618. font-size: 40rpx;
  619. color: #fff;
  620. margin: 40rpx 0 36rpx;
  621. }
  622. .box1 {
  623. width: 100%;
  624. // height: 100vh;
  625. background-color: #fff;
  626. padding-bottom: 80rpx;
  627. .u-icon {
  628. margin-top: 120rpx;
  629. }
  630. .box1_img {
  631. width: 124rpx;
  632. height: 124rpx;
  633. margin: 108rpx 0 40rpx;
  634. }
  635. .box1_title {
  636. font-size: 32rpx;
  637. color: #222;
  638. margin-bottom: 24rpx;
  639. padding-top: 40rpx;
  640. }
  641. .box1_text {
  642. font-size: 28rpx;
  643. font-family: PingFangSC-Regular, PingFang SC;
  644. font-weight: 400;
  645. color: #666666;
  646. line-height: 40rpx;
  647. text-align: center;
  648. }
  649. .lianjie {
  650. width: 570rpx;
  651. height: 68rpx;
  652. margin: 46rpx 0 0;
  653. background: #F7F7F7;
  654. border-radius: 6rpx;
  655. border: 1rpx solid #C3C3C3;
  656. box-sizing: border-box;
  657. padding: 18rpx 22rpx;
  658. .lj_text {
  659. width: 418rpx;
  660. font-size: 28rpx;
  661. font-family: SFPro-Regular, SFPro;
  662. font-weight: 400;
  663. color: #333333;
  664. line-height: 32rpx;
  665. }
  666. }
  667. .text_blue {
  668. font-size: 26rpx;
  669. font-family: PingFangSC-Regular, PingFang SC;
  670. font-weight: 400;
  671. color: #506DFF;
  672. line-height: 36rpx;
  673. }
  674. .card {
  675. width: 570rpx;
  676. margin: 24rpx 0 60rpx;
  677. background: linear-gradient(270deg, rgba(255,248,245,0) 0%, #FFEFE7 100%);
  678. box-sizing: border-box;
  679. padding: 20rpx;
  680. .icon {
  681. width: 30rpx;
  682. height: 24rpx;
  683. margin-right: 14rpx;
  684. }
  685. .card_text {
  686. font-size: 22rpx;
  687. font-family: PingFangSC-Regular, PingFang SC;
  688. font-weight: 400;
  689. color: #444444;
  690. line-height: 32rpx;
  691. }
  692. }
  693. .label {
  694. font-size: 28rpx;
  695. font-family: PingFangSC-Regular, PingFang SC;
  696. font-weight: 400;
  697. color: #666666;
  698. line-height: 40rpx;
  699. }
  700. .box1_subTitle {
  701. margin: 12rpx 0;
  702. font-size: 26rpx;
  703. color: #999999;
  704. }
  705. .btn {
  706. width: 530rpx;
  707. height: 88rpx;
  708. background-color: #506dff;
  709. color: #fff;
  710. text-align: center;
  711. line-height: 88rpx;
  712. border-radius: 44rpx;
  713. font-size: 36rpx;
  714. margin-top: 122rpx;
  715. }
  716. }
  717. }
  718. </style>