index.vue 25 KB

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