myCard.vue 20 KB

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