index.vue 24 KB

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