signContract.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  1. <template>
  2. <view class="content">
  3. <!-- <view class="content1"> -->
  4. <!-- <view style='width:70px'>付款方式</view>
  5. <u-radio-group v-model="dataDetails.advanceFreightService" placement="row">
  6. <u-radio :customStyle="radioCustomStyle" v-for="(item, index) in radiolist1" :key="index"
  7. :label="item.name" :name="item.name" @change="radioChange">
  8. </u-radio>
  9. </u-radio-group> -->
  10. <!-- <view class="left">
  11. 付款方式
  12. </view>
  13. <view class="right">
  14. <view class="left-text">平台垫付运费</view>
  15. <u-switch @change="change" v-model="value" inactiveColor='#ABB0BB' size="20" ></u-switch>
  16. </view> -->
  17. <!-- </view> -->
  18. <view class="content2">
  19. <view class="title">
  20. 合同摘要
  21. </view>
  22. <view class='row-between'>
  23. <view class="gray">发货单位</view>
  24. <view class="">{{dataDetails.cargoOwner?dataDetails.cargoOwner:'个人货主'}}</view>
  25. </view>
  26. <view class='row-between'>
  27. <view class="gray">发货地</view>
  28. <view class="place">
  29. {{dataDetails.sendPrivate}}{{dataDetails.sendCity}}{{dataDetails.sendArea}}{{dataDetails.sendDetailedAddress}}
  30. </view>
  31. </view>
  32. <view class='row-between'>
  33. <view class="gray">卸货地</view>
  34. <view class=" place">
  35. {{dataDetails.unloadPrivate}}{{dataDetails.unloadCity}}{{dataDetails.unloadArea}}{{dataDetails.unloadDetailedAddress}}
  36. </view>
  37. </view>
  38. <view class='row-between'>
  39. <view class="gray">货名</view>
  40. <view class="">{{dataDetails.goodsName}}</view>
  41. </view>
  42. <view class='row-between'>
  43. <view class="gray">距离</view>
  44. <view class="">约{{dataDetails.distance}}公里</view>
  45. </view>
  46. <!-- <view class='row-between'>
  47. <view class="gray">运费</view>
  48. <view class="">{{dataDetails.freightInfo.freight}}{{dataDetails.illingMethod==0?'元/吨':'元/车'}}</view>
  49. </view> -->
  50. <view class='row-between'>
  51. <!-- 后加 -->
  52. <view class="gray">收费比例(%)</view>
  53. <view class="">{{chargeProportion}}</view><!-- 暂时写死6% -->
  54. </view>
  55. <view style='color:#6A6A6A;margin-top:20px;font-size:30rpx;align-items: center;' class="flex">
  56. <u--image style='margin-right:3px;position:relative;top:1rpx;' @click='consent'
  57. :src="consentStatus==true?'../../static/images/mine/duihao@2x.png':'../../static/images/mine/wxz.png'"
  58. width="17px" height="17px"></u--image>
  59. 我已阅读并同意
  60. <view>
  61. <u--text type="primary" text="《货物运输委托协议》" @click="lookContract"></u--text>
  62. </view>
  63. 条款
  64. </view>
  65. </view>
  66. <view class="wrapper content3">
  67. <view class="qm-row">
  68. <view class="handTitle">手写签名</view>
  69. <image src="@/static/xiangpica@2x.png" mode="widthFix" @click="retDraw" class="retDraw-image"></image>
  70. <!-- <button @click="retDraw" class="delBtn">重写</button> -->
  71. </view>
  72. <view class="handCenter">
  73. <canvas class="handWriting" :disable-scroll="true" @touchstart="uploadScaleStart"
  74. @touchmove="uploadScaleMove" canvas-id="handWriting"></canvas>
  75. </view>
  76. <view class="handRight">
  77. </view>
  78. </view>
  79. <view class="handBtn">
  80. <!-- <image @click="selectColorEvent('black','#1A1A1A')"
  81. :src="selectColor === 'black' ? '/static/other/color_black_selected.png' : '/static/other/color_black.png'"
  82. :class="[selectColor === 'black' ? 'color_select' : '', 'black-select']"></image>
  83. <image @click="selectColorEvent('red','#ca262a')"
  84. :src="selectColor === 'red' ? '/static/other/color_red_selected.png' : '/static/other/color_red.png'"
  85. :class="[selectColor === 'red' ? 'color_select' : '', 'black-select']"></image> -->
  86. <!-- <button @click="saveCanvasAsImg" class="saveBtn">保存</button> -->
  87. <view @click="$u.throttle(submit, 1000)" class="saveBtn">提交</view>
  88. <!-- <button @click="previewCanvasImg" class="previewBtn">预览</button> -->
  89. <!-- <button @click="subCanvas" class="subBtn">完成</button> -->
  90. </view>
  91. <u-toast ref="uToast"></u-toast>
  92. </view>
  93. </template>
  94. <script>
  95. import {
  96. mapState
  97. } from 'vuex';
  98. var that;
  99. import uploadImage from '@/components/ossutil/uploadFile.js';
  100. export default {
  101. data() {
  102. return {
  103. isScaleStart: false,
  104. radioCustomStyle: {
  105. margin: '0 0 0 10rpx'
  106. },
  107. canvasName: 'handWriting',
  108. ctx: '',
  109. startX: null,
  110. startY: null,
  111. canvasWidth: 0,
  112. canvasHeight: 0,
  113. selectColor: 'black',
  114. lineColor: '#1A1A1A', // 颜色
  115. lineSize: 5, // 笔记倍数
  116. value: true,
  117. dataDetails: {
  118. carrierInfo: {},
  119. serviceCharge: '50'
  120. },
  121. radiolist1: [{
  122. name: '平台垫付运费',
  123. disabled: false
  124. },
  125. {
  126. name: '无需平台垫付运费',
  127. disabled: false
  128. },
  129. ],
  130. chargeProportion: "", //收费比例
  131. consentStatus: false,
  132. codestatus: false,
  133. addType: "",
  134. };
  135. },
  136. computed: {
  137. ...mapState(['hasLogin', 'userInfo', 'firstAuthentication'])
  138. },
  139. onLoad(options) {
  140. that = this
  141. // 如果登录之后没有切换到我的页面缓存不会存上,所以在这调用接口取收费比例
  142. this.$request.baseRequest('get', '/cargoOwnerInfo/firstAuthentication', {
  143. phone: this.userInfo.phone
  144. }).then(res => {
  145. uni.setStorageSync("firstAuthentication", res.data)
  146. //收费比例从缓存中取
  147. that.chargeProportion = uni.getStorageSync("firstAuthentication").chargeProportion * 100
  148. })
  149. this.dataDetails = JSON.parse(decodeURIComponent(options.obj))
  150. this.addType = JSON.parse(decodeURIComponent(options.type))
  151. // this.dataDetails.advanceFreightService = '平台垫付运费'
  152. this.ctx = uni.createCanvasContext("handWriting");
  153. this.$nextTick(() => {
  154. uni.createSelectorQuery().select('.handCenter').boundingClientRect(rect => {
  155. this.canvasWidth = rect.width;
  156. this.canvasHeight = rect.height;
  157. /* 将canvas背景设置为 白底,不设置 导出的canvas的背景为透明 */
  158. this.setCanvasBg('#fff');
  159. this.$request.baseRequest('get', '/commonUser/getSignatureAddress', {
  160. phone: this.userInfo.phone,
  161. identification: 2
  162. }).then(res => {
  163. if (res.data) {
  164. if (res.data.signImg) {
  165. // 获取远程图片,canvas无法直接绘制远程图片
  166. this.userInfo.signImg = res.data.signImg
  167. this.isScaleStart = res.data.signImg
  168. uni.getImageInfo({
  169. src: res.data.signImg,
  170. success(res) {
  171. var ctx = uni.createCanvasContext('handWriting')
  172. console.log(res.width);
  173. console.log(res.height);
  174. ctx.drawImage(res.path, 0, 0)
  175. // ctx.drawImage(res.path, 0, 0, 330, 244)
  176. ctx.save()
  177. ctx.draw()
  178. },
  179. fail(res) {
  180. console.log("fail -> res", res)
  181. uni.showToast({
  182. title: "图片下载异常",
  183. duration: 2000,
  184. icon: "none"
  185. })
  186. }
  187. })
  188. }
  189. }
  190. })
  191. })
  192. .exec();
  193. });
  194. },
  195. methods: {
  196. lookContract() {
  197. uni.downloadFile({
  198. url: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/pcfiles/hzContract.pdf",
  199. success: function(res) {
  200. var filePath = res.tempFilePath;
  201. uni.openDocument({
  202. filePath: filePath,
  203. showMenu: true,
  204. success: function(res) {
  205. console.log('打开文档成功');
  206. }
  207. });
  208. }
  209. });
  210. },
  211. consent() {
  212. this.consentStatus = !this.consentStatus
  213. uni.setStorage({
  214. key: 'policyStorageKey',
  215. data: this.consentStatus
  216. });
  217. },
  218. submit() {
  219. if (!that.isScaleStart) {
  220. that.$refs.uToast.show({
  221. type: 'error',
  222. message: "手写签名不能为空!",
  223. })
  224. return
  225. }
  226. // if (uni.$u.test.isEmpty(that.dataDetails.freight)) {
  227. // that.$refs.uToast.show({
  228. // type: 'error',
  229. // message: "运费不能为空!",
  230. // })
  231. // return
  232. // }
  233. if (!that.consentStatus) {
  234. that.$refs.uToast.show({
  235. type: 'error',
  236. message: "请阅读并确认协议条款!",
  237. })
  238. return
  239. }
  240. uni.canvasToTempFilePath({
  241. canvasId: 'handWriting',
  242. fileType: 'png',
  243. quality: 1, //图片质量
  244. width: 330,
  245. height: 244,
  246. destWidth: 330,
  247. destHeight: 244,
  248. success(res) {
  249. console.log(res.tempFilePath, 'canvas生成图片地址');
  250. uploadImage('image', res.tempFilePath, 'appData/',
  251. result => {
  252. // 上传成功
  253. console.log('图片地址', result)
  254. that.dataDetails.cargoOwnerAutograph = result
  255. uni.showLoading({
  256. title: '加载中',
  257. mask: true
  258. })
  259. if (that.addType == 1) { //新增
  260. that.$request.baseRequest('post', '/publishTaskInfo/api/addTask', that
  261. .dataDetails).then(res => {
  262. if (res.code == 200) {
  263. uni.removeStorage({
  264. key: 'storage_saddress'
  265. });
  266. uni.removeStorage({
  267. key: 'storage_faddress'
  268. });
  269. uni.removeStorage({
  270. key: 'releaseCargoOwner'
  271. });
  272. uni.removeStorage({
  273. key: 'releasecompId'
  274. });
  275. // uni.redirectTo({
  276. // url: "/pages/release/release"
  277. // })
  278. that.dataDetails.id = res.data
  279. let _obj = {}
  280. _obj.id = that.dataDetails.id
  281. _obj.cargoOwnerAutograph = that.dataDetails
  282. .cargoOwnerAutograph
  283. that.$request.baseRequest('get',
  284. '/publishTaskInfo/signContract', _obj).then(
  285. res => {
  286. uni.hideLoading()
  287. if (res.code == 200) {
  288. // that.contractSrc = res.data
  289. // uni.downloadFile({
  290. // url: res.data,
  291. // success: function(res) {
  292. // var filePath = res.tempFilePath;
  293. // uni.openDocument({
  294. // filePath: filePath,
  295. // showMenu: true,
  296. // success: function(res) {
  297. // console.log('打开文档成功');
  298. // }
  299. // });
  300. // }
  301. // });
  302. that.$refs.uToast.show({
  303. type: 'success',
  304. message: "发布成功",
  305. complete() {
  306. uni.switchTab({
  307. url: '/pages/order/index'
  308. });
  309. }
  310. })
  311. }
  312. })
  313. .catch(res => {
  314. uni.hideLoading()
  315. uni.$u.toast(res.message);
  316. });
  317. }
  318. })
  319. .catch(res => {
  320. uni.hideLoading()
  321. uni.showToast({
  322. title: res.message,
  323. icon: 'none',
  324. duration: 2000
  325. })
  326. });
  327. } else if (that.addType == 2) { //编辑
  328. that.$request.baseRequest('post', '/publishTaskInfo/api/editTask', that
  329. .dataDetails).then(res => {
  330. if (res.code == 200) {
  331. uni.removeStorage({
  332. key: 'storage_saddress'
  333. });
  334. uni.removeStorage({
  335. key: 'storage_faddress'
  336. });
  337. uni.removeStorage({
  338. key: 'releaseCargoOwner'
  339. });
  340. uni.removeStorage({
  341. key: 'releasecompId'
  342. });
  343. let _obj = {}
  344. _obj.id = that.dataDetails.id
  345. _obj.cargoOwnerAutograph = that.dataDetails
  346. .cargoOwnerAutograph
  347. that.$request.baseRequest('get',
  348. '/publishTaskInfo/signContract', _obj).then(
  349. res => {
  350. uni.hideLoading()
  351. if (res.code == 200) {
  352. // that.contractSrc = res.data
  353. // uni.downloadFile({
  354. // url: res.data,
  355. // success: function(res) {
  356. // var filePath = res.tempFilePath;
  357. // uni.openDocument({
  358. // filePath: filePath,
  359. // showMenu: true,
  360. // success: function(res) {
  361. // console.log('打开文档成功');
  362. // }
  363. // });
  364. // }
  365. // });
  366. that.$refs.uToast.show({
  367. type: 'success',
  368. message: "修改成功",
  369. complete() {
  370. uni.switchTab({
  371. url: '/pages/order/index'
  372. });
  373. }
  374. })
  375. }
  376. })
  377. .catch(res => {
  378. uni.hideLoading()
  379. uni.$u.toast(res.message);
  380. });
  381. }
  382. })
  383. .catch(res => {
  384. uni.hideLoading()
  385. uni.showToast({
  386. title: res.message,
  387. icon: 'none',
  388. duration: 2000
  389. })
  390. });
  391. }
  392. })
  393. }
  394. });
  395. },
  396. // change(e){
  397. // if(this.value){
  398. // this.$set(this.dataDetails,'advanceFreightService',1)
  399. // }else{
  400. // this.$set(this.dataDetails,'advanceFreightService',0)
  401. // }
  402. // },
  403. // 笔迹开始
  404. uploadScaleStart(e) {
  405. this.isScaleStart = true
  406. this.startX = e.changedTouches[0].x
  407. this.startY = e.changedTouches[0].y
  408. //设置画笔参数
  409. //画笔颜色
  410. this.ctx.setStrokeStyle(this.lineColor)
  411. //设置线条粗细
  412. this.ctx.setLineWidth(this.lineSize)
  413. //设置线条的结束端点样式
  414. this.ctx.setLineCap("round") //'butt'、'round'、'square'
  415. //开始画笔
  416. this.ctx.beginPath()
  417. },
  418. // 笔迹移动
  419. uploadScaleMove(e) {
  420. //取点
  421. let temX = e.changedTouches[0].x
  422. let temY = e.changedTouches[0].y
  423. //画线条
  424. this.ctx.moveTo(this.startX, this.startY)
  425. this.ctx.lineTo(temX, temY)
  426. this.ctx.stroke()
  427. this.startX = temX
  428. this.startY = temY
  429. this.ctx.draw(true)
  430. },
  431. /**
  432. * 重写
  433. */
  434. retDraw() {
  435. this.ctx.clearRect(0, 0, 700, 730);
  436. this.ctx.draw();
  437. //设置canvas背景
  438. this.setCanvasBg('#fff');
  439. },
  440. /**
  441. * @param {Object} str
  442. * @param {Object} color
  443. * 选择颜色
  444. */
  445. selectColorEvent(str, color) {
  446. this.selectColor = str;
  447. this.lineColor = color;
  448. },
  449. //完成
  450. subCanvas() {
  451. uni.canvasToTempFilePath({
  452. canvasId: 'handWriting',
  453. fileType: 'png',
  454. quality: 1, //图片质量
  455. success(res) {
  456. // console.log(res.tempFilePath, 'canvas生成图片地址');
  457. uni.showToast({
  458. title: '以保存'
  459. });
  460. //保存到系统相册
  461. uni.saveImageToPhotosAlbum({
  462. filePath: res.tempFilePath,
  463. success(res) {
  464. uni.showToast({
  465. title: '已成功保存到相册',
  466. duration: 2000
  467. });
  468. }
  469. });
  470. }
  471. });
  472. },
  473. //保存到相册
  474. saveCanvasAsImg() {
  475. uni.canvasToTempFilePath({
  476. canvasId: 'handWriting',
  477. fileType: 'png',
  478. quality: 1, //图片质量
  479. success(res) {
  480. console.log(res.tempFilePath, 'canvas生成图片地址');
  481. uni.saveImageToPhotosAlbum({
  482. filePath: res.tempFilePath,
  483. success(res) {
  484. uni.showToast({
  485. title: '已保存到相册',
  486. duration: 2000
  487. });
  488. }
  489. });
  490. }
  491. });
  492. },
  493. //预览
  494. previewCanvasImg() {
  495. uni.canvasToTempFilePath({
  496. canvasId: 'handWriting',
  497. fileType: 'jpg',
  498. quality: 1, //图片质量
  499. success(res) {
  500. uni.previewImage({
  501. urls: [res.tempFilePath] //预览图片 数组
  502. });
  503. }
  504. });
  505. },
  506. //设置canvas背景色 不设置 导出的canvas的背景为透明
  507. //@params:字符串 color
  508. setCanvasBg(color) {
  509. /* 将canvas背景设置为 白底,不设置 导出的canvas的背景为透明 */
  510. //rect() 参数说明 矩形路径左上角的横坐标,左上角的纵坐标, 矩形路径的宽度, 矩形路径的高度
  511. //这里是 canvasHeight - 4 是因为下边盖住边框了,所以手动减了写
  512. this.ctx.rect(0, 0, this.canvasWidth, this.canvasHeight - 4);
  513. // ctx.setFillStyle('red')
  514. this.ctx.setFillStyle(color);
  515. this.ctx.fill(); //设置填充
  516. this.ctx.draw(); //开画
  517. }
  518. }
  519. };
  520. </script>
  521. <style lang="scss" scoped>
  522. page {
  523. background: #fbfbfb;
  524. height: auto;
  525. }
  526. .content1 {
  527. background: white;
  528. border-radius: 20rpx;
  529. margin: 20rpx;
  530. padding: 30rpx 20rpx;
  531. display: flex;
  532. justify-content: space-between;
  533. .right {
  534. display: flex;
  535. }
  536. }
  537. .content2 {
  538. background: white;
  539. border-radius: 20rpx;
  540. margin: 20rpx;
  541. padding: 30rpx 20rpx;
  542. .title {
  543. font-size: 36rpx;
  544. font-weight: 700;
  545. margin-bottom: 20rpx;
  546. }
  547. .row-between {
  548. margin-bottom: 20rpx;
  549. }
  550. .left-text {
  551. margin-right: 20rpx;
  552. }
  553. .yf-input {
  554. padding-right: 10rpx;
  555. }
  556. }
  557. .content3 {
  558. background: white;
  559. border-radius: 20rpx;
  560. margin: 20rpx;
  561. padding: 30rpx 20rpx;
  562. }
  563. .place {
  564. width: 80%;
  565. text-align: right;
  566. }
  567. .handCenter {
  568. border: 4rpx dashed #e9e9e9;
  569. overflow: hidden;
  570. box-sizing: border-box;
  571. height: 500rpx;
  572. }
  573. .handWriting {
  574. background: #F9F9FB;
  575. width: 100%;
  576. height: 100%;
  577. }
  578. .handRight {
  579. display: inline-flex;
  580. align-items: center;
  581. }
  582. .handCenter {
  583. border: 4rpx dashed #e9e9e9;
  584. flex: 5;
  585. overflow: hidden;
  586. box-sizing: border-box;
  587. }
  588. .handTitle {
  589. font-size: 36rpx;
  590. color: #666;
  591. font-weight: 700;
  592. color: #333333;
  593. margin-bottom: 20rpx;
  594. }
  595. .retDraw-image {
  596. width: 50rpx;
  597. }
  598. .qm-row {
  599. display: flex;
  600. justify-content: space-between;
  601. }
  602. .saveBtn {
  603. width: 80%;
  604. background: #2772FB;
  605. color: white;
  606. text-align: center;
  607. border-radius: 50rpx;
  608. padding: 20rpx;
  609. height: 50rpx;
  610. }
  611. .handBtn {
  612. display: flex;
  613. height: 60px;
  614. bottom: 0px;
  615. padding-top: 20rpx;
  616. background-color: #FFFFFF;
  617. justify-content: center;
  618. }
  619. uni-navigator {
  620. //条款
  621. display: inline-block;
  622. color: #2772FB;
  623. }
  624. /*
  625. .wrapper {
  626. width: 100%;
  627. height: 95vh;
  628. margin: 30rpx 0;
  629. overflow: hidden;
  630. display: flex;
  631. align-content: center;
  632. flex-direction: row;
  633. justify-content: center;
  634. font-size: 28rpx;
  635. }
  636. .handBtn button {
  637. font-size: 28rpx;
  638. }
  639. .handBtn {
  640. height: 95vh;
  641. display: inline-flex;
  642. flex-direction: column;
  643. justify-content: space-between;
  644. align-content: space-between;
  645. flex: 1;
  646. }
  647. .delBtn {
  648. position: absolute;
  649. top: 250rpx;
  650. left: 0rpx;
  651. transform: rotate(90deg);
  652. color: #666;
  653. }
  654. .delBtn image {
  655. position: absolute;
  656. top: 13rpx;
  657. left: 25rpx;
  658. }
  659. .subBtn {
  660. position: absolute;
  661. bottom: 52rpx;
  662. left: -3rpx;
  663. display: inline-flex;
  664. transform: rotate(90deg);
  665. background: #008ef6;
  666. color: #fff;
  667. margin-bottom: 30rpx;
  668. text-align: center;
  669. justify-content: center;
  670. }
  671. .saveBtn {
  672. position: absolute;
  673. top: 375rpx;
  674. left: 0rpx;
  675. transform: rotate(90deg);
  676. color: #666;
  677. }
  678. .previewBtn {
  679. position: absolute;
  680. top: 500rpx;
  681. left: 0rpx;
  682. transform: rotate(90deg);
  683. color: #666;
  684. }
  685. .uploadBtn {
  686. position: absolute;
  687. top: 625rpx;
  688. left: 0rpx;
  689. transform: rotate(90deg);
  690. color: #666;
  691. }
  692. .black-select {
  693. width: 60rpx;
  694. height: 60rpx;
  695. position: absolute;
  696. top: 30rpx;
  697. left: 25rpx;
  698. }
  699. .black-select.color_select {
  700. width: 90rpx;
  701. height: 90rpx;
  702. top: 100rpx;
  703. left: 10rpx;
  704. }
  705. .red-select {
  706. width: 60rpx;
  707. height: 60rpx;
  708. position: absolute;
  709. top: 140rpx;
  710. left: 25rpx;
  711. }
  712. .red-select.color_select {
  713. width: 90rpx;
  714. height: 90rpx;
  715. top: 120rpx;
  716. left: 10rpx;
  717. } */
  718. </style>