index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. <template>
  2. <view class="padding">
  3. <view class="text-white padding bg radius">
  4. <u-form :model="shop" label-position="top">
  5. <u-form-item label="店铺名称 ">
  6. <text class="text-sm" @click="gokefu()" style="color: red; position: absolute; top: 20rpx; left: 135rpx">*请联系客服修改</text>
  7. <u-input v-model="shop.shopName" placeholder="请输入店铺名称" :disabled="true" />
  8. </u-form-item>
  9. <u-form-item label="开店时间">
  10. <!-- #ifdef MP-WEIXIN -->
  11. <u-input v-model="shop.businessHours" placeholder="请填写" :disabled="true" @click="startShow = true" />
  12. <!-- #endif -->
  13. <!-- #ifndef MP-WEIXIN -->
  14. <view style="width: 100%">
  15. <picker mode="time" :value="shop.businessHours" placeholder="请填写" start="00:00" end="23:59" @change="bindTimeChange">
  16. <view class="uni-input">{{ shop.businessHours ? shop.businessHours : '请填写' }}</view>
  17. </picker>
  18. </view>
  19. <!-- #endif -->
  20. </u-form-item>
  21. <u-form-item label="闭店时间">
  22. <!-- #ifdef MP-WEIXIN -->
  23. <u-input v-model="shop.lockHours" :disabled="true" placeholder="请填写" @click="endShow = true" />
  24. <!-- #endif -->
  25. <!-- #ifndef MP-WEIXIN -->
  26. <view style="width: 100%">
  27. <picker mode="time" :value="shop.lockHours" placeholder="请填写" start="00:00" end="23:59" @change="bindTimeChanges">
  28. <view class="uni-input">{{ shop.lockHours ? shop.lockHours : '请填写' }}</view>
  29. </picker>
  30. </view>
  31. <!-- #endif -->
  32. </u-form-item>
  33. <u-form-item label="店铺地址">
  34. <text class="text-sm" @click="gokefu()" style="color: red; position: absolute; top: 20rpx; left: 135rpx">*请联系客服修改</text>
  35. <!-- @click="bindOpen()" -->
  36. <u-input v-model="shop.detailedAddress" :disabled="true" placeholder="请填写" />
  37. </u-form-item>
  38. <u-form-item label="店铺公告">
  39. <textarea v-model="shop.shopNotice" rows="3" placeholder="请填写" maxlength="50" />
  40. </u-form-item>
  41. <u-form-item label="配送费(元)">
  42. <text class="text-sm" @click="gokefu()" style="color: red; position: absolute; top: 20rpx; left: 155rpx">*请联系客服修改</text>
  43. <u-input v-model="shop.errandMoney" placeholder="请输入配送费" :disabled="true" />
  44. </u-form-item>
  45. <u-form-item label="最低起送金额(元)">
  46. <u-input v-model="shop.minimumDelivery" placeholder="请输入最低起送金额" />
  47. </u-form-item>
  48. <u-form-item label="减免配送费最小订单金额(元)">
  49. <u-input v-model="shop.exemptMinMoney" placeholder="请输入减免配送费最小订单金额" />
  50. </u-form-item>
  51. <u-form-item label="最大配送距离(千米)">
  52. <text class="text-sm" @click="gokefu()" style="color: red; position: absolute; top: 20rpx; left: 285rpx">*请联系客服修改</text>
  53. <u-input v-model="distributionDistance" placeholder="请输入最大配送距离(单位:km)" :disabled="true" />
  54. </u-form-item>
  55. <u-form-item label="是否上线">
  56. <u-radio-group v-model="shop.putawayFlag">
  57. <u-radio name="0">上班啦</u-radio>
  58. <u-radio name="1">打烊啦</u-radio>
  59. </u-radio-group>
  60. </u-form-item>
  61. <!-- <u-form-item label="是否开启平台配送">
  62. <u-radio-group v-model="shop.autoSendOrder">
  63. <u-radio name=0>开启</u-radio>
  64. <u-radio name=1>关闭</u-radio>
  65. </u-radio-group>
  66. </u-form-item> -->
  67. <u-form-item label="配送方式:">
  68. <text v-if="shop.autoSendOrder == 0" style="font-weight: 500; font-size: 20px">平台配送</text>
  69. <text v-if="shop.autoSendOrder == 1" style="fontsize: 20px">商家自配</text>
  70. </u-form-item>
  71. <u-form-item label="是否开启自动接单">
  72. <u-radio-group v-model="shop.autoAcceptOrder">
  73. <u-radio name="0">开启</u-radio>
  74. <u-radio name="1">关闭</u-radio>
  75. </u-radio-group>
  76. </u-form-item>
  77. <u-form-item label="是否开启预约单功能">
  78. <u-radio-group v-model="shop.reservationOpenFlag">
  79. <u-radio name="1">开启</u-radio>
  80. <u-radio name="0">关闭</u-radio>
  81. </u-radio-group>
  82. </u-form-item>
  83. <u-form-item label="商铺商户号">
  84. {{ shop.mchId }}
  85. </u-form-item>
  86. </u-form>
  87. </view>
  88. <view class="text-white padding bg radius margin-tb">
  89. <u-form :model="shop" label-position="top">
  90. <u-form-item label="打印机">
  91. <text class="text-sm" style="color: red; position: absolute; top: 25rpx; left: 105rpx">*一个打印机只能绑定一个商家</text>
  92. <u-radio-group v-model="shop.facility">
  93. <!-- <u-radio name=0>上线</u-radio> -->
  94. <u-radio name="1">飞鹅</u-radio>
  95. </u-radio-group>
  96. </u-form-item>
  97. <u-form-item label="设备sn编码">
  98. <u-input v-model="shop.snCode" placeholder="请输入设备sn编码" />
  99. </u-form-item>
  100. <u-form-item label="设备key秘钥">
  101. <u-input v-model="shop.value" placeholder="请输入设备key秘钥" />
  102. </u-form-item>
  103. </u-form>
  104. </view>
  105. <view class="text-white padding bg radius margin-tb">
  106. <view>
  107. <view class="text-lg margin-top-sm text-black">店铺logo</view>
  108. <view class="flex" style="overflow: hidden; flex-wrap: wrap">
  109. <view v-if="shop.shopCover.length">
  110. <view class="margin-top flex margin-right-sm flex-wrap">
  111. <view class="flex" style="width: 200rpx; height: 200rpx; margin-right: 2rpx; position: relative">
  112. <image :src="shop.shopCover" style="width: 100%; height: 100%"></image>
  113. <view style="z-index: 9; position: absolute; top: -15rpx; right: -15rpx" @click="removeImgs()">
  114. <u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <view class="margin-top" @click="addImage()" v-if="shop.shopCover.length <= 0">
  120. <view style="width: 200rpx; height: 200rpx; background: #f4f5f6" class="flex justify-center align-center">
  121. <view>
  122. <view class="text-center">
  123. <image src="../static/addimg.png" style="width: 65rpx; height: 55rpx"></image>
  124. </view>
  125. <view class="text-center text-black">添加图片</view>
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <view>
  132. <view class="text-lg margin-top-sm text-black">店铺活动广告图(可多张)</view>
  133. <view class="flex" style="overflow: hidden; flex-wrap: wrap">
  134. <view v-if="shopBanner.length">
  135. <view class="margin-top flex margin-right-sm flex-wrap">
  136. <view class="flex" style="width: 200rpx; height: 200rpx; margin-right: 2rpx; position: relative" v-for="(image, index) in shopBanner" :key="index">
  137. <image :src="image" style="width: 100%; height: 100%"></image>
  138. <view style="z-index: 9; position: absolute; top: -15rpx; right: -15rpx" @click="removeImg(index)">
  139. <u-icon name="close-circle-fill" color="#2979ff" size="50rpx"></u-icon>
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. <view class="margin-top" @click="addImages(2)" v-if="shopBanner.length < 6">
  145. <view style="width: 200rpx; height: 200rpx; background: #f4f5f6" class="flex justify-center align-center">
  146. <view>
  147. <view class="text-center">
  148. <image src="../static/addimg.png" style="width: 65rpx; height: 55rpx"></image>
  149. </view>
  150. <view class="text-center text-black">添加图片</view>
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. </view>
  156. </view>
  157. <!-- 时间筛选 -->
  158. <u-picker v-model="startShow" mode="time" :params="params" @confirm="getStarttime()"></u-picker>
  159. <u-picker v-model="endShow" mode="time" :params="paramss" @confirm="getEndtime()"></u-picker>
  160. <u-button @click="submit" class="margin-top" :custom-style="customStyle" shape="square" :hair-line="false">提交</u-button>
  161. <!-- 用于图片压缩的canvas画布 -->
  162. <canvas
  163. :style="{
  164. width: cw + 'px',
  165. height: cw + 'px',
  166. position: 'absolute',
  167. zIndex: -1,
  168. left: '-10000rpx',
  169. top: '-10000rpx'
  170. }"
  171. canvas-id="zipCanvas"
  172. ></canvas>
  173. <!--画布结束-->
  174. </view>
  175. </template>
  176. <script>
  177. import configdata from '@/common/config.js'
  178. import getLessLimitSizeImage from '@/utils/imageCompress.js'
  179. export default {
  180. data() {
  181. return {
  182. shop: {
  183. shopName: '',
  184. businessHours: '',
  185. lockHours: '',
  186. detailedAddress: '',
  187. shopNotice: '',
  188. putawayFlag: 1,
  189. latitude: '',
  190. longitude: '',
  191. shopCover: '',
  192. //详情图
  193. shopBanner: [],
  194. shopId: uni.getStorageSync('shopId'),
  195. errandMoney: '',
  196. minimumDelivery: '',
  197. exemptMinMoney: '',
  198. distributionDistance: '',
  199. autoSendOrder: 1,
  200. autoAcceptOrder: 1,
  201. reservationOpenFlag: 0,
  202. facility: 1,
  203. snCode: '',
  204. value: '',
  205. mchId: ''
  206. },
  207. // facility:1,
  208. startShow: false,
  209. endShow: false,
  210. customStyle: {
  211. backgroundColor: '#FFCC00',
  212. color: '#000000',
  213. border: 0
  214. },
  215. status: 1,
  216. customStyle1: {
  217. color: '#000000',
  218. position: 'fixed',
  219. bottom: '15rpx',
  220. left: '0rpx',
  221. right: '0rpx',
  222. margin: '0rpx 50rpx',
  223. backgroundColor: '#FFCC00'
  224. },
  225. selarr: [],
  226. show: false,
  227. //详情图
  228. shopBanner: [],
  229. params: {
  230. year: false,
  231. month: false,
  232. day: false,
  233. hour: true,
  234. minute: true,
  235. second: false
  236. },
  237. paramss: {
  238. year: false,
  239. month: false,
  240. day: false,
  241. hour: true,
  242. minute: true,
  243. second: false
  244. },
  245. shopId: '',
  246. page: 1,
  247. limit: 100,
  248. list: [
  249. {
  250. name: '上线',
  251. disabled: false
  252. },
  253. {
  254. name: '下线',
  255. disabled: false
  256. }
  257. ],
  258. distributionDistance: '',
  259. //画板边长默认是屏幕宽度,正方形画布
  260. cw: uni.getSystemInfoSync().windowWidth
  261. }
  262. },
  263. onLoad(option) {
  264. uni.showLoading({
  265. title: '加载中......',
  266. mask: true, // 是否显示透明蒙层,防止触摸穿透
  267. icon: 'loading'
  268. })
  269. // console.log(option, '店铺id')
  270. this.shopId = option.shopId
  271. this.getShopList()
  272. },
  273. methods: {
  274. gokefu() {
  275. uni.navigateTo({
  276. url: '/pages/my/chat'
  277. })
  278. },
  279. bindTimeChange: function (e) {
  280. console.log(e)
  281. this.shop.businessHours = e.target.value
  282. },
  283. bindTimeChanges: function (e) {
  284. console.log(e)
  285. this.shop.lockHours = e.target.value
  286. },
  287. //上线 下线
  288. radioChange(e) {
  289. // console.log(e)
  290. },
  291. // 店铺信息
  292. getShopList() {
  293. let data = {
  294. shopId: this.$queue.getData('shopId')
  295. }
  296. this.$Request.getA('/app/shop/selectShopMessage', data).then((res) => {
  297. console.log(res)
  298. if (res.code == 0) {
  299. uni.hideLoading()
  300. this.shop.mchId = res.data.mchId
  301. this.shop.shopName = res.data.shopName
  302. this.shop.detailedAddress = res.data.detailedAddress
  303. this.shop.businessHours = res.data.businessHours
  304. this.shop.lockHours = res.data.lockHours
  305. this.shop.shopCover = res.data.shopCover
  306. this.shop.shopNotice = res.data.shopNotice
  307. this.shop.putawayFlag = res.data.putawayFlag ? res.data.putawayFlag : 0
  308. this.shop.errandMoney = res.data.errandMoney
  309. this.shop.minimumDelivery = res.data.minimumDelivery
  310. this.shop.exemptMinMoney = res.data.exemptMinMoney
  311. if (res.data.shopBanner) {
  312. this.shop.shopBanner = res.data.shopBanner.split(',')
  313. this.shopBanner = res.data.shopBanner.split(',')
  314. }
  315. this.shop.distributionDistance = res.data.distributionDistance
  316. this.distributionDistance = res.data.distributionDistance / 1000
  317. this.shop.autoSendOrder = res.data.autoSendOrder ? res.data.autoSendOrder : 0
  318. this.shop.autoAcceptOrder = res.data.autoAcceptOrder ? res.data.autoAcceptOrder : 0
  319. this.shop.reservationOpenFlag = res.data.reservationOpenFlag ? res.data.reservationOpenFlag : 0
  320. this.shop.snCode = res.data.snCode //设备sn编码
  321. this.shop.value = res.data.value //设备key秘钥
  322. // this.shop.facility = res.data.facility // 设备类型
  323. }
  324. })
  325. },
  326. getStarttime(e) {
  327. console.log(e, '1111111111')
  328. this.shop.businessHours = e.hour + ':' + e.minute
  329. },
  330. getEndtime(e) {
  331. console.log(e)
  332. this.shop.lockHours = e.hour + ':' + e.minute
  333. },
  334. // 详情图删除
  335. removeImg(index) {
  336. this.shopBanner.splice(index, 1)
  337. },
  338. // 店铺logo删除
  339. removeImgs() {
  340. this.shop.shopCover = ''
  341. },
  342. bindOpen(e) {
  343. console.log(e)
  344. let that = this
  345. uni.chooseLocation({
  346. success: function (res) {
  347. console.log('位置名称:' + res.name)
  348. console.log('详细地址:' + res.address)
  349. console.log('纬度:' + res.latitude)
  350. console.log('经度:' + res.longitude)
  351. that.shop.detailedAddress = res.address
  352. that.shop.shopLat = res.latitude
  353. that.shop.shopLng = res.longitude
  354. }
  355. })
  356. },
  357. // 图片上传
  358. addImages(e) {
  359. let that = this
  360. uni.chooseImage({
  361. count: 6,
  362. sourceType: ['album', 'camera'],
  363. success: (res) => {
  364. for (let i = 0; i < res.tempFiles.length; i++) {
  365. //这里的id和页面中写的html代码的canvas的id要一致
  366. let canvasId = 'zipCanvas'
  367. //原图的路径
  368. let imagePath = res.tempFiles[i].path
  369. //大小限制
  370. let limitSize = 1024 * 2
  371. //初始绘画区域是画布自身的宽度也就是屏幕宽度
  372. let drawWidth = uni.getSystemInfoSync().windowWidth
  373. let that = this
  374. getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, that, (resPath) => {
  375. uni.showLoading({
  376. title: '上传中'
  377. })
  378. uni.uploadFile({
  379. url: that.config('APIHOST1') + '/alioss/upload',
  380. filePath: resPath,
  381. name: 'file',
  382. success: (uploadFileRes) => {
  383. if (that.shopBanner.length < 6) {
  384. that.shopBanner.push(JSON.parse(uploadFileRes.data).data)
  385. }
  386. console.log(that.shopBanner)
  387. uni.hideLoading()
  388. },
  389. fail: () => {
  390. uni.showToast({
  391. title: '上传失败',
  392. icon: 'error'
  393. })
  394. }
  395. })
  396. })
  397. }
  398. }
  399. })
  400. },
  401. // 图片上传
  402. addImage() {
  403. let that = this
  404. uni.chooseImage({
  405. count: 1,
  406. sourceType: ['album', 'camera'],
  407. success: (res) => {
  408. for (let i = 0; i < res.tempFiles.length; i++) {
  409. //这里的id和页面中写的html代码的canvas的id要一致
  410. let canvasId = 'zipCanvas'
  411. //原图的路径
  412. let imagePath = res.tempFiles[i].path
  413. //大小限制
  414. let limitSize = 1024 * 2
  415. //初始绘画区域是画布自身的宽度也就是屏幕宽度
  416. let drawWidth = uni.getSystemInfoSync().windowWidth
  417. let that = this
  418. getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, that, (resPath) => {
  419. uni.showLoading({
  420. title: '上传中'
  421. })
  422. uni.uploadFile({
  423. url: that.config('APIHOST1') + '/alioss/upload',
  424. filePath: resPath,
  425. name: 'file',
  426. success: (uploadFileRes) => {
  427. that.shop.shopCover = JSON.parse(uploadFileRes.data).data
  428. uni.hideLoading()
  429. },
  430. fail: () => {
  431. uni.showToast({
  432. title: '上传失败',
  433. icon: 'error'
  434. })
  435. }
  436. })
  437. })
  438. }
  439. }
  440. })
  441. },
  442. config: function (name) {
  443. var info = null
  444. if (name) {
  445. var name2 = name.split('.') //字符分割
  446. if (name2.length > 1) {
  447. info = configdata[name2[0]][name2[1]] || null
  448. } else {
  449. info = configdata[name] || null
  450. }
  451. if (info == null) {
  452. let web_config = cache.get('web_config')
  453. if (web_config) {
  454. if (name2.length > 1) {
  455. info = web_config[name2[0]][name2[1]] || null
  456. } else {
  457. info = web_config[name] || null
  458. }
  459. }
  460. }
  461. }
  462. return info
  463. },
  464. // 发布
  465. submit() {
  466. console.log(this.distributionDistance)
  467. this.shop.shopBanner = this.shopBanner
  468. this.shop.shopBanner = this.shop.shopBanner.toString()
  469. this.shop.distributionDistance = this.distributionDistance * 1000
  470. // this.shop.distributionDistance = this.shop.distributionDistance * 1000
  471. // if (!this.shop.shopName) {
  472. // uni.showToast({
  473. // title: '请填写店铺名称',
  474. // icon: 'none',
  475. // duration: 1000
  476. // })
  477. // return
  478. // }
  479. if (!this.shop.businessHours) {
  480. uni.showToast({
  481. title: '请填写开店时间',
  482. icon: 'none',
  483. duration: 1000
  484. })
  485. return
  486. }
  487. if (!this.shop.lockHours) {
  488. uni.showToast({
  489. title: '请填写闭店时间',
  490. icon: 'none',
  491. duration: 1000
  492. })
  493. return
  494. }
  495. if (this.shop.businessHours >= this.shop.lockHours) {
  496. uni.showToast({
  497. title: '开店时间不能大于闭店时间',
  498. icon: 'none',
  499. duration: 1000
  500. })
  501. return
  502. }
  503. // if (!this.shop.detailedAddress) {
  504. // uni.showToast({
  505. // title: '请填写店铺地址',
  506. // icon: 'none',
  507. // duration: 1000
  508. // })
  509. // return
  510. // }
  511. if (!this.shop.shopNotice) {
  512. uni.showToast({
  513. title: '请填写店铺公告',
  514. icon: 'none',
  515. duration: 1000
  516. })
  517. return
  518. }
  519. // if (!this.shop.snCode) {
  520. // uni.showToast({
  521. // title: '请填写设备sn编码',
  522. // icon: 'none',
  523. // duration: 1000
  524. // })
  525. // return
  526. // }
  527. // if (!this.shop.value) {
  528. // uni.showToast({
  529. // title: '请填写设备key秘钥',
  530. // icon: 'none',
  531. // duration: 1000
  532. // })
  533. // return
  534. // }
  535. if (!this.shop.shopCover) {
  536. uni.showToast({
  537. title: '请上传店铺logo',
  538. icon: 'none',
  539. duration: 1000
  540. })
  541. return
  542. }
  543. if (!this.shop.shopBanner) {
  544. uni.showToast({
  545. title: '请上传店铺轮播图',
  546. icon: 'none',
  547. duration: 1000
  548. })
  549. return
  550. }
  551. // console.log('this.shop.putawayFlag',this.shop.putawayFlag)
  552. // return
  553. if (this.shop.putawayFlag == 0) {
  554. // if (!this.shop.errandMoney) {
  555. // uni.showToast({
  556. // title: '请填写配送费',
  557. // icon: 'none',
  558. // duration: 1000
  559. // })
  560. // return
  561. // }
  562. if (!this.shop.minimumDelivery) {
  563. this.shop.minimumDelivery = 0
  564. // uni.showToast({
  565. // title: '请填写最低起送金额',
  566. // icon: 'none',
  567. // duration: 1000
  568. // })
  569. // return
  570. }
  571. if (!this.shop.exemptMinMoney) {
  572. this.shop.exemptMinMoney = 0
  573. // uni.showToast({
  574. // title: '请填写减免配送费最小订单金额',
  575. // icon: 'none',
  576. // duration: 1000
  577. // })
  578. // return
  579. }
  580. console.log(this.shop.distributionDistance)
  581. // if (!this.shop.distributionDistance) {
  582. // uni.showToast({
  583. // title: '请填写最大配送距离',
  584. // icon: 'none',
  585. // duration: 1000
  586. // })
  587. // return
  588. // }
  589. }
  590. console.log(this.shop)
  591. // uni.setStorageSync('shopId', this.shop.shopId)
  592. this.$Request.postJsonA('/app/shop/updateShopMessage', this.shop).then((res) => {
  593. if (res.code == 0) {
  594. uni.showToast({
  595. title: '修改成功',
  596. icon: 'none'
  597. })
  598. setTimeout(function () {
  599. uni.navigateBack()
  600. // uni.navigateTo({
  601. // url: '/my/publish/index'
  602. // })
  603. }, 1000)
  604. } else {
  605. uni.showModal({
  606. title: '提示',
  607. content: res.msg,
  608. success: function (res) {
  609. if (res.confirm) {
  610. } else if (res.cancel) {
  611. }
  612. }
  613. })
  614. }
  615. })
  616. }
  617. }
  618. }
  619. </script>
  620. <style>
  621. page {
  622. background-color: #f5f5f5;
  623. }
  624. .bg {
  625. background-color: #ffffff;
  626. }
  627. .tabBox {
  628. border: 1rpx solid #999999;
  629. padding: 15rpx 20rpx;
  630. border-radius: 15rpx;
  631. font-size: 28rpx;
  632. }
  633. .btnnum {
  634. color: #005dff;
  635. border: 1rpx solid #005dff;
  636. }
  637. </style>