index.vue 22 KB

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