payCenter.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. <template>
  2. <div class="mobile-pay-center vendor-pay mobile-fix-content mobile-centerfix-content" :class="{'vendor-pay-record': switchType === 'record'}" id="mobileFixContent" @click="setShowSelect('all', false)">
  3. <div class="mp-head">
  4. <span class="inline-block" :class="{'active': switchType === 'record'}" @click="setSwitchType('record')">交易记录</span>
  5. <span class="inline-block" :class="{'active': switchType === 'account'}" @click="setSwitchType('account')">收款账户</span>
  6. </div>
  7. <!-- 账户信息start -->
  8. <div class="mp-content" v-if="switchType == 'account'">
  9. <p class="mp-content-header">已设置的账户信息<span class="fr" @click="openAddAccount"><i class="iconfont icon-xinzeng"></i>新增账户</span></p>
  10. <ul class="mp-list">
  11. <li v-for="account in accountList">
  12. <div class="content-line">
  13. <span class="inline-block title">开户银行:</span>
  14. <span class="inline-block content text-ellipse">{{account.bankname}}</span>
  15. </div>
  16. <div class="content-line">
  17. <span class="inline-block title">开户支行:</span>
  18. <span class="inline-block content text-ellipse">{{account.branchname}}</span>
  19. </div>
  20. <div class="content-line">
  21. <span class="inline-block title">银行账户:</span>
  22. <span class="inline-block content text-ellipse">{{account.number}}</span>
  23. </div>
  24. <div class="content-line">
  25. <span class="inline-block title">开户名称:</span>
  26. <span class="inline-block content text-ellipse">{{account.accountname}}</span>
  27. </div>
  28. <div class="content-line">
  29. <span class="inline-block title">状态:</span>
  30. <span class="inline-block content text-ellipse">
  31. {{account.status | bankStatusFilter}}
  32. <i v-if="account.status == 101" class="iconfont icon-tixing"></i>
  33. </span>
  34. </div>
  35. <div class="content-line clearfix">
  36. <span class="inline-block title">操作:</span>
  37. <a class="fr inline-block set-default-icon" @click="reuseAccount(account)" v-if="account.status == 105">重新使用</a>
  38. <a class="fr inline-block" @click="deleteAccount(account)">删除</a>
  39. </div>
  40. </li>
  41. </ul>
  42. </div>
  43. <!-- 账户信息end -->
  44. <!-- 交易记录start -->
  45. <div class="mp-record" v-if="switchType == 'record'">
  46. <div class="search-content">
  47. <input type="text" placeholder="商家名称/订单号" v-model="filterParams.keyword" @keyup.13="filterRecord">
  48. <span @click="filterRecord"><i class="iconfont icon-sousuo"></i></span>
  49. </div>
  50. <div class="filters-wrap">
  51. <div class="date-wrap">
  52. <label>
  53. <i class="iconfont icon-ico-date"></i>
  54. <input type="date" v-model="filterParams.fromDate" @change="setDate('fromDate')">
  55. <p v-if="filterParams.fromDate">{{filterParams.fromDate | date}}</p>
  56. </label>
  57. <span>—</span>
  58. <label>
  59. <i class="iconfont icon-ico-date"></i>
  60. <input type="date" v-model="filterParams.toDate" @change="setDate('toDate')">
  61. <p v-if="filterParams.toDate">{{filterParams.toDate | date}}</p>
  62. </label>
  63. </div>
  64. <ul class="select-wrap clearfix">
  65. <li class="inline-block fl">
  66. <div @click.stop="setShowSelect('method', !showSelectMethod)">{{filterParams.method ? filterParams.method == 1103 ? '线下支付' : '线上支付' : '交易方式'}}</div>
  67. <ul class="select-list" v-show="showSelectMethod">
  68. <li @click.stop="setSelect('method', null)">交易方式</li>
  69. <li @click.stop="setSelect('method', 1103)">线下支付</li>
  70. </ul>
  71. </li>
  72. <li class="inline-block fr">
  73. <div @click.stop="setShowSelect('status', !showSelectStatus)">{{filterParams.status || '状态'}}</div>
  74. <ul class="select-list" v-show="showSelectStatus">
  75. <li @click.stop="setSelect('status', null)">状态</li>
  76. <li @click.stop="setSelect('status', '收款成功')">收款成功</li>
  77. </ul>
  78. </li>
  79. </ul>
  80. </div>
  81. <ul class="mp-list record-list" v-if="recordList.length">
  82. <li v-for="record in recordList">
  83. <div class="content-line">
  84. <span class="inline-block title">时间:</span>
  85. <span class="inline-block content text-ellipse">{{record.transferTime | time}}</span>
  86. </div>
  87. <div class="content-line">
  88. <span class="inline-block title">订单号:</span>
  89. <span class="inline-block content text-ellipse">{{record.orderid}}</span>
  90. </div>
  91. <div class="content-line">
  92. <span class="inline-block title">商家名称:</span>
  93. <span class="inline-block content text-ellipse">{{record.buyerentername || record.buyername}}</span>
  94. </div>
  95. <div class="content-line">
  96. <span class="inline-block title">币种:</span>
  97. <span class="inline-block content text-ellipse">{{record.currencyName}}</span>
  98. </div>
  99. <div class="content-line">
  100. <span class="inline-block title">金额:</span>
  101. <span class="inline-block content text-ellipse"><i class="fa fa-plus" style="color: #f51c24;"></i>{{record.total}}</span>
  102. </div>
  103. <div class="content-line">
  104. <span class="inline-block title">交易方式:</span>
  105. <span class="inline-block content text-ellipse">线下付款</span>
  106. </div>
  107. <div class="content-line">
  108. <span class="inline-block title">状态:</span>
  109. <span class="inline-block content text-ellipse">收款成功</span>
  110. </div>
  111. </li>
  112. </ul>
  113. <div class="fix-count-wrap" v-if="recordList.length">
  114. <span class="content">收入总计:<span>{{currencySymbol | currencyFilter}}&nbsp;{{totalRecordPrice}}</span></span>
  115. <span class="content">支出总计:<span>{{currencySymbol | currencyFilter}}&nbsp;0</span></span>
  116. <p>结余:{{currencySymbol | currencyFilter}}&nbsp;{{totalRecordPrice}} (共计{{recordList.length || 0}}笔交易)</p>
  117. </div>
  118. </div>
  119. <!-- 交易记录end -->
  120. <!-- 新增账户弹框start -->
  121. <modal-wrapper :noHeader="true" :showModal="showModal" @closeAction="showModal = false">
  122. <div class="add-account-modal in-wrapper">
  123. <div class="account-modal">
  124. <p class="title">新增账户</p>
  125. <div class="modal-content-line">
  126. <span class="inline-block"><i>*</i>开户银行:</span>
  127. <input type="text" readonly placeholder="例如:中国银行" v-model="bankAccountObj.bankname" @click.stop="showSimilar = !showSimilar">
  128. <ul v-if="showSimilar" class="similar">
  129. <li class="text-ellipse" v-for="bank in bankList" @click.stop="setBankName(bank)">{{bank}}</li>
  130. </ul>
  131. </div>
  132. <div class="modal-content-line">
  133. <span class="inline-block"><i>*</i>开户支行:</span>
  134. <input type="text" placeholder="例如:乔香支行" v-model="bankAccountObj.branchname" @blur="checkBranchname">
  135. </div>
  136. <div class="modal-content-line">
  137. <span class="inline-block"><i>*</i>银行账号:</span>
  138. <input type="text" placeholder="请填写银行账号" v-model="bankAccountObj.number" @blur="checkNumber">
  139. </div>
  140. <div class="modal-content-line">
  141. <span class="inline-block"><i>*</i>开户名称:</span>
  142. <input type="text" placeholder="请填写开户人姓名或企业名称" v-model="bankAccountObj.accountname" @blur="checkAccountname">
  143. </div>
  144. <div class="modal-content-line upload">
  145. <span class="inline-block"><i>*</i>上传开户许可证:</span>
  146. <input type="text" v-model="file.name" disabled>
  147. <label class="upload-btn">选择文件
  148. <input type="file" @change="onUpload($event)" accept="image/jpeg,image/jpg,image/png,.pdf">
  149. </label>
  150. </div>
  151. <div class="am-btn-wrap">
  152. <button @click="showModal = false">取消</button>
  153. <button @click="addAccount">确认</button>
  154. </div>
  155. <p class="am-remind-text clearfix">
  156. <i class="fl">*声明:</i>
  157. <span class="fr">
  158. 1. 此账户为卖家收款账户,请仔细核对信息内容,若由信息错误造成的损失,优软商城不承担赔偿责任。
  159. <br/>
  160. 2. 卖家只能有唯一一个“使用中”的收款账户,新增账户审核通过后,原账户将自动失效。
  161. <br/>
  162. 3. 如您的企业名称、开户银行及账号变更,您须在优软商城开展资金结算前进行更正,否则发生转账错误优软商城不承担赔偿责任。
  163. <br/>
  164. 4. 更多的条款请阅读《优软商城代收代付协议》 。
  165. <br/>
  166. 5. 附件仅支持JPG、PNG、PDF格式,大小超过3M。
  167. </span>
  168. </p>
  169. </div>
  170. </div>
  171. </modal-wrapper>
  172. <!-- 新增账户弹框end -->
  173. <!-- 重新使用账户提示框start -->
  174. <div class="mobile-modal reuse-account-modal" v-show="showReuseModal">
  175. <div class="ra-remind">
  176. <div class="header"><i class="iconfont icon-guanbi1" @click="showReuseModal = false"></i></div>
  177. <div class="content"><i class="fa fa-exclamation-circle"></i>
  178. <span>此操作会让使用中的收款账户失效,是否确定重新使用?</span>
  179. </div>
  180. <div class="footer">
  181. <button @click="showReuseModal = false">取消</button>
  182. <button @click="setDefaultAccount()">确认</button>
  183. </div>
  184. </div>
  185. </div>
  186. <!-- 重新使用账户提示框end -->
  187. <remind-box :title="remindText" :timeoutCount="timeoutCount"></remind-box>
  188. <pull-up :fixId="'mobileFixContent'" :searchMore="fetching" :allPage="allPage" :page="page" @pullUpAction="onPullUpAction"></pull-up>
  189. <empty-status v-if="isEmpty" :text="switchType == 'record' ? '暂无交易记录' : '暂无账户信息'" :showLink="true"></empty-status>
  190. </div>
  191. </template>
  192. <script>
  193. import { RemindBox, PullUp, EmptyStatus } from '~components/mobile/common'
  194. import { ModalWrapper } from '~components/mobile/base'
  195. export default {
  196. layout: 'mobile',
  197. middleware: 'authenticated',
  198. data () {
  199. return {
  200. remindText: '',
  201. timeoutCount: '',
  202. page: 1,
  203. count: 10,
  204. accountList: [],
  205. recordList: [],
  206. switchType: 'record',
  207. // 分页重置标志
  208. isChange: false,
  209. showModal: false,
  210. bankList: [],
  211. showSimilar: false,
  212. bankAccountObj: {
  213. bankname: '',
  214. branchname: '',
  215. number: '',
  216. accountname: ''
  217. },
  218. validBankAccountObj: {
  219. bankname: false,
  220. branchname: false,
  221. number: false,
  222. accountname: false
  223. },
  224. filterParams: {
  225. keyword: '',
  226. fromDate: '',
  227. toDate: '',
  228. method: '',
  229. status: ''
  230. },
  231. showSelectMethod: false,
  232. showSelectStatus: false,
  233. currentId: '',
  234. showReuseModal: false,
  235. totalRecordPrice: 0,
  236. file: ''
  237. }
  238. },
  239. components: {
  240. RemindBox,
  241. PullUp,
  242. ModalWrapper,
  243. EmptyStatus
  244. },
  245. fetch ({store}) {
  246. return Promise.all([
  247. store.dispatch('payCenter/loadVendorRecord', {count: 10, page: 1, sorting: {'transferTime': 'DESC'}, type: 'sup'})
  248. ])
  249. },
  250. watch: {
  251. 'vendorAccount': {
  252. handler: function (val) {
  253. if (val && val.content) {
  254. if (this.isChange) {
  255. this.accountList = []
  256. this.isChange = false
  257. }
  258. this.accountList = [...this.accountList, ...val.content]
  259. }
  260. }
  261. },
  262. 'vendorRecord': {
  263. handler: function (val) {
  264. if (val && val.content) {
  265. if (this.isChange) {
  266. this.recordList = []
  267. this.isChange = false
  268. }
  269. this.totalRecordPrice = this.baseUtils.priceFixed(this.totalRecordPrice + this.recordData.data.data.total)
  270. this.recordList = [...this.recordList, ...val.content]
  271. }
  272. },
  273. immediate: true
  274. }
  275. },
  276. filters: {
  277. bankStatusFilter: function (status) {
  278. let result = '未知状态'
  279. switch (status) {
  280. case 101 :
  281. result = '待审核'
  282. break
  283. case 104:
  284. result = '使用中'
  285. break
  286. case 103:
  287. result = '未通过'
  288. break
  289. case 105:
  290. result = '已失效'
  291. break
  292. case 112:
  293. result = '已删除'
  294. break
  295. }
  296. return result
  297. }
  298. },
  299. computed: {
  300. accountData () {
  301. return this.$store.state.payCenter.data.vendorAccount
  302. },
  303. recordData () {
  304. return this.$store.state.payCenter.data.vendorRecord
  305. },
  306. vendorAccount () {
  307. return this.accountData.data
  308. },
  309. vendorRecord () {
  310. return this.recordData.data.data.data
  311. },
  312. fetching () {
  313. return this.switchType === 'account' ? this.accountData.fetching : this.recordData.fetching
  314. },
  315. allPage () {
  316. return this.switchType === 'account' ? this.vendorAccount.totalPages : this.vendorRecord.totalPages
  317. },
  318. isEmpty () {
  319. return (this.switchType === 'record' && this.recordList.length === 0) || (this.switchType === 'account' && this.accountList.length === 0)
  320. },
  321. currencySymbol () {
  322. return this.recordList[0] ? this.recordList[0].currencyName : 'RMB'
  323. }
  324. },
  325. methods: {
  326. setRemindText: function (str) {
  327. this.remindText = str
  328. this.timeoutCount++
  329. },
  330. reloadList () {
  331. if (this.switchType === 'account') {
  332. this.$store.dispatch('payCenter/loadVendorAccount', {
  333. count: this.count,
  334. page: this.page,
  335. sorting: {num: 'ASC'},
  336. type: 'sup'
  337. })
  338. } else {
  339. this.$store.dispatch('payCenter/loadVendorRecord', {
  340. count: this.count,
  341. page: this.page,
  342. sorting: {'transferTime': 'DESC'},
  343. type: 'sup',
  344. fromDate: this.filterParams.fromDate || null,
  345. toDate: this.filterParams.toDate || null,
  346. keyword: this.filterParams.keyword || null
  347. })
  348. }
  349. },
  350. initList () {
  351. this.isChange = true
  352. this.page = 1
  353. this.reloadList()
  354. },
  355. onPullUpAction () {
  356. this.page++
  357. this.reloadList()
  358. },
  359. setSwitchType (type) {
  360. this.switchType = type
  361. if (type === 'record') {
  362. this.initFilterParams()
  363. }
  364. this.initList()
  365. },
  366. initFilterParams () {
  367. this.filterParams = {
  368. keyword: '',
  369. fromDate: '',
  370. toDate: '',
  371. currencyName: '',
  372. method: ''
  373. }
  374. },
  375. filterRecord () {
  376. this.isChange = true
  377. this.reloadList()
  378. },
  379. setShowSelect (type, flag) {
  380. if (type === 'all') {
  381. this.showSelectMethod = flag
  382. this.showSelectStatus = flag
  383. } else if (type === 'method') {
  384. this.showSelectMethod = flag
  385. this.showSelectStatus = false
  386. } else if (type === 'status') {
  387. this.showSelectStatus = flag
  388. this.showSelectMethod = false
  389. }
  390. },
  391. setSelect (type, val) {
  392. if (type === 'method') {
  393. this.filterParams.method = val
  394. this.setShowSelect('method', false)
  395. } else if (type === 'status') {
  396. this.filterParams.status = val
  397. this.setShowSelect('status', false)
  398. }
  399. this.filterRecord()
  400. },
  401. setDate (type) {
  402. if (this.filterParams[type]) {
  403. this.filterParams[type] = new Date(this.filterParams[type]).getTime() - 8 * 60 * 60 * 1000
  404. if (this.filterParams.fromDate && this.filterParams.toDate && this.filterParams.fromDate > this.filterParams.toDate) {
  405. if (type === 'fromDate') {
  406. this.setRemindText('起始时间不能大于结束时间')
  407. } else {
  408. this.setRemindText('结束时间不能小于起始时间')
  409. }
  410. this.filterParams[type] = null
  411. } else {
  412. if (this.filterParams.fromDate && this.filterParams.toDate && this.filterParams.fromDate === this.filterParams.toDate) {
  413. // 23:59:59
  414. this.filterParams.toDate += 23 * 60 * 60 * 1000 + 59 * 60 * 1000 + 59 * 1000
  415. }
  416. this.filterRecord()
  417. }
  418. } else {
  419. this.filterRecord()
  420. }
  421. },
  422. reuseAccount (account) {
  423. this.currentId = account.id
  424. this.showReuseModal = true
  425. },
  426. setDefaultAccount () {
  427. this.$http.get(`/trade/bankInfo/setDefaultAccount/${this.currentId}`).then(() => {
  428. this.setRemindText('重新使用完成')
  429. this.initList()
  430. this.showReuseModal = false
  431. })
  432. },
  433. deleteAccount (account) {
  434. this.$http.delete(`/trade/bankInfo/delete/${account.id}`).then(res => {
  435. if (res.data === 'success') {
  436. this.setRemindText('删除成功')
  437. this.initList()
  438. }
  439. })
  440. },
  441. initAccount () {
  442. this.bankAccountObj = {
  443. bankname: '',
  444. branchname: '',
  445. number: '',
  446. accountname: ''
  447. }
  448. this.validBankAccountObj = {
  449. bankname: false,
  450. branchname: false,
  451. number: false,
  452. accountname: false
  453. }
  454. this.file = ''
  455. },
  456. openAddAccount () {
  457. if (!this.bankList || !this.bankList.length) {
  458. this.$http.get('/data/bank.json').then(res => {
  459. this.bankList = res.data.list
  460. this.initAccount()
  461. this.showModal = true
  462. })
  463. } else {
  464. this.initAccount()
  465. this.showModal = true
  466. }
  467. },
  468. setBankName (name) {
  469. this.bankAccountObj.bankname = name
  470. this.showSimilar = false
  471. this.validBankAccountObj.bankname = true
  472. },
  473. checkBranchname () {
  474. this.validBankAccountObj.branchname = true
  475. if (!(this.bankAccountObj.branchname && this.bankAccountObj.branchname.length)) {
  476. this.setRemindText('开户支行不能为空')
  477. this.validBankAccountObj.branchname = false
  478. } else if (this.baseUtils.getRealLen(this.bankAccountObj.branchname) > 40) {
  479. this.setRemindText('开户支行不能大于40字符')
  480. this.validBankAccountObj.branchname = false
  481. } else if (!/^[\u2E80-\u9FFF]+$/.test(this.bankAccountObj.branchname)) {
  482. this.setRemindText('请输入正确的开户支行')
  483. this.validBankAccountObj.branchname = false
  484. }
  485. },
  486. checkNumber () {
  487. this.validBankAccountObj.number = true
  488. if (!(this.bankAccountObj.number && this.bankAccountObj.number.length)) {
  489. this.validBankAccountObj.number = false
  490. this.setRemindText('银行账号不能为空')
  491. } else if (this.baseUtils.getRealLen(this.bankAccountObj.number) > 30) {
  492. this.setRemindText('银行账号不能大于30字符')
  493. this.validBankAccountObj.number = false
  494. } else if (!/^[0-9]+$/.test(this.bankAccountObj.number)) {
  495. this.setRemindText('请输入正确的银行账号')
  496. this.validBankAccountObj.number = false
  497. }
  498. if (this.validBankAccountObj.number) {
  499. this.$http.get('/trade/bankInfo/number/count', {params: {type: 1061, number: this.bankAccountObj.number}}).then(res => {
  500. if (res.data.success) {
  501. if (res.data.data === 0) {
  502. this.validBankAccountObj.number = true
  503. } else {
  504. this.validBankAccountObj.number = false
  505. this.setRemindText('银行账号校验失败')
  506. }
  507. } else {
  508. this.validBankAccountObj.number = false
  509. this.setRemindText(res.data.message || '银行账号校验失败')
  510. }
  511. }, err => {
  512. this.validBankAccountObj.number = false
  513. this.setRemindText(err.response.data || '银行账号校验失败')
  514. console.log(err)
  515. })
  516. }
  517. },
  518. checkAccountname () {
  519. this.validBankAccountObj.accountname = true
  520. if (!(this.bankAccountObj.accountname && this.bankAccountObj.accountname.length)) {
  521. this.validBankAccountObj.accountname = false
  522. this.setRemindText('账户名称不能为空')
  523. } else if (this.baseUtils.getRealLen(this.bankAccountObj.accountname) > 100) {
  524. this.setRemindText('账户名称不能大于100个字符')
  525. this.validBankAccountObj.accountname = false
  526. }
  527. },
  528. addAccount () {
  529. if (!this.validBankAccountObj.bankname) {
  530. this.setRemindText('请选择开户银行')
  531. } else if (!this.validBankAccountObj.branchname) {
  532. this.setRemindText('请填写正确的开户支行')
  533. } else if (!this.validBankAccountObj.number) {
  534. this.setRemindText('请填写正确的银行账号')
  535. } else if (!this.validBankAccountObj.accountname) {
  536. this.setRemindText('请填写正确的开户名称')
  537. } else if (!this.file) {
  538. this.setRemindText('请上传开户许可证')
  539. } else {
  540. let param = new FormData()
  541. param.append('file', this.file, this.file.name)
  542. param.append('bankInfo', JSON.stringify(this.bankAccountObj))
  543. let config = {
  544. headers: {'Content-Type': 'multipart/form-data'}
  545. }
  546. this.$http.post('/trade/bankInfo/save/enterprise?type=sup', param, config).then(res => {
  547. if (res.data.id) {
  548. this.setRemindText('新增账户成功')
  549. this.initList()
  550. this.showModal = false
  551. } else {
  552. this.setRemindText('新增账户失败')
  553. }
  554. }, err => {
  555. this.setRemindText(err.response.data || '新增账户失败')
  556. console.log(err)
  557. })
  558. }
  559. },
  560. onUpload (e) {
  561. let file = e.target.files[0]
  562. let arr = file.name.split('.')
  563. let type = arr[arr.length - 1]
  564. if ('pdf/png/jpg/jpeg'.indexOf(type.toLowerCase()) === -1) {
  565. this.setRemindText('仅支持jpg/jpeg/png/pdf格式的文件')
  566. } else if (file.size > 1024 * 1024 * 3) {
  567. this.setRemindText('请勿大于3M')
  568. } else {
  569. this.file = file
  570. }
  571. }
  572. }
  573. }
  574. </script>
  575. <style lang="scss">
  576. @import '~assets/scss/mobilePayCenter';
  577. .reuse-account-modal {
  578. .ra-remind {
  579. width: 6.3rem;
  580. height: 3.5rem;
  581. position: absolute;
  582. top: 50%;
  583. left: 50%;
  584. margin-top: -1.75rem;
  585. margin-left: -3.15rem;
  586. border-radius: .15rem;
  587. .header {
  588. height: .6rem;
  589. line-height: .6rem;
  590. background: #3976f4;
  591. border-top-left-radius: .15rem;
  592. border-top-right-radius: .15rem;
  593. i {
  594. font-size: .32rem;
  595. color: #fff;
  596. float: right;
  597. margin-right: .28rem;
  598. }
  599. }
  600. .content {
  601. background: #fff;
  602. padding: .53rem .77rem;
  603. span {
  604. font-size: .32rem;
  605. }
  606. i {
  607. font-size: .44rem;
  608. color: #3976f4;
  609. float: left;
  610. margin-right: .2rem;
  611. }
  612. }
  613. .footer {
  614. background: #fff;
  615. padding-bottom: .37rem;
  616. text-align: center;
  617. border-bottom-left-radius: .15rem;
  618. border-bottom-right-radius: .15rem;
  619. margin-top: -0.05rem;
  620. button {
  621. width: 2.22rem;
  622. height: .77rem;
  623. line-height: .77rem;
  624. color: #fff;
  625. font-size: .32rem;
  626. border-radius: .08rem;
  627. background: #bfbfbf;
  628. &:last-child {
  629. background: $base-color;
  630. margin-left: .3rem;
  631. }
  632. }
  633. }
  634. }
  635. }
  636. .record-list {
  637. margin-bottom: 1.26rem
  638. }
  639. .upload {
  640. input[disabled] {
  641. background: #eee;
  642. width: 2.88rem !important;
  643. }
  644. .upload-btn {
  645. display: inline-block;
  646. vertical-align: middle;
  647. width: 1.2rem;
  648. height: .56rem;
  649. line-height: .56rem;
  650. text-align: center;
  651. color: #fff;
  652. background: #fe9d03;
  653. position: relative;
  654. left: .2rem;
  655. border-radius: .04rem;
  656. font-size: .24rem;
  657. font-weight: normal;
  658. margin: 0;
  659. input {
  660. opacity: 0;
  661. width: 1.2rem;
  662. height: .56rem;
  663. position: absolute;
  664. top: 0;
  665. }
  666. }
  667. }
  668. .fix-count-wrap {
  669. position: fixed;
  670. bottom: .98rem;
  671. height: 1.25rem;
  672. text-align: right;
  673. background: #fff;
  674. border-radius: .02rem;
  675. border-top: 1px solid #bfbfbf;
  676. line-height: .63rem;
  677. font-size: .28rem;
  678. width: 100%;
  679. padding-right: .3rem;
  680. .content {
  681. margin-left: .39rem;
  682. &:first-child {
  683. span {
  684. color: #fd0303;
  685. }
  686. }
  687. &:nth-of-type(2) {
  688. span {
  689. color: #15b262;
  690. }
  691. }
  692. }
  693. }
  694. .mp-list .content-line .icon-tixing {
  695. font-size: .32rem;
  696. color: $base-color;
  697. margin-left: .05rem;
  698. }
  699. .am-remind-text {
  700. font-size: .26rem;
  701. color: #999;
  702. margin-top: .29rem;
  703. padding: .45rem 0;
  704. border-top: 1px solid #d2d2d2;
  705. i {
  706. color: #fd0303;
  707. width: 12%;
  708. }
  709. .fr {
  710. width: 88%;
  711. }
  712. }
  713. .vendor-pay {
  714. .mobile-modal .mobile-modal-wrapper {
  715. left: .2rem !important;
  716. right: .2rem !important;
  717. }
  718. }
  719. .vendor-pay-record {
  720. bottom: 2.23rem !important;
  721. }
  722. </style>