settlementCode.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893
  1. <template>
  2. <view class="container">
  3. <!-- Tab切换 - 平均分配宽度 -->
  4. <view class="custom-tabs">
  5. <view class="tab-item" :class="{ active: currentTab === 0 }" @click="switchTab(0)">
  6. <text class="tab-text">京东月结码</text>
  7. </view>
  8. <view class="tab-item" :class="{ active: currentTab === 1 }" @click="switchTab(1)">
  9. <text class="tab-text">顺丰月结码</text>
  10. </view>
  11. </view>
  12. <!-- 二维码邀请内容 -->
  13. <view class="tab-content">
  14. <!-- <scroll-view scroll-y class="scroll-view"> -->
  15. <!-- 店铺信息 -->
  16. <view class="store-info">
  17. <view class="store-name">月结卡号</view>
  18. <view class="store">
  19. <!-- <text class="store-name">{{shopInfo.shopName}}</text> -->
  20. <text class="store-address">12345444</text>
  21. <!-- <u-icon name="arrow-right"></u-icon> -->
  22. </view>
  23. </view>
  24. <!-- 二维码区域 -->
  25. <view class="qrcode-container">
  26. <view class="store-manager-content">
  27. <text class="store-manager title">请小哥扫此二维码</text>
  28. </view>
  29. <view class="store-manager-content">
  30. <text class="store-manager">警告:系统将记录所有操作,请勿违规使用</text>
  31. </view>
  32. <!-- 空出二维码位置 -->
  33. <view class="qrcode-placeholder">
  34. <!-- 这里在实际应用中会显示二维码图片 -->
  35. <!-- 使用说明 inviteType 1 是添加员工 0是邀请会员 -->
  36. <image :src="qrCodeUrl"></image>
  37. </view>
  38. <view class="expiry-info">
  39. <text class="text">此二维码300秒有效,点击</text>
  40. </view>
  41. </view>
  42. <!-- 使用说明 inviteType 1 是添加员工 0是邀请会员 -->
  43. <!-- <view class="instructions" v-if="inviteType == '1'">
  44. <text class="instructions-title">使用说明</text>
  45. <view class="instructions-list">
  46. <text class="instruction-item">1. 让员工使用微信扫描上方二维码</text>
  47. <text class="instruction-item">2. 员工确认门店信息并提交申请</text>
  48. </view>
  49. </view>
  50. <view class="instructions" v-if="inviteType == '0'">
  51. <text class="instructions-title">使用说明</text>
  52. <view class="instructions-list">
  53. <text class="instructions-content-title">1. 扫码申请加入门店会员</text>
  54. <text class="instruction-item">会员扫描二维码后,可自主提交申请成为门店会员,审核通过后即可享受会员权益。</text>
  55. <text class="instructions-content-title">2. 添加用户手机号直接添加门店会员</text>
  56. <text class="instruction-item">输入用户手机号,直接为其开通门店会员资格</text>
  57. </view>
  58. </view> -->
  59. <!-- </scroll-view> -->
  60. </view>
  61. </view>
  62. </template>
  63. <script setup>
  64. import {
  65. ref,
  66. onMounted
  67. } from 'vue'
  68. import {
  69. onLoad,
  70. onShow
  71. } from '@dcloudio/uni-app' // 导入 UniApp 的生命周期
  72. import {getQrcode} from '@/api/mine.js'
  73. // 当前选中的tab
  74. const currentTab = ref(0)
  75. const linkType = ref(0) //0门店 1外聘 2平台
  76. // 手机号
  77. const phoneNumber = ref('')
  78. const qrCodeUrl = ref('')
  79. const imgData = ref('')
  80. const searchUser = ref({
  81. id: undefined
  82. })
  83. const tenantId = ref('')
  84. const shopInfo = ref({})
  85. const title = ref({})
  86. const btnName = ref({})
  87. const inviteType = ref('1') // 1 是添加员工 0是邀请会员
  88. onLoad((option) => {
  89. tenantId.value = option.tenantId
  90. inviteType.value = option.inviteType
  91. getCode()
  92. })
  93. onShow(() => {
  94. // 1 是添加员工 0是邀请会员
  95. // if (inviteType.value == '0') {
  96. // getShopInfo()
  97. // // getShopShareQrcode()
  98. // }else{
  99. // getShopInfo()
  100. // }
  101. })
  102. // 获取月结码
  103. const getCode = async () =>{
  104. let res = await getQrcode({orderType:inviteType.value});
  105. console.log(res)
  106. }
  107. // 切换Tab
  108. const switchTab = (index) => {
  109. currentTab.value = index
  110. }
  111. // 分享二维码
  112. const shareQrcode = () => {
  113. uni.showToast({
  114. title: '分享功能',
  115. icon: 'none'
  116. })
  117. }
  118. const handleSearch = () => {
  119. if (!ValidationUtils.validatePhone(phoneNumber.value)) {
  120. uni.showToast({
  121. title: "请填写正确手机号码",
  122. icon: 'none'
  123. })
  124. return
  125. }
  126. uni.showLoading({
  127. title: "正在查找,请稍等"
  128. })
  129. if (inviteType.value == '1') {
  130. getStaffByPhone()
  131. } else {
  132. getUserByPhone()
  133. }
  134. }
  135. const handleAdd = () => {
  136. if (!searchUser.value.id) {
  137. uni.showToast({
  138. title: "请查找添加人员信息",
  139. icon: 'none'
  140. })
  141. return
  142. }
  143. if (inviteType.value == '1') {
  144. addEmployee()
  145. } else {
  146. addShareShopUser()
  147. }
  148. }
  149. const addShareShopUser = async () => {
  150. //promoterStatus推广状态(0 封禁 1 正常 )
  151. try {
  152. const params = {
  153. applyUserId: searchUser.value.id,
  154. tenantId: tenantId.value,
  155. promoterStatus: 1
  156. }
  157. uni.showLoading()
  158. const res = await addStaffApi(params)
  159. if (res.code == 200) {
  160. uni.showToast({
  161. title: "添加成功",
  162. icon: "success"
  163. })
  164. // 清空输入框
  165. phoneNumber.value = ''
  166. searchUser.value.id = undefined
  167. }
  168. uni.hideLoading()
  169. } catch (error) {
  170. } finally {
  171. uni.hideLoading()
  172. }
  173. }
  174. // 添加员工
  175. const addEmployee = async () => {
  176. try {
  177. const params = {
  178. userId: searchUser.value.id,
  179. tenantId: tenantId.value,
  180. linkType: linkType.value
  181. }
  182. uni.showLoading()
  183. const res = await addStaffApi(params)
  184. if (res.code == 200) {
  185. uni.showToast({
  186. title: "添加成功",
  187. icon: "success"
  188. })
  189. // 清空输入框
  190. phoneNumber.value = ''
  191. searchUser.value.id = undefined
  192. }
  193. uni.hideLoading()
  194. } catch (error) {
  195. } finally {
  196. uni.hideLoading()
  197. }
  198. }
  199. const getShopInfo = () => {
  200. const params = {
  201. tenantId: tenantId.value,
  202. linkType: linkType.value
  203. }
  204. getShopUserInfoApi(params).then(res => {
  205. console.log("res======", res)
  206. if (res.code == 200) {
  207. shopInfo.value = res.data
  208. //门店员工直接返回二维码
  209. // 1 是添加员工 0是邀请会员
  210. // if (inviteType.value == '1') {
  211. qrCodeUrl.value = res.data.qrCodeUrl
  212. // }
  213. }
  214. })
  215. }
  216. // const getShopShareQrcode = () => {
  217. // //codeType 0:门店推广人 1门店用户
  218. // const params = {
  219. // userId: searchUser.value.id,
  220. // tenantId: shopInfo.value.tenantId,
  221. // codeType: inviteType.value,
  222. // linkType: linkType.value
  223. // }
  224. // getShopShareQrcodeApi(params).then(res => {
  225. // console.log('res====',res)
  226. // if (res.code == 200 && res.data.length > 0) {
  227. // //门店推广单独请求二维码
  228. // // 1 是添加员工 0是邀请会员
  229. // if (inviteType.value == '0') {
  230. // qrCodeUrl.value = res.data[0].qrCodeUrl
  231. // }
  232. // } else {
  233. // uni.showToast({
  234. // title: '暂无查到相关二维码',
  235. // icon: 'none'
  236. // })
  237. // }
  238. // })
  239. // }
  240. const getStaffByPhone = () => {
  241. uni.showLoading({
  242. title: '正在查找'
  243. })
  244. const params = {
  245. userPhone: phoneNumber.value
  246. }
  247. getStaffByPhoneApi(params).then(res => {
  248. uni.hideLoading()
  249. if (res.code == 200 && res.data.length > 0) {
  250. searchUser.value = res.data[0]
  251. } else {
  252. uni.showToast({
  253. title: "暂无此人",
  254. icon: 'error'
  255. })
  256. }
  257. }, err => {
  258. uni.hideLoading()
  259. })
  260. }
  261. const getUserByPhone = () => {
  262. const params = {
  263. userPhone: phoneNumber.value
  264. }
  265. queryUserByPhoneApi(params).then(res => {
  266. uni.hideLoading()
  267. if (res.code == 200 && res.data.length > 0) {
  268. searchUser.value = res.data[0]
  269. } else {
  270. uni.showToast({
  271. title: "暂无此人",
  272. icon: 'error'
  273. })
  274. }
  275. }, err => {
  276. uni.hideLoading()
  277. })
  278. }
  279. // 判断是否为网络图片
  280. const isNetworkImage = (text) => {
  281. // 检查是否以http或https开头
  282. const networkPattern = /^(https?:\/\/[^\s]+)/i
  283. if (networkPattern.test(text)) {
  284. return true
  285. }
  286. }
  287. // 保存Base64图片到相册
  288. const saveBase64ToAlbum1 = async () => {
  289. if (!qrCodeUrl.value) {
  290. uni.showToast({
  291. title: '暂无需要保存的图片',
  292. icon: 'none'
  293. })
  294. return
  295. }
  296. if (isNetworkImage(qrCodeUrl.value)) {
  297. saveImageToAlbum()
  298. return
  299. }
  300. console.log('=====my_document====')
  301. saveBaseImgFile(qrCodeUrl.value)
  302. }
  303. // 保存图片到相册
  304. const saveImageToAlbum = async () => {
  305. try {
  306. // 第一步:下载网络图片到本地
  307. const downloadResult = await downloadImage(qrCodeUrl.value)
  308. if (!downloadResult.tempFilePath) {
  309. throw new Error('图片下载失败')
  310. }
  311. // 第二步:保存到相册
  312. await saveImage(downloadResult.tempFilePath)
  313. uni.showToast({
  314. title: '图片保存成功',
  315. icon: 'success',
  316. duration: 2000
  317. })
  318. } catch (error) {
  319. console.error('保存失败:', error)
  320. // 处理权限问题
  321. if (error.errMsg && error.errMsg.includes('auth')) {
  322. // 权限被拒绝,提示用户手动开启
  323. uni.showModal({
  324. title: '需要相册权限',
  325. content: '保存图片需要访问您的相册权限,请在设置中开启权限后重试',
  326. confirmText: '去设置',
  327. success: (res) => {
  328. if (res.confirm) {
  329. // 跳转到应用设置页面
  330. uni.openSetting()
  331. }
  332. }
  333. })
  334. } else {
  335. uni.showModal({
  336. title: '保存失败',
  337. content: error.errMsg || '保存图片失败,请重试',
  338. showCancel: false
  339. })
  340. }
  341. } finally {
  342. // saving.value = false
  343. }
  344. }
  345. // 下载图片到本地临时文件
  346. const downloadImage = (url) => {
  347. return new Promise((resolve, reject) => {
  348. uni.downloadFile({
  349. url: url,
  350. success: resolve,
  351. fail: reject
  352. })
  353. })
  354. }
  355. // 保存图片到相册
  356. const saveImage = (tempFilePath) => {
  357. return new Promise((resolve, reject) => {
  358. uni.saveImageToPhotosAlbum({
  359. filePath: tempFilePath,
  360. success: resolve,
  361. fail: reject
  362. })
  363. })
  364. }
  365. const saveBaseImgFile = (base64) => {
  366. const bitmap = new plus.nativeObj.Bitmap('base64')
  367. bitmap.loadBase64Data(base64, () => {
  368. const url = '_doc/' + new Date().getTime() + '.png'
  369. bitmap.save(
  370. url, {
  371. overwrite: true // 是否覆盖
  372. // quality: 'quality' // 图片清晰度
  373. },
  374. (i) => {
  375. uni.saveImageToPhotosAlbum({
  376. filePath: url,
  377. success: () => {
  378. uni.showToast({
  379. title: '图片保存成功',
  380. duration: 2000
  381. })
  382. console.log('图片保存成功')
  383. bitmap.clear()
  384. }
  385. })
  386. },
  387. (e) => {
  388. uni.showToast({
  389. title: '图片保存失败',
  390. content: e.errMsg || '保存图片失败,请重试',
  391. duration: 2000
  392. })
  393. console.log('图片保存失败')
  394. bitmap.clear()
  395. }
  396. )
  397. },
  398. (e) => {
  399. console.log('图片保存失败')
  400. bitmap.clear()
  401. }
  402. )
  403. }
  404. </script>
  405. <style lang="scss" scoped>
  406. .container {
  407. display: flex;
  408. flex-direction: column;
  409. height: 100vh;
  410. background-color: #F5F7FA;
  411. }
  412. .header {
  413. padding: 44rpx 0 30rpx 0;
  414. text-align: center;
  415. background-color: #fff;
  416. border-bottom: 1rpx solid #eee;
  417. .header-title {
  418. font-size: 36rpx;
  419. font-weight: bold;
  420. color: #333;
  421. }
  422. }
  423. // 自定义Tab布局 - 平均分配
  424. .custom-tabs {
  425. display: flex;
  426. background-color: #fff;
  427. border-bottom: 1rpx solid #eee;
  428. }
  429. .tab-item {
  430. flex: 1;
  431. text-align: center;
  432. padding: 30rpx 0;
  433. position: relative;
  434. &.active {
  435. .tab-text {
  436. color: #2979ff;
  437. font-weight: bold;
  438. }
  439. &::after {
  440. content: '';
  441. position: absolute;
  442. bottom: 0;
  443. left: 50%;
  444. transform: translateX(-50%);
  445. width: 80rpx;
  446. height: 4rpx;
  447. background-color: #2979ff;
  448. border-radius: 2rpx;
  449. }
  450. }
  451. .tab-text {
  452. font-size: 32rpx;
  453. color: #666;
  454. }
  455. }
  456. // 内容区域
  457. .tab-content {
  458. padding: 16rpx;
  459. flex: 1;
  460. display: flex;
  461. flex-direction: column;
  462. overflow: hidden;
  463. background-color: #F5F7FA;
  464. margin-bottom: 140rpx;
  465. .scroll-view {
  466. flex: 1;
  467. margin-bottom: 156rpx;
  468. }
  469. }
  470. // 店铺信息
  471. .store-info {
  472. min-height: 124rpx;
  473. background: #FFFFFF;
  474. border-radius: 32rpx;
  475. text-align: center;
  476. margin-bottom: 20rpx;
  477. padding: 32rpx;
  478. display: flex;
  479. justify-content: space-between;
  480. align-items: center;
  481. box-sizing: border-box;
  482. .store-icon {
  483. width: 80rpx;
  484. height: 80rpx;
  485. display: flex;
  486. align-items: center;
  487. justify-content: center;
  488. background: rgba(0, 137, 255, 0.1);
  489. border-radius: 16rpx 16rpx 16rpx 16rpx;
  490. flex-shrink: 0;
  491. image {
  492. width: 48rpx;
  493. height: 48rpx;
  494. }
  495. }
  496. .store {
  497. display: flex;
  498. .store-name {
  499. height: 44rpx;
  500. font-weight: 400;
  501. font-size: 28rpx;
  502. color: #333333;
  503. line-height: 44rpx;
  504. text-align: left;
  505. }
  506. .store-address {
  507. min-height: 44rpx;
  508. line-height: 44rpx;
  509. font-size: 28rpx;
  510. color: #1B64F0;
  511. text-align: left;
  512. }
  513. }
  514. }
  515. // 二维码区域
  516. .qrcode-container {
  517. background-color: #fff;
  518. border-radius: 32rpx;
  519. padding: 20rpx;
  520. margin-bottom: 32rpx;
  521. text-align: center;
  522. .store-manager-content {
  523. display: flex;
  524. justify-content: center;
  525. text-align: center;
  526. image {
  527. width: 48rpx;
  528. height: 48rpx;
  529. border-radius: 48rpx;
  530. }
  531. .store-manager {
  532. height: 44rpx;
  533. font-weight: 400;
  534. font-size: 28rpx;
  535. color: #666666;
  536. line-height: 44rpx;
  537. &.title {
  538. height: 48rpx;
  539. font-weight: bold;
  540. font-size: 32rpx;
  541. color: #333333;
  542. line-height: 48rpx;
  543. }
  544. }
  545. }
  546. // 二维码占位区域
  547. .qrcode-placeholder {
  548. width: 400rpx;
  549. height: 400rpx;
  550. margin: 20rpx auto 30rpx;
  551. border-radius: 16rpx;
  552. background-color: #f5f5f5;
  553. display: flex;
  554. align-items: center;
  555. justify-content: center;
  556. /* 这里在实际应用中会显示二维码图片 */
  557. /* 暂时使用背景色占位 */
  558. image {
  559. width: 400rpx;
  560. height: 400rpx;
  561. border-radius: 16rpx;
  562. }
  563. }
  564. .expiry-info {
  565. margin: 20rpx;
  566. height: 84rpx;
  567. background: #F5F7FA;
  568. border-radius: 16rpx;
  569. font-weight: 400;
  570. font-size: 28rpx;
  571. color: #3D3D3D;
  572. line-height: 84rpx;
  573. text-align: center;
  574. .text{
  575. &::after{
  576. content: '刷新二维码';
  577. color: #1B64F0;
  578. }
  579. }
  580. }
  581. }
  582. // 使用说明
  583. .instructions {
  584. background-color: #fff;
  585. border-radius: 16rpx;
  586. padding: 16rpx;
  587. margin-bottom: 16rpx;
  588. .instructions-title {
  589. display: inline-block;
  590. font-size: 32rpx;
  591. font-weight: bold;
  592. margin-bottom: 16rpx;
  593. color: #333;
  594. }
  595. .instructions-content-title {
  596. display: inline-block;
  597. font-size: 28rpx;
  598. color: #333;
  599. font-weight: bold;
  600. margin-top: 8rpx;
  601. }
  602. .instructions-list {
  603. display: flex;
  604. flex-direction: column;
  605. }
  606. .instruction-item {
  607. font-size: 26rpx;
  608. color: #666;
  609. line-height: 1.6;
  610. }
  611. }
  612. // 按钮组
  613. .button-group {
  614. width: 100%;
  615. height: 132rpx;
  616. display: flex;
  617. justify-content: space-around;
  618. align-items: center;
  619. position: fixed;
  620. bottom: 0;
  621. padding: 0rpx 32rpx;
  622. background-color: #fff;
  623. .button {
  624. height: 88rpx;
  625. line-height: 88rpx;
  626. flex: 1;
  627. text-align: center;
  628. border-radius: 16rpx;
  629. font-size: 30rpx;
  630. font-weight: bold;
  631. &.share-button {
  632. color: #1B64F0;
  633. margin-right: 32rpx;
  634. background: rgba(0, 137, 255, 0.1);
  635. }
  636. &.save-button {
  637. background-color: #1B64F0;
  638. color: #fff;
  639. }
  640. .button-text {
  641. font-size: 30rpx;
  642. }
  643. }
  644. }
  645. // 手机号邀请表单
  646. .phone-form {
  647. background-color: #fff;
  648. border-radius: 16rpx;
  649. padding: 16rpx;
  650. .phone-title {
  651. font-size: 32rpx;
  652. font-weight: bold;
  653. color: #333;
  654. margin-bottom: 16rpx;
  655. display: block;
  656. }
  657. .phone-input-group {
  658. height: 88rpx;
  659. display: flex;
  660. border-radius: 16rpx;
  661. overflow: hidden;
  662. background-color: #F5F7FA;
  663. .country-code {
  664. width: 140rpx;
  665. padding: 24rpx;
  666. text-align: center;
  667. font-size: 28rpx;
  668. color: #333;
  669. display: flex;
  670. align-items: center;
  671. justify-content: center;
  672. border-right: 2rpx solid #e0e0e0;
  673. }
  674. .phone-input {
  675. height: 88rpx;
  676. line-height: 88rpx;
  677. flex: 1;
  678. padding: 24rpx;
  679. font-size: 28rpx;
  680. }
  681. }
  682. }
  683. .employee-item-main {
  684. display: flex;
  685. align-items: center;
  686. margin-top: 20rpx;
  687. background-color: #fff;
  688. border-radius: 32rpx;
  689. padding: 20rpx;
  690. .photo {
  691. background-color: #F5F7FA;
  692. width: 88rpx;
  693. height: 88rpx;
  694. border-radius: 80rpx;
  695. }
  696. .employee-main-info {
  697. height: 84rpx;
  698. margin-left: 20rpx;
  699. align-self: center;
  700. display: flex;
  701. flex-direction: column;
  702. justify-content: center;
  703. margin-bottom: 20rpx;
  704. flex: 1;
  705. .employee-name {
  706. height: 44rpx;
  707. line-height: 44rpx;
  708. font-size: 28rpx;
  709. font-weight: 500;
  710. color: #333333;
  711. }
  712. .employee-phone {
  713. height: 40rpx;
  714. line-height: 40rpx;
  715. font-size: 24rpx;
  716. color: #666666;
  717. }
  718. }
  719. .employee-actions {
  720. display: flex;
  721. align-items: center;
  722. height: 116rpx;
  723. background-color: #fff;
  724. border-radius: 32rpx;
  725. margin-top: 16rpx;
  726. .status-badge {
  727. display: flex;
  728. align-items: center;
  729. font-size: 26rpx;
  730. margin-right: 16rpx;
  731. .enabled {
  732. // background-color: #e6f7ff;
  733. margin-left: 16rpx;
  734. color: #1B64F0;
  735. }
  736. .disabled {
  737. // background-color: #f5f5f5;
  738. margin-left: 16rpx;
  739. color: #333333;
  740. }
  741. }
  742. .btn-view-order {
  743. height: 40rpx;
  744. font-weight: 400;
  745. font-size: 24rpx;
  746. color: #1B64F0;
  747. line-height: 40rpx;
  748. text-align: left;
  749. margin-right: 16rpx;
  750. }
  751. .dismiss-btn {
  752. width: 88rpx;
  753. height: 60rpx;
  754. line-height: 60rpx;
  755. text-align: center;
  756. background: #F52929;
  757. border-radius: 8rpx;
  758. font-size: 28rpx;
  759. color: #FFFFFF;
  760. }
  761. }
  762. }
  763. .submit-button {
  764. flex: 1;
  765. height: 88rpx;
  766. line-height: 88rpx;
  767. background-color: #1B64F0;
  768. color: #fff;
  769. text-align: center;
  770. border-radius: 16rpx;
  771. .submit-text {
  772. font-size: 32rpx;
  773. font-weight: bold;
  774. }
  775. }
  776. </style>