index.vue 23 KB

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