myCard.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <template>
  2. <view>
  3. <view class="flex content1 flex-between">
  4. <view @click='addclick' class="button">
  5. <image src="../../static/imgs/mySet/add.png" mode="widthFix" class="btn-img"></image>
  6. 新增
  7. </view>
  8. <view @click='share' class="button">
  9. <image src="../../static/imgs/mySet/share1.png" mode="widthFix" class="btn-img"></image>
  10. 分享
  11. </view>
  12. <view @click='imageOCR' class="button">
  13. <image src="../../static/imgs/mySet/shibie.png" mode="widthFix" class="btn-img"></image>
  14. 识别号码
  15. </view>
  16. </view>
  17. <view v-if='addstatus' class="content2" style="background-color: #fff;">
  18. <view class="flex flex-between">
  19. <u--input v-model="cardData.certificateName" placeholder="输入证件名称"></u--input>
  20. <view @click='add' class="submit">提交</view>
  21. </view>
  22. <view>
  23. <u-upload @afterRead="afterRead" :fileList="fileList1" @delete="deletePic" name="1" multiple
  24. :maxCount="1">
  25. <view class="bgc">
  26. <view class="circle">
  27. <view class="add">
  28. +
  29. </view>
  30. </view>
  31. </view>
  32. </u-upload>
  33. </view>
  34. </view>
  35. <view class="content3" style="background-color: #F7F7F7;">
  36. <mescroll-body v-if='!addstatus&&cardList.length==0||cardList.length>0' ref="mescrollRef" @init="mescrollInit"
  37. @up="upCallback" @down="downCallback">
  38. <view v-for='(item,index) in cardList' class="">
  39. <view class="flex flex-between row">
  40. <view v-if='!item.editstatus' class="left">
  41. <view class="name-text">
  42. {{item.certificateName}}
  43. </view>
  44. <text v-if='item.personNo'>({{item.personNo1}})</text>
  45. <u-icon v-if='item.personNo' @click='clip(0,item)' name="file-text-fill" color="#2979ff"
  46. size="28"></u-icon>
  47. <text v-if='item.bankNo'>({{item.bankNo1}})</text>
  48. <u-icon v-if='item.bankNo' @click='clip(1,item)' name="file-text-fill" color="#2979ff"
  49. size="28"></u-icon>
  50. </view>
  51. <u--input v-else v-model="item.certificateName" placeholder="输入证件名称"></u--input>
  52. <view class="flex" v-if="item.editstatus">
  53. <view @click='qxEdit(item)' :class="!item.editstatus?'edit':'finished'" style="margin:0 20rpx;">取消</view>
  54. <view @click='edit(item)' :class="!item.editstatus?'edit':'finished'">完成</view>
  55. </view>
  56. <view @click='edit(item)' :class="!item.editstatus?'edit':'finished'" v-else>编辑</view>
  57. </view>
  58. <view class="row2" v-if='!item.editstatus'>
  59. <image :src="item.certificateImage" mode="aspectFill" class="img"></image>
  60. <view class="right">
  61. <u-checkbox-group v-model="item.checked" placement="column" @change="checkboxChange($event,index,item)">
  62. <u-checkbox :name='index+1' :customStyle="{marginBottom: '8px'}">
  63. </u-checkbox>
  64. </u-checkbox-group>
  65. <!-- <image src="../../static/imgs/mySet/del1.png" mode="widthFix" @click="del(item)" style="width: 28rpx;"></image> -->
  66. <u-icon @click="del(item)" name="trash-fill" color="#fff" size="24"></u-icon>
  67. </view>
  68. </view>
  69. <u-upload v-else @afterRead="afterRead" :fileList="fileList2" @delete="deletePic" name="2" multiple
  70. :maxCount="1">
  71. <view class="">
  72. 123
  73. </view>
  74. <!-- <image src="https://cdn.uviewui.com/uview/demo/upload/positive.png"
  75. mode="widthFix" style="width: 250px;height: 150px;"></image> -->
  76. </u-upload>
  77. </view>
  78. </mescroll-body>
  79. </view>
  80. <u-picker @cancel='show=false' @confirm='pickerConfirm' title='识别类型' :show="show" :columns="columns"></u-picker>
  81. <u-popup :show="popupshow" mode="bottom">
  82. <view>
  83. <view class="share-to">
  84. <text>分享到</text>
  85. </view>
  86. <view class="content">
  87. <view class="block">
  88. <button class="wechat" open-type="share">
  89. <text class="iconfont icon-pengyouquan"></text>
  90. <!-- <image src="/static/img/wechat.png" mode="aspectFill"></image> -->
  91. <button class="shareBtn" type="default" data-name="shareBtn">
  92. 分享微信</button>
  93. </button>
  94. </view>
  95. <view class="block" @click="toUrl()">
  96. <button class="moment">
  97. <text class="iconfont icon-weixin"></text>
  98. <!-- <image src="/static/img/moment.png" mode="aspectFill"></image> -->
  99. <text>朋友圈</text>
  100. </button>
  101. </view>
  102. </view>
  103. <view class="cancel" @click.stop="handleHiddenShare">
  104. <text>取消</text>
  105. </view>
  106. </view>
  107. </u-popup>
  108. <u-modal @cancel='modalshow=false' confirmText='删除' showCancelButton='true' @confirm='delConfirm'
  109. :show="modalshow" title="提示" content='确定删除证件?'></u-modal>
  110. <u-modal @cancel='credentialscancel' cancelText='重新识别' confirmText='确认号码' showCancelButton='true'
  111. @confirm='credentialsConfirm' :show="credentialsShow" title="提示">
  112. <view class="slot-content">
  113. 证件号码
  114. <u--input v-if='shibie=="识别身份证号"' v-model="credentials.recPersonNo" placeholder="输入证件名称"
  115. border="none"></u--input>
  116. <u--input v-if='shibie=="识别银行卡号"' v-model="credentials.bankNo" placeholder="输入证件名称"
  117. border="none"></u--input>
  118. </view>
  119. </u-modal>
  120. <u-modal :show="modalstatusshow" confirmText='继续返回' cancelText='取消' @confirm='confirm' @cancel='cancel'
  121. showCancelButton='true' title="提示" content='有证件处于编辑状态未提交。'></u-modal>
  122. <u-toast ref="uToast"></u-toast>
  123. </view>
  124. </template>
  125. <script>
  126. import uploadImage from '@/components/ossutil/uploadFile.js';
  127. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  128. export default {
  129. mixins: [MescrollMixin],
  130. data() {
  131. return {
  132. show: false,
  133. modalshow: false,
  134. modalstatusshow: false,
  135. popupshow: false,
  136. columns: [
  137. ['识别身份证号', '识别银行卡号']
  138. ],
  139. userInfo: {},
  140. cardData: {},
  141. cardList: [],
  142. fileList1: [],
  143. fileList2: [],
  144. checkedList: [],
  145. addstatus: false,
  146. id: '',
  147. credentialsShow: false,
  148. credentials: {},
  149. shibie: '',
  150. shibieList: [],
  151. canReset: false
  152. };
  153. },
  154. onLoad() {
  155. // this.getList()
  156. },
  157. onShow() {
  158. this.userInfo = uni.getStorageSync("userInfo")
  159. this.cardData.commonId = uni.getStorageSync("userInfo").id
  160. this.$nextTick(function() {
  161. this.canReset && this.mescroll.resetUpScroll() // 重置列表数据为第一页
  162. this.canReset && this.mescroll.scrollTo(0, 0) // 重置列表数据为第一页时,建议把滚动条也重置到顶部,避免无法再次翻页的问题
  163. this.canReset = true // 过滤第一次的onShow事件,避免初始化界面时重复触发upCallback, 无需配置auto:false
  164. });
  165. },
  166. methods: {
  167. qxEdit(){
  168. this.mescroll.resetUpScroll()
  169. },
  170. clip(status, item) {
  171. uni.setClipboardData({
  172. data: status == 1 ? item.bankNo : item.personNo, // e是你要保存的内容
  173. success: function() {
  174. uni.showToast({
  175. title: '复制成功',
  176. icon: 'none'
  177. })
  178. }
  179. })
  180. },
  181. toUrl() {
  182. // this.carInfo.car_id
  183. // uni.navigateTo({
  184. // url: '/pages/mySet/lookCard',
  185. // })
  186. // this.handleHiddenShare()
  187. },
  188. edit(item) {
  189. if (item.editstatus) {
  190. this.$request.baseRequest('admin.unimall.certificateManagementInfo', 'update', {
  191. certificateManagementInfo: JSON.stringify(item)
  192. }, failres => {
  193. console.log('res+++++', failres.errmsg)
  194. this.$refs.uToast.show({
  195. type: 'error',
  196. message: failres.errmsg,
  197. })
  198. uni.hideLoading()
  199. }).then(res => {
  200. this.$refs.uToast.show({
  201. type: 'success',
  202. message: '编辑成功',
  203. })
  204. this.modalshow = false
  205. this.checkedList = []
  206. uni.hideLoading()
  207. this.mescroll.resetUpScroll()
  208. })
  209. } else {
  210. item.editstatus = true
  211. this.fileList2 = [{
  212. url: item.certificateImage
  213. }]
  214. }
  215. },
  216. delConfirm() {
  217. this.$request.baseRequest('admin.unimall.certificateManagementInfo', 'delete', {
  218. id: this.id
  219. }, failres => {
  220. console.log('res+++++', failres.errmsg)
  221. this.$refs.uToast.show({
  222. type: 'error',
  223. message: failres.errmsg,
  224. })
  225. uni.hideLoading()
  226. }).then(res => {
  227. this.$refs.uToast.show({
  228. type: 'success',
  229. message: '删除成功',
  230. })
  231. this.modalshow = false
  232. this.checkedList = []
  233. uni.hideLoading()
  234. this.mescroll.resetUpScroll()
  235. })
  236. },
  237. pickerConfirm(e) {
  238. this.show = false
  239. console.log(e)
  240. uni.showLoading({
  241. title: '数据加载中',
  242. mask: true
  243. })
  244. var type = '',
  245. type1 = ''
  246. this.shibie = e.value[0]
  247. this.shibieList = JSON.parse(JSON.stringify(this.cardList[this.checkedList[0]]))
  248. if (e.value[0] == '识别身份证号') {
  249. type = 'admin.unimall.certificateManagementInfo'
  250. type1 = 'personShibie'
  251. } else if (e.value[0] == '识别银行卡号') {
  252. type = 'admin.unimall.certificateManagementInfo'
  253. type1 = 'bankShibie'
  254. }
  255. this.$request.baseRequest(type, type1, {
  256. certificateImage: this.cardList[this.checkedList[0]].certificateImage
  257. }, failres => {
  258. console.log('res+++++', failres.errmsg)
  259. this.$refs.uToast.show({
  260. type: 'error',
  261. message: failres.errmsg,
  262. })
  263. uni.hideLoading()
  264. }).then(res => {
  265. console.log(res.data)
  266. this.$refs.uToast.show({
  267. type: 'success',
  268. message: '识别成功',
  269. })
  270. uni.hideLoading()
  271. this.credentials = res.data
  272. this.credentialsShow = true
  273. })
  274. },
  275. checkboxChange(e, i) {
  276. console.log(e[0], i)
  277. if (e[0]) {
  278. this.checkedList.push(i)
  279. } else {
  280. var index = this.checkedList.findIndex((item) => {
  281. return item == i
  282. })
  283. this.checkedList.splice(index, 1)
  284. }
  285. // for(var i=0;i<this.cardList.length;i++){
  286. // console.log(this.cardList[i].checked)
  287. // // if(this.cardList[i].checkedList.length>0){
  288. // // this.checkedList.push(i)
  289. // // }
  290. // }
  291. console.log(this.checkedList)
  292. },
  293. share() {
  294. if (this.checkedList.length == 0) {
  295. this.$refs.uToast.show({
  296. type: 'error',
  297. message: '请勾选想要识别的证件!',
  298. })
  299. return
  300. }
  301. this.popupshow = true
  302. },
  303. imageOCR() {
  304. console.log(this.cardList, this.checkedList)
  305. if (this.checkedList.length == 0) {
  306. this.$refs.uToast.show({
  307. type: 'error',
  308. message: '请勾选想要识别的证件!',
  309. })
  310. return
  311. }
  312. if (this.checkedList.length > 1) {
  313. this.$refs.uToast.show({
  314. type: 'error',
  315. message: '一次只能勾选一张证件!',
  316. })
  317. return
  318. }
  319. this.show = true
  320. },
  321. credentialsConfirm() {
  322. var type = '',
  323. type1 = ''
  324. if (this.shibie == '识别身份证号') {
  325. this.shibieList.personNo = this.credentials.recPersonNo
  326. } else if (this.shibie == '识别银行卡号') {
  327. this.shibieList.bankNo = this.credentials.bankNo
  328. }
  329. // if(this.shibie=='识别身份证号'){
  330. // type='admin.unimall.certificateManagementInfo'
  331. // type1='personShibie'
  332. // }else if(this.shibie=='识别银行卡号'){
  333. // type='admin.unimall.certificateManagementInfo'
  334. // type1='bankShibie'
  335. // }
  336. this.$request.baseRequest('admin.unimall.certificateManagementInfo', 'update', {
  337. certificateManagementInfo: JSON.stringify(this.shibieList)
  338. }, failres => {
  339. console.log('res+++++', failres.errmsg)
  340. this.$refs.uToast.show({
  341. type: 'error',
  342. message: failres.errmsg,
  343. })
  344. uni.hideLoading()
  345. }).then(res => {
  346. this.$refs.uToast.show({
  347. type: 'success',
  348. message: '编辑成功',
  349. })
  350. this.credentialsShow = false
  351. this.checkedList = []
  352. uni.hideLoading()
  353. this.mescroll.resetUpScroll()
  354. })
  355. },
  356. confirm() {
  357. uni.navigateBack()
  358. },
  359. cancel() {
  360. this.modalstatusshow = false
  361. },
  362. leftClick() {
  363. if (this.cardData.certificateImage) {
  364. console.log(22222)
  365. this.modalstatusshow = true
  366. } else {
  367. uni.navigateBack()
  368. }
  369. },
  370. del(item) {
  371. this.modalshow = true
  372. this.id = item.id
  373. },
  374. addclick() {
  375. this.addstatus = true
  376. },
  377. add() {
  378. if (!this.cardData.certificateImage) {
  379. this.$refs.uToast.show({
  380. type: 'error',
  381. message: '请上传证件照片!',
  382. })
  383. return
  384. }
  385. uni.showLoading({
  386. title: '数据加载中'
  387. })
  388. this.$request.baseRequest('admin.unimall.certificateManagementInfo', 'add', {
  389. certificateManagementInfo: JSON.stringify(this.cardData)
  390. }, failres => {
  391. console.log('res+++++', failres.errmsg)
  392. this.$refs.uToast.show({
  393. type: 'error',
  394. message: failres.errmsg,
  395. })
  396. uni.hideLoading()
  397. }).then(res => {
  398. this.$refs.uToast.show({
  399. type: 'success',
  400. message: '提交成功',
  401. })
  402. // if (res.errno == 200) {
  403. uni.hideLoading()
  404. this.fileList1 = []
  405. this.addstatus = false
  406. this.cardData = {
  407. commonId: uni.getStorageSync("userInfo").id
  408. }
  409. this.mescroll.resetUpScroll()
  410. // }
  411. })
  412. },
  413. deletePic(event) {
  414. this[`fileList${event.name}`].splice(event.index, 1)
  415. this.cardData.certificateImage = this[`fileList${event.name}`].toString()
  416. },
  417. // 新增图片
  418. async afterRead(event) {
  419. // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
  420. let lists = [].concat(event.file)
  421. let fileListLen = this[`fileList${event.name}`].length
  422. lists.map((item) => {
  423. this[`fileList${event.name}`].push({
  424. ...item,
  425. status: 'uploading',
  426. message: '上传中'
  427. })
  428. })
  429. // console.log(event,111111,fileListLen)
  430. for (let i = 0; i < lists.length; i++) {
  431. const result = await this.uploadFilePromise(lists[i].url)
  432. this.cardData.certificateImage = result
  433. this[`fileList${event.name}`][fileListLen] = {}
  434. let item = this[`fileList${event.name}`][fileListLen]
  435. console.log(item)
  436. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  437. status: 'success',
  438. message: '',
  439. url: result
  440. }))
  441. fileListLen++
  442. }
  443. console.log(this[`fileList${event.name}`])
  444. },
  445. uploadFilePromise(url) {
  446. console.log(url)
  447. return new Promise((resolve, reject) => {
  448. uploadImage(url, 'cardImages/',
  449. result => {
  450. console.log(result, 22222)
  451. resolve(result)
  452. }
  453. )
  454. })
  455. },
  456. mescrollInit() {
  457. },
  458. downCallback() {
  459. var that = this
  460. this.$nextTick(() => {
  461. // mescroll.endSuccess(data.result);
  462. that.mescroll.resetUpScroll()
  463. });
  464. },
  465. upCallback(page) {
  466. var that = this
  467. uni.showLoading({
  468. title: '数据加载中'
  469. })
  470. this.$request.baseRequest('admin.unimall.certificateManagementInfo', 'list', {
  471. page: page.num,
  472. limit: page.size,
  473. commonId: uni.getStorageSync("userInfo").id
  474. }, failres => {
  475. console.log('res+++++', failres.errmsg)
  476. this.$refs.uToast.show({
  477. type: 'error',
  478. message: failres.errmsg,
  479. })
  480. this.mescroll.endBySize(curPageLen, totalPage)
  481. uni.hideLoading()
  482. }).then(res => {
  483. console.log(res)
  484. if (page.num == 1) this.cardList = [];
  485. let curPageLen = res.data.items.length;
  486. let totalPage = res.data.total;
  487. if (res.data.items.length > 0) {
  488. for (var i = 0; i < res.data.items.length; i++) {
  489. res.data.items[i].editstatus = false
  490. if (res.data.items[i].personNo) res.data.items[i].personNo1 = '*' + (res.data.items[i]
  491. .personNo.substring(res.data.items[i].personNo.length - 4))
  492. if (res.data.items[i].bankNo) res.data.items[i].bankNo1 = '*' + (res.data.items[i]
  493. .bankNo.substring(res.data.items[i].bankNo.length - 4))
  494. }
  495. }
  496. this.cardList = this.cardList.concat(res.data.items)
  497. this.cardData.certificateName = '证件' + '-' + (this.cardList.length + 1)
  498. this.$nextTick(() => {
  499. console.log(that)
  500. // mescroll.endSuccess(data.result);
  501. that.mescroll.endBySize(curPageLen, totalPage)
  502. });
  503. // if (res.errno == 200) {
  504. uni.hideLoading()
  505. // }
  506. })
  507. },
  508. }
  509. }
  510. </script>
  511. <style lang="scss" scoped>
  512. button::after {
  513. border: initial;
  514. }
  515. .share {
  516. width: 100%;
  517. height: 100%;
  518. }
  519. .share-box {
  520. width: 100%;
  521. height: 100%;
  522. position: fixed;
  523. top: 0rpx;
  524. left: 0rpx;
  525. bottom: 0rpx;
  526. right: 0rpx;
  527. background-color: rgba(0, 0, 0, 0.4);
  528. transition: .3s;
  529. z-index: 999;
  530. }
  531. .block>button {
  532. display: flex;
  533. flex-direction: column;
  534. justify-content: center;
  535. align-items: center;
  536. background-color: white;
  537. border-style: none;
  538. width: 300rpx;
  539. height: 180rpx;
  540. // outline:none;
  541. // opacity: 0;
  542. }
  543. // 进入分享动画
  544. .share-show {
  545. transition: all 0.3s ease;
  546. transform: translateY(0%) !important;
  547. }
  548. // 离开分享动画
  549. .share-item {
  550. .share-to {
  551. width: 100%;
  552. height: 3rem;
  553. display: flex;
  554. justify-content: center;
  555. align-items: center;
  556. &::after {
  557. content: '';
  558. width: 240rpx;
  559. height: 0rpx;
  560. border-top: 1px solid #E4E7ED;
  561. -webkit-transform: scaleY(0.5);
  562. transform: scaleY(0.5);
  563. margin-left: 30rpx;
  564. }
  565. &::before {
  566. content: '';
  567. width: 240rpx;
  568. height: 0rpx;
  569. border-top: 1px solid #E4E7ED;
  570. -webkit-transform: scaleY(0.5);
  571. transform: scaleY(0.5);
  572. margin-right: 30rpx;
  573. }
  574. }
  575. .content {
  576. width: 100%;
  577. height: auto;
  578. display: flex;
  579. flex-wrap: wrap;
  580. .block {
  581. width: 50%;
  582. display: flex;
  583. flex-direction: column;
  584. justify-content: center;
  585. align-items: center;
  586. height: 180rpx;
  587. image {
  588. width: 80rpx;
  589. height: 80rpx;
  590. }
  591. text {
  592. margin-top: 16rpx;
  593. font-size: 28rpx;
  594. color: #606266;
  595. }
  596. }
  597. }
  598. .cancel {
  599. width: 100%;
  600. height: 3rem;
  601. display: flex;
  602. justify-content: center;
  603. align-items: center;
  604. border-top: 1rpx solid #E4E7ED;
  605. }
  606. }
  607. .content1 {
  608. background-color: #112253;
  609. padding: 20rpx;
  610. box-sizing: border-box;
  611. border-radius: 0px 0px 20rpx 20rpx;
  612. .button {
  613. display: flex;
  614. align-items: center;
  615. justify-content: center;
  616. background: #fff;
  617. color: #333333;
  618. border-radius: 20rpx;
  619. padding: 24rpx;
  620. width: calc(33% - 60rpx);
  621. }
  622. .btn-img {
  623. width: 28rpx;
  624. margin-right: 18rpx;
  625. }
  626. }
  627. .content2{
  628. padding:20rpx ;
  629. .bgc{
  630. background: #fff;
  631. width: calc(100vw - 40rpx);
  632. height: 190rpx;
  633. .circle{
  634. width: 74px;
  635. height: 74px;
  636. border-radius: 50%;
  637. background-color: #F7F7F7;
  638. }
  639. }
  640. .submit{
  641. padding: 10rpx 14rpx;
  642. text-align: center;
  643. background: #112253;
  644. border-radius: 10rpx;
  645. font-size: 28rpx;
  646. font-weight: bold;
  647. color: #FFFFFF;
  648. margin-left: 20rpx;
  649. }
  650. }
  651. .content3{
  652. .row{
  653. padding: 20rpx;
  654. box-sizing: border-box;
  655. .name-text{
  656. font-size: 32rpx;
  657. font-weight: bold;
  658. color: #1A1A1A;
  659. }
  660. }
  661. .edit{
  662. padding: 10rpx 14rpx;
  663. text-align: center;
  664. background: #112253;
  665. border-radius: 10rpx;
  666. font-size: 28rpx;
  667. font-weight: bold;
  668. color: #FFFFFF;
  669. }
  670. .finished{
  671. padding: 10rpx 14rpx;
  672. text-align: center;
  673. background: #112253;
  674. border-radius: 10rpx;
  675. font-size: 28rpx;
  676. font-weight: bold;
  677. color: #FFFFFF;
  678. }
  679. .row2{
  680. display: flex;
  681. justify-content: center;
  682. position: relative;
  683. .img{
  684. border-radius: 20rpx;
  685. height: 380rpx;
  686. }
  687. .right{
  688. position: absolute;
  689. right: 0;
  690. height: 100%;
  691. right: 10px;
  692. background: #11225359;
  693. border-radius: 10px;
  694. display: flex;
  695. flex-direction: column;
  696. justify-content: space-between;
  697. align-items: center;
  698. padding: 10px 5px;
  699. box-sizing: border-box;
  700. }
  701. /deep/.u-checkbox__icon-wrap{
  702. margin-right: 0!important;
  703. }
  704. }
  705. }
  706. </style>