index.vue 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033
  1. <template>
  2. <view v-if="status == -1 && !inloading" :style="colorStyle">
  3. <form report-submit='true'>
  4. <view class='merchantsSettled'>
  5. <image mode="widthFix" class="merchantBg" src="../static/img.jpg" alt="">
  6. <!-- <view class="application-record" @click="jumpToList">
  7. 申请记录
  8. <text class="iconfont icon-xiangyou"></text>
  9. </view> -->
  10. <view class='list'>
  11. <view class="item">
  12. <view class="acea-row row-middle">
  13. <!-- <i class="icon iconfont icon-qiye"></i> -->
  14. <text class="item-name">{{$t(`代理商名称`)}}</text>
  15. <input type="text" maxlength="30" :placeholder="$t(`请输入代理商名称`)"
  16. v-model="merchantData.agent_name" @input="validateBtn"
  17. placeholder-class='placeholder' />
  18. </view>
  19. </view>
  20. <view class="item">
  21. <view class="acea-row row-middle">
  22. <!-- <i class="icon iconfont icon-yonghu3"></i> -->
  23. <text class="item-name">{{$t(`用户姓名`)}}</text>
  24. <input type="text" :placeholder="$t(`请输入姓名`)" v-model="merchantData.name"
  25. @input="validateBtn" placeholder-class='placeholder' />
  26. </view>
  27. </view>
  28. <view class="item">
  29. <view class="acea-row row-middle">
  30. <!-- <i class="icon iconfont icon-shoujihao"></i> -->
  31. <text class="item-name">{{$t(`联系电话`)}}</text>
  32. <input type="text" :placeholder="$t(`请输入手机号`)" v-model="merchantData.phone"
  33. @input="validateBtn" placeholder-class='placeholder' />
  34. </view>
  35. </view>
  36. <view class="item rel">
  37. <view class="acea-row row-middle">
  38. <!-- <i class="icon iconfont icon-yanzhengma"></i> -->
  39. <text class="item-name">{{$t(`验证码`)}}</text>
  40. <input type="text" :placeholder="$t(`填写验证码`)" v-model="merchantData.code"
  41. @input="validateBtn" class="codeIput" placeholder-class='placeholder' />
  42. <button class="code" :disabled="disabled" :class="disabled === true ? 'on' : ''"
  43. @click="code">
  44. {{ text }}
  45. </button>
  46. </view>
  47. </view>
  48. <view class="item">
  49. <view class="acea-row row-middle">
  50. <!-- <i class="icon iconfont icon-shoujihao"></i> -->
  51. <text class="item-name">{{$t(`邀请码`)}}</text>
  52. <input type="text" :placeholder="$t(`请输入代理商邀请码`)" v-model="merchantData.division_invite"
  53. @input="validateBtn" placeholder-class='placeholder' />
  54. </view>
  55. </view>
  56. <view class="item no-border">
  57. <view class='acea-row row-middle'>
  58. <text class="item-title">{{$t(`请上传营业执照及行业相关资质证明图片`)}}</text>
  59. <text class="item-desc">({{$t(`图片最多可上传10张,图片格式支持JPG、PNG、JPEG`)}})</text>
  60. <view class="upload">
  61. <view class='pictrue' v-for="(item,index) in images" :key="index"
  62. :data-index="index" @click="getPhotoClickIdx">
  63. <image :src='item'></image>
  64. <text class='iconfont icon-guanbi1' @click.stop='DelPic(index)'></text>
  65. </view>
  66. <view class='pictrue acea-row row-center-wrapper row-column' @click='uploadpic'
  67. v-if="images.length < 10">
  68. <text class='iconfont icon-icon25201'></text>
  69. <view>{{$t(`上传图片`)}}</view>
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="item no-border">
  75. <checkbox-group @change='ChangeIsAgree'>
  76. <checkbox class="checkbox" :checked="isAgree ? true : false" />{{$t(`已阅读并同意`)}}
  77. </checkbox-group>
  78. <button class="settleAgree" @click="getAgentAgreement">《{{$t(`代理商协议`)}}》</button>
  79. </view>
  80. <button class='submitBtn' :class="isAgree === true ? 'on':''"
  81. @click="formSubmit">{{$t(`提交申请`)}}</button>
  82. </view>
  83. </view>
  84. </form>
  85. <Verify @success="success" :captchaType="'blockPuzzle'" :imgSize="{ width: '330px', height: '155px' }"
  86. ref="verify"></Verify>
  87. <view class="settlementAgreement" v-if="showProtocol">
  88. <view class="setAgCount">
  89. <i class="icon iconfont icon-cha" @click="showProtocol = false"></i>
  90. <div class="title">{{$t(`代理商入驻协议`)}}</div>
  91. <view class="content">
  92. <jyf-parser :html="protocol" ref="article" :tag-style="tagStyle"></jyf-parser>
  93. <!-- <view v-html="protocol"></view> -->
  94. </view>
  95. </view>
  96. </view>
  97. <view class='loadingicon acea-row row-center-wrapper' v-if="loading">
  98. <text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>
  99. </view>
  100. <!-- #ifdef MP -->
  101. <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
  102. <!-- #endif -->
  103. </view>
  104. <view class="settledSuccessMain" v-else-if='status == 0'>
  105. <view class="settledSuccessful">
  106. <image class="image" src="../static/success.png" alt="">
  107. <view class="title">{{$t(`恭喜,您的资料提交成功!`)}}</view>
  108. <view class="goHome" hover-class="none" @click="goHome">
  109. {{$t(`返回首页`)}}
  110. </view>
  111. </view>
  112. </view>
  113. <view class="settledSuccessMain" v-else-if='status == 1'>
  114. <view class="settledSuccessful">
  115. <image class="image" src="../static/success.png" alt="">
  116. <view class="title">{{$t(`恭喜,您的资料通过审核!`)}}</view>
  117. <view class="goHome" hover-class="none" @click="goHome">
  118. {{$t(`返回首页`)}}
  119. </view>
  120. </view>
  121. </view>
  122. <view class="settledSuccessMain" v-else-if='status == 2'>
  123. <view class="settledSuccessful">
  124. <image class="image" src="../static/error.png" alt="">
  125. <view class="title">{{$t(`您的申请未通过!`)}}</view>
  126. <view class="info" v-if="refusal_reason">{{refusal_reason}}</view>
  127. <view class="again" hover-class="none" @click="applyAgain">
  128. {{$t(`重新申请`)}}
  129. </view>
  130. <view class="goHome" hover-class="none" @click="goHome">
  131. {{$t(`返回首页`)}}
  132. </view>
  133. </view>
  134. </view>
  135. </template>
  136. <script>
  137. import {
  138. toLogin
  139. } from '@/libs/login.js';
  140. import {
  141. create,
  142. getCodeApi,
  143. registerVerify,
  144. getGoodsDetails,
  145. updateGoodsRecord,
  146. getAgentAgreement
  147. } from '@/api/store.js';
  148. import {
  149. getCaptcha
  150. } from "@/api/user";
  151. import {
  152. mapGetters
  153. } from "vuex";
  154. import parser from "@/components/jyf-parser/jyf-parser";
  155. // #ifdef MP
  156. import authorize from '@/components/Authorize';
  157. // #endif
  158. import colors from "@/mixins/color";
  159. import Verify from '@/components/verify/verify.vue';
  160. import sendVerifyCode from "@/mixins/SendVerifyCode";
  161. const app = getApp();
  162. export default {
  163. components: {
  164. Verify,
  165. "jyf-parser": parser,
  166. // #ifdef MP
  167. authorize,
  168. // #endif
  169. },
  170. mixins: [sendVerifyCode, colors],
  171. data() {
  172. return {
  173. inloading: true,
  174. status: -1,
  175. isAuto: false, //没有授权的不会自动授权
  176. isShowAuth: false, //是否隐藏授权
  177. text: this.$t(`获取验证码`),
  178. codeUrl: "",
  179. disabled: false,
  180. isAgree: false,
  181. showProtocol: false,
  182. isShowCode: false,
  183. loading: false,
  184. merchantData: {
  185. agent_name: "",
  186. name: "",
  187. phone: "",
  188. classification: '',
  189. division_invite: ''
  190. },
  191. validate: false,
  192. successful: false,
  193. keyCode: "",
  194. codeVal: "",
  195. protocol: app.globalData.sys_intention_agree,
  196. timer: "",
  197. index: 0,
  198. index1: 0,
  199. mer_classification: "",
  200. mer_storeType: '',
  201. images: [],
  202. tagStyle: {
  203. img: 'width:100%;display:block;',
  204. table: 'width:100%',
  205. video: 'width:100%'
  206. },
  207. mer_i_id: null, // 代理商申请id
  208. isType: false,
  209. id: 0,
  210. refusal_reason: "",
  211. keyCode: '',
  212. type: ''
  213. };
  214. },
  215. beforeDestroy() {
  216. clearTimeout(this.timer)
  217. },
  218. computed: mapGetters(['isLogin']),
  219. onLoad(options) {
  220. if (this.isLogin) {
  221. this.$nextTick(function() {
  222. this.getGoodsDetails()
  223. })
  224. } else {
  225. // #ifdef H5 || APP-PLUS
  226. toLogin();
  227. // #endif
  228. // #ifdef MP
  229. this.isAuto = true;
  230. this.$set(this, 'isShowAuth', true)
  231. // #endif
  232. }
  233. if (options.id) {
  234. this.id = id
  235. uni.showLoading({
  236. title: this.$t(`正在加载中`),
  237. });
  238. }
  239. },
  240. onShow() {
  241. },
  242. methods: {
  243. getAgentAgreement() {
  244. getAgentAgreement().then(res => {
  245. this.isType = false;
  246. this.showProtocol = true;
  247. this.protocol = res.data.content
  248. })
  249. },
  250. code() {
  251. let that = this
  252. if (!that.merchantData.phone) return that.$util.Tips({
  253. title: that.$t(`请填写手机号码`)
  254. });
  255. if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(that.merchantData.phone)) return that.$util.Tips({
  256. title: that.$t(`请输入正确的手机号码`)
  257. });
  258. this.$refs.verify.show()
  259. },
  260. // 获取验证码api
  261. // code() {
  262. // let that = this
  263. // getCodeApi().then(res => {
  264. // that.keyCode = res.data.key;
  265. // this.code()
  266. // }).catch(res => {
  267. // that.$util.Tips({
  268. // title: res
  269. // });
  270. // });
  271. // },
  272. success(data) {
  273. this.$refs.verify.hide()
  274. getCodeApi()
  275. .then(res => {
  276. this.keyCode = res.data.key;
  277. this.getCode(data);
  278. })
  279. .catch(res => {
  280. this.$util.Tips({
  281. title: res
  282. });
  283. });
  284. },
  285. async getCode(data) {
  286. let that = this;
  287. await registerVerify({
  288. phone: that.merchantData.phone,
  289. type: that.type,
  290. key: that.keyCode,
  291. captchaType: 'blockPuzzle',
  292. captchaVerification: data.captchaVerification
  293. })
  294. .then(res => {
  295. this.sendCode()
  296. that.$util.Tips({
  297. title: res.msg
  298. });
  299. })
  300. .catch(res => {
  301. that.$util.Tips({
  302. title: res
  303. });
  304. });
  305. },
  306. // 获取历史提交数据详情
  307. getGoodsDetails() {
  308. getGoodsDetails().then(res => {
  309. this.status = res.data.status
  310. let resData = res.data
  311. if (res.data.status !== -1) {
  312. let arr = Object.keys(this.merchantData)
  313. arr.map(item => {
  314. this.merchantData[item] = resData[item]
  315. })
  316. uni.hideLoading();
  317. }
  318. if (this.status === 2) {
  319. this.refusal_reason = resData.refusal_reason
  320. }
  321. this.inloading = false
  322. })
  323. },
  324. //获取代理商分类名称
  325. getCategoryName(id, arr) {
  326. for (let i = 0; i < arr.length; i++) {
  327. if (arr[i].merchant_category_id === id) {
  328. return arr[i]['category_name']
  329. }
  330. }
  331. },
  332. // 图片预览
  333. // 获得相册 idx
  334. getPhotoClickIdx(e) {
  335. let _this = this;
  336. let idx = e.currentTarget.dataset.index;
  337. _this.imgPreview(_this.images, idx);
  338. },
  339. // 图片预览
  340. imgPreview: function(list, idx) {
  341. // list:图片 url 数组
  342. if (list && list.length > 0) {
  343. uni.previewImage({
  344. current: list[idx], // 传 Number H5端出现不兼容
  345. urls: list
  346. });
  347. }
  348. },
  349. // 授权回调
  350. onLoadFun: function() {
  351. this.isShowAuth = false;
  352. },
  353. // 授权关闭
  354. authColse: function(e) {
  355. this.isShowAuth = e
  356. },
  357. toggleTab(str) {
  358. this.$refs[str].show();
  359. },
  360. // 首页
  361. goHome() {
  362. uni.switchTab({
  363. url: '/pages/index/index'
  364. });
  365. },
  366. applyAgain() {
  367. this.status = -1
  368. },
  369. /**
  370. * 上传文件
  371. *
  372. */
  373. uploadpic: function() {
  374. let that = this;
  375. that.$util.uploadImageOne('upload/image', (res) => {
  376. this.images.push(res.data.url);
  377. that.$set(that, 'images', that.images);
  378. });
  379. },
  380. /**
  381. * 删除图片
  382. *
  383. */
  384. DelPic: function(index) {
  385. let that = this,
  386. pic = this.images[index];
  387. that.images.splice(index, 1);
  388. that.$set(that, 'images', that.images);
  389. },
  390. // 获取验证码
  391. // async code() {
  392. // let that = this;
  393. // if (!that.merchantData.phone) return that.$util.Tips({
  394. // title: that.$t(`请输入手机号`)
  395. // });
  396. // if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(that.merchantData.phone)) return that.$util.Tips({
  397. // title: that.$t(`请输入正确的手机号码`)
  398. // });
  399. // await registerVerify({
  400. // phone: that.merchantData.phone,
  401. // key: that.keyCode,
  402. // }).then(res => {
  403. // that.$util.Tips({
  404. // title: res.msg
  405. // });
  406. // that.sendCode();
  407. // }).catch(err => {
  408. // return that.$util.Tips({
  409. // title: err
  410. // })
  411. // })
  412. // },
  413. getcaptcha() {
  414. let that = this
  415. getCaptcha().then(data => {
  416. that.codeUrl = data.data.captcha; //图片路径
  417. that.codeVal = data.data.code; //图片验证码
  418. that.codeKey = data.data.key //图片验证码key
  419. })
  420. that.isShowCode = true;
  421. },
  422. sendCode() {
  423. if (this.disabled) return;
  424. this.disabled = true;
  425. let n = 60;
  426. this.text = n + "s";
  427. const run = setInterval(() => {
  428. n = n - 1;
  429. if (n < 0) {
  430. clearInterval(run);
  431. }
  432. this.text = n + "s";
  433. if (this.text < 0 + "s") {
  434. this.disabled = false;
  435. this.text = this.$t(`重新获取`);
  436. }
  437. }, 1000);
  438. },
  439. onConfirm(val) {
  440. this.region = val.checkArr[0] + '-' + val.checkArr[1] + '-' + val.checkArr[2];
  441. },
  442. ChangeIsAgree(e) {
  443. this.isAgree = !this.isAgree;
  444. this.validateBtn()
  445. },
  446. formSubmit: function(e) {
  447. let that = this;
  448. if (that.validateForm() && that.validate) {
  449. let requestData = {
  450. uid: this.$store.state.app.uid,
  451. phone: that.merchantData.phone,
  452. agent_name: that.merchantData.agent_name,
  453. name: that.merchantData.name,
  454. code: that.merchantData.code,
  455. division_invite: that.merchantData.division_invite,
  456. images: that.images,
  457. id: this.id
  458. }
  459. create(requestData).then(data => {
  460. if (data.status == 200) {
  461. this.timer = setTimeout(() => {
  462. that.getGoodsDetails()
  463. }, 1000)
  464. }
  465. }).catch(res => {
  466. that.$util.Tips({
  467. title: res
  468. });
  469. })
  470. }
  471. },
  472. validateBtn: function() {
  473. let that = this,
  474. value = that.merchantData;
  475. if (value.agent_name && value.name && value.phone && /^1(3|4|5|7|8|9|6)\d{9}$/i.test(value
  476. .phone) &&
  477. value.code && that.isAgree && value.classification) {
  478. if (!that.isShowCode) {
  479. that.validate = true;
  480. } else {
  481. if (that.codeVal) {
  482. that.validate = true;
  483. } else {
  484. that.validate = false;
  485. }
  486. }
  487. }
  488. },
  489. validateForm: function() {
  490. let that = this,
  491. value = that.merchantData;
  492. if (!value.agent_name) return that.$util.Tips({
  493. title: that.$t(`请输入代理商名称`)
  494. });
  495. if (!value.name) return that.$util.Tips({
  496. title: that.$t(`请输入姓名`)
  497. });
  498. if (!value.phone) return that.$util.Tips({
  499. title: that.$t(`请输入手机号`)
  500. });
  501. if (!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(value.phone)) return that.$util.Tips({
  502. title: that.$t(`请输入正确的手机号码`)
  503. });
  504. if (!value.code) return that.$util.Tips({
  505. title: that.$t(`填写验证码`)
  506. });
  507. if (that.isShowCode && !that.codeVal) return that.$util.Tips({
  508. title: that.$t(`请填写图片验证码`)
  509. });
  510. if (!that.images.length) return that.$util.Tips({
  511. title: that.$t(`请上传营业执照`)
  512. });
  513. if (!that.isAgree) return that.$util.Tips({
  514. title: that.$t(`请勾选并同意入驻协议`)
  515. });
  516. that.validate = true;
  517. return true;
  518. },
  519. jumpToList() {
  520. uni.navigateTo({
  521. url: "/pages/store/applicationRecord/index"
  522. })
  523. },
  524. }
  525. }
  526. </script>
  527. <style scoped lang="scss">
  528. .uni-input-placeholder {
  529. color: #B2B2B2;
  530. }
  531. .item-name {
  532. width: 190rpx;
  533. }
  534. .uni-list-cell {
  535. position: relative;
  536. .iconfont {
  537. font-size: 14px;
  538. color: #7a7a7a;
  539. position: absolute;
  540. right: 15px;
  541. top: 7rpx;
  542. }
  543. .icon-guanbi2 {
  544. right: 35px;
  545. }
  546. }
  547. .merchantsSettled {
  548. background: linear-gradient(#fd3d1d 0%, #fd151b 100%);
  549. height: 140vh;
  550. }
  551. .merchantsSettled .merchantBg {
  552. width: 750rpx;
  553. width: 100%;
  554. }
  555. .merchantsSettled .list {
  556. background-color: #fff;
  557. border-radius: 12px;
  558. padding: 22px 0;
  559. margin: 0 15px;
  560. position: absolute;
  561. top: 300rpx;
  562. // margin-top: -160px;
  563. width: calc(100% - 30px);
  564. }
  565. .application-record {
  566. position: absolute;
  567. display: flex;
  568. align-items: center;
  569. top: 240rpx;
  570. right: 0;
  571. color: #fff;
  572. font-size: 22rpx;
  573. background-color: rgba(0, 0, 0, 0.3);
  574. padding: 8rpx 18rpx;
  575. border-radius: 20px 0px 0px 20px;
  576. }
  577. .merchantsSettled .list .item {
  578. padding: 50rpx 0 20rpx;
  579. border-bottom: 1rpx solid #eee;
  580. position: relative;
  581. margin: 0 20px;
  582. &.no-border {
  583. border-bottom: none;
  584. padding-left: 0;
  585. padding-right: 0;
  586. }
  587. .item-title {
  588. color: #666666;
  589. font-size: 28rpx;
  590. display: block;
  591. }
  592. .item-desc {
  593. color: #B2B2B2;
  594. font-size: 22rpx;
  595. display: block;
  596. margin-top: 9rpx;
  597. line-height: 36rpx;
  598. }
  599. }
  600. .acea-row,
  601. .upload {
  602. display: -webkit-box;
  603. display: -moz-box;
  604. display: -webkit-flex;
  605. display: -ms-flexbox;
  606. display: flex;
  607. -webkit-box-lines: multiple;
  608. -moz-box-lines: multiple;
  609. -o-box-lines: multiple;
  610. -webkit-flex-wrap: wrap;
  611. -ms-flex-wrap: wrap;
  612. flex-wrap: wrap;
  613. }
  614. .upload {
  615. margin-top: 20rpx;
  616. }
  617. .acea-row.row-middle {
  618. -webkit-box-align: center;
  619. -moz-box-align: center;
  620. -o-box-align: center;
  621. -ms-flex-align: center;
  622. -webkit-align-items: center;
  623. align-items: center;
  624. padding-left: 2px;
  625. }
  626. .acea-row.row-column {
  627. -webkit-box-orient: vertical;
  628. -moz-box-orient: vertical;
  629. -o-box-orient: vertical;
  630. -webkit-flex-direction: column;
  631. -ms-flex-direction: column;
  632. flex-direction: column;
  633. }
  634. .acea-row.row-center-wrapper {
  635. -webkit-box-align: center;
  636. -moz-box-align: center;
  637. -o-box-align: center;
  638. -ms-flex-align: center;
  639. -webkit-align-items: center;
  640. align-items: center;
  641. -webkit-box-pack: center;
  642. -moz-box-pack: center;
  643. -o-box-pack: center;
  644. -ms-flex-pack: center;
  645. -webkit-justify-content: center;
  646. justify-content: center;
  647. }
  648. .merchantsSettled .list .item .pictrue {
  649. width: 130rpx;
  650. height: 130rpx;
  651. margin: 24rpx 22rpx 0 0;
  652. position: relative;
  653. font-size: 11px;
  654. color: #bbb;
  655. &:nth-child(4n) {
  656. margin-right: 0;
  657. }
  658. &:nth-last-child(1) {
  659. border: 0.5px solid #ddd;
  660. box-sizing: border-box;
  661. }
  662. uni-image,
  663. image {
  664. width: 100%;
  665. height: 100%;
  666. border-radius: 1px;
  667. img {
  668. -webkit-touch-callout: none;
  669. -webkit-user-select: none;
  670. -moz-user-select: none;
  671. display: block;
  672. position: absolute;
  673. top: 0;
  674. left: 0;
  675. opacity: 0;
  676. width: 100%;
  677. height: 100%;
  678. }
  679. }
  680. .icon-guanbi1 {
  681. font-size: 33rpx;
  682. position: absolute;
  683. top: -10px;
  684. right: -10px;
  685. }
  686. }
  687. .uni-list-cell-db {
  688. position: relative;
  689. }
  690. .wenhao {
  691. width: 34rpx;
  692. height: 34rpx;
  693. display: flex;
  694. align-items: center;
  695. justify-content: center;
  696. font-size: 28rpx;
  697. border-radius: 50%;
  698. background: #E3E3E3;
  699. color: #ffffff !important;
  700. margin-left: 4rpx;
  701. position: absolute;
  702. left: 122rpx;
  703. }
  704. .merchantsSettled .list .item .imageCode {
  705. position: absolute;
  706. top: 7px;
  707. right: 0;
  708. }
  709. .merchantsSettled .list .item .icon {
  710. font-size: 40rpx;
  711. color: #b4b1b4;
  712. }
  713. .merchantsSettled .list .item input {
  714. width: 400rpx;
  715. font-size: 30rpx;
  716. // margin-left: 30px;
  717. }
  718. .merchantsSettled .list .item .placeholder {
  719. color: #b2b2b2;
  720. }
  721. .merchantsSettled .default {
  722. padding: 0 30rpx;
  723. height: 90rpx;
  724. background-color: #fff;
  725. margin-top: 23rpx;
  726. }
  727. .merchantsSettled .default checkbox {
  728. margin-right: 15rpx;
  729. }
  730. .merchantsSettled .acea-row uni-image {
  731. width: 20px;
  732. height: 20px;
  733. display: block;
  734. }
  735. .merchantsSettled .list .item .codeIput {
  736. width: 125px;
  737. }
  738. .uni-input-input {
  739. display: block;
  740. height: 100%;
  741. background: none;
  742. color: inherit;
  743. opacity: 1;
  744. -webkit-text-fill-color: currentcolor;
  745. font: inherit;
  746. line-height: inherit;
  747. letter-spacing: inherit;
  748. text-align: inherit;
  749. text-indent: inherit;
  750. text-transform: inherit;
  751. text-shadow: inherit;
  752. }
  753. .merchantsSettled .list .item .code {
  754. position: absolute;
  755. width: 93px;
  756. line-height: 27px;
  757. border: 1px solid #E93323;
  758. border-radius: 15px;
  759. color: #E93323;
  760. text-align: center;
  761. bottom: 8px;
  762. right: 0;
  763. font-size: 12px;
  764. }
  765. .merchantsSettled .list .item .code.on {
  766. background-color: #bbb;
  767. color: #fff;
  768. border-color: #bbb;
  769. }
  770. .merchantsSettled .submitBtn {
  771. width: 588rpx;
  772. margin: 0 auto;
  773. height: 86rpx;
  774. border-radius: 25px;
  775. text-align: center;
  776. line-height: 86rpx;
  777. font-size: 15px;
  778. color: #fff;
  779. background: #E3E3E3;
  780. margin-top: 25px;
  781. }
  782. .merchantsSettled .submitBtn.on {
  783. background: #E93323;
  784. }
  785. uni-checkbox-group,
  786. .settleAgree {
  787. display: inline-block;
  788. font-size: 24rpx;
  789. }
  790. uni-checkbox-group {
  791. color: #b2b2b2;
  792. }
  793. .settleAgree {
  794. color: #E93323;
  795. position: relative;
  796. top: 2px;
  797. left: 8px;
  798. }
  799. .merchantsSettled uni-checkbox .uni-checkbox-wrapper {
  800. width: 30rpx;
  801. height: 30rpx;
  802. border: 2rpx solid #C3C3C3;
  803. border-radius: 15px;
  804. }
  805. .settlementAgreement {
  806. width: 100%;
  807. height: 100%;
  808. position: fixed;
  809. top: 0;
  810. left: 0;
  811. background: rgba(0, 0, 0, .5);
  812. z-index: 10;
  813. }
  814. .settlementAgreement .setAgCount {
  815. background: #fff;
  816. width: 656rpx;
  817. height: 458px;
  818. position: absolute;
  819. top: 50%;
  820. left: 50%;
  821. border-radius: 12rpx;
  822. -webkit-border-radius: 12rpx;
  823. padding: 52rpx;
  824. -webkit-transform: translate(-50%, -50%);
  825. -moz-transform: translate(-50%, -50%);
  826. transform: translate(-50%, -50%);
  827. overflow: hidden;
  828. .content {
  829. height: 900rpx;
  830. overflow-y: scroll;
  831. /deep/ p {
  832. font-size: 13px;
  833. line-height: 22px;
  834. }
  835. /deep/ img {
  836. max-width: 100%;
  837. }
  838. }
  839. }
  840. .settlementAgreement .setAgCount .icon {
  841. font-size: 42rpx;
  842. color: #b4b1b4;
  843. position: absolute;
  844. top: 15rpx;
  845. right: 15rpx;
  846. }
  847. .settlementAgreement .setAgCount .title {
  848. color: #333;
  849. font-size: 32rpx;
  850. text-align: center;
  851. font-weight: bold;
  852. }
  853. .settlementAgreement .setAgCount .content {
  854. margin-top: 32rpx;
  855. color: #333;
  856. font-size: 26rpx;
  857. line-height: 22px;
  858. text-align: justify;
  859. text-justify: distribute-all-lines;
  860. height: 756rpx;
  861. overflow-y: scroll;
  862. }
  863. .settledSuccessMain {
  864. height: 100vh;
  865. display: flex;
  866. flex-direction: column;
  867. background: #fff;
  868. }
  869. .settledSuccessful {
  870. flex: 1;
  871. width: 100%;
  872. padding: 0 56px;
  873. height: auto;
  874. background: #fff;
  875. text-align: center;
  876. }
  877. .settledSuccessful .image {
  878. width: 189px;
  879. height: 157px;
  880. margin-top: 66px;
  881. }
  882. .settledSuccessful .title {
  883. color: #333333;
  884. font-size: 16px;
  885. font-weight: bold;
  886. margin-top: 35px;
  887. }
  888. .settledSuccessful .info {
  889. color: #999;
  890. font-size: 26rpx;
  891. margin-top: 18rpx;
  892. }
  893. .settledSuccessful .goHome {
  894. margin: 20px auto 0;
  895. line-height: 43px;
  896. color: #282828;
  897. font-size: 15px;
  898. border: 1px solid #B4B4B4;
  899. border-radius: 60px;
  900. }
  901. .settledSuccessful .again {
  902. margin: 30px auto 0;
  903. line-height: 43px;
  904. color: #fff;
  905. font-size: 15px;
  906. background-color: #E93323;
  907. border-radius: 60px;
  908. }
  909. /deep/ uni-checkbox .uni-checkbox-input {
  910. width: 15px;
  911. height: 15px;
  912. position: relative;
  913. }
  914. /deep/ uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
  915. font-size: 14px;
  916. }
  917. /deep/ uni-checkbox .uni-checkbox-input-checked {
  918. background-color: #fd151b !important;
  919. }
  920. .loadingicon {
  921. height: 100vh;
  922. overflow: hidden;
  923. position: absolute;
  924. top: 0;
  925. left: 0;
  926. }
  927. .icon-xiangyou {
  928. font-size: 22rpx;
  929. }
  930. // #ifdef MP
  931. checkbox-group {
  932. display: inline-block;
  933. }
  934. // #endif
  935. .setAgCount {
  936. /deep/ table {
  937. border: 1rpx solid #DDD;
  938. border-bottom: none;
  939. border-right: none;
  940. }
  941. /deep/ td,
  942. th {
  943. padding: 5rpx 10rpx;
  944. border-bottom: 1rpx solid #DDD;
  945. border-right: 1rpx solid #DDD;
  946. }
  947. }
  948. </style>