payCenter.vue 26 KB

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