settlementCode.vue 17 KB

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