waitinvoice.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. <template>
  2. <div class="invoice-wrapper">
  3. <div class="mobile-nav">
  4. <div class="mobile-header mobile-center-header">
  5. <a @click="goLastPage()"><i class="iconfont icon-fanhui"></i></a>
  6. <p>发票管理</p>
  7. <p class="en-name">
  8. <img :src="`/images/mobile/center/${user.data.enterprise && user.data.enterprise.uu ? 'en' : 'self'}.png`" alt="">{{currentEnName}}
  9. </p>
  10. </div>
  11. </div>
  12. <div class="order-nav">
  13. <nuxt-link to="/mobile/center/user/invoice" tag="div"><span>发票信息</span></nuxt-link>
  14. <div class="active"><span>待开票订单</span></div>
  15. <nuxt-link to="/mobile/center/user/invoice/invoiceRecord" tag=div><span>开票记录</span></nuxt-link>
  16. </div>
  17. <div class="invoice-wrapper-el">
  18. <div class="mobile-invoice">
  19. <div class="mi-remind-area" :class="{less: !showMoreRemind}">
  20. <p class="title">温馨提示</p>
  21. <p class="content">
  22. <span class="inline-block">1、</span>
  23. <span class="inline-block">申请发票时默认将同一店铺的订单合并开一张发票,如需分开开票,请分别申请;</span>
  24. </p>
  25. <p class="content">
  26. <span class="inline-block">2、</span>
  27. <span class="inline-block">您只能对订单状态为<b>“交易完成”</b>,且已不能再发起售后的人民币交易订单进行补开发票;</span>
  28. </p>
  29. <p class="content">
  30. <span class="inline-block">3、</span>
  31. <span class="inline-block">发票金额为产品总金额且不含运费、积分、优惠卷、促销折扣等金额;</span>
  32. </p>
  33. <p class="content">
  34. <span class="inline-block">4、</span>
  35. <span class="inline-block">发票邮寄费用将由卖家承担。</span>
  36. </p>
  37. <p class="more" @click="showMoreRemind = !showMoreRemind">{{showMoreRemind ? '收起' : '查看更多'}}
  38. <i v-show="showMoreRemind" class="iconfont icon-shangshuangjiantou"></i>
  39. <i v-show="!showMoreRemind" class="iconfont icon-xiashuangjiantou"></i>
  40. </p>
  41. </div>
  42. <div class="search-content mi-search-content">
  43. <input type="text" placeholder="商家名称/订单号" v-model="keyword">
  44. <span @click="searchMore()"><i class="iconfont icon-sousuo"></i></span>
  45. </div>
  46. <div class="mi-list-content">
  47. <ul class="mi-list" v-if="invoiceList.length > 0">
  48. <li v-for="inv in invoiceList" @click.stop="setActive(inv)" :class="{active: inv.$active}">
  49. <div class="line">
  50. <span class="inline-block title">
  51. <label class="bottom-modal-check mobile-cart-check" :class="{active: inv.$active}">
  52. <!--<input type="checkbox">-->
  53. </label>
  54. 商家名称:
  55. </span>
  56. <span class="inline-block content" @click.stop="toShopdetails(inv)">{{inv.sellername}}</span>
  57. </div>
  58. <div class="line">
  59. <span class="inline-block title">
  60. 订单号:
  61. </span>
  62. <span class="inline-block content" @click.stop="lookOrderDetail(inv)">
  63. {{inv.orderid}}
  64. </span>
  65. </div>
  66. <div class="line">
  67. <span class="inline-block title">
  68. 可开票金额:
  69. </span>
  70. <span class="inline-block content pri">¥{{inv.price}}</span>
  71. </div>
  72. </li>
  73. </ul>
  74. <div class="com-none-state" v-if="invoiceList.length === 0">
  75. <img src="/images/mobile/@2x/empty-collect.png">
  76. <p>抱歉,暂无发票消息</p>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="mobile-invoice">
  82. <div class="mi-fix-result" v-if="invoiceList.length > 0">
  83. <label class="bottom-modal-check mobile-cart-check" :class="{active: allChecked}">
  84. <input type="checkbox" @change="setActive()">
  85. <span>全选</span>
  86. </label>
  87. <button @click="applyInvoice()">申请开票</button>
  88. </div>
  89. </div>
  90. <mobile-footer></mobile-footer>
  91. <remind-box :title="collectResult" :timeoutCount="timeoutCount"></remind-box>
  92. <addinvoice
  93. :chooseItem="addItem"
  94. @addinvoiceBtn="addinvoiceFn"
  95. v-if="showAddinvoice"
  96. :joinType="joinType"
  97. ></addinvoice>
  98. <pull-up :searchMore="fetching" :allPage="invoices.data.totalPages" :page="page" @pullUpAction="onPullUp"></pull-up>
  99. <!-- 申请发票弹窗 -->
  100. <div class="mobile-modal" @touchmove="preventTouchMove($event)" v-show="showSend">
  101. <div class="applyinvoice_Alert" >
  102. <div class="applyinvoice_title">申请开票<span><i class="iconfont icon-guanbi1" @click="showSend = false"></i></span></div>
  103. <div ref="applyinvoiceAlert" class="scrollContent" >
  104. <div>
  105. <div class="applyinvoice-ul" v-if="invoiceArr.length > 0">
  106. <div class="addinvoice-focus clearfix">
  107. <div class="pull-left addinvoice-focus-name">发票类型:</div>
  108. <div class="pull-left clearfix">
  109. <div class="normal pull-left" style="margin-right: 0.2rem;" @click="chooseVoice('speci', 1205)" v-if="showSpeciBtn">
  110. <div class="icon" :class="waitinvoiceType === 'speci' ? 'active' : ''">
  111. <div class="icon-next"></div>
  112. </div>
  113. 增值税专票
  114. </div>
  115. <div class="normal pull-left" @click="chooseVoice('normal', 1206)" v-if="showNormalBtn">
  116. <div class="icon" :class="waitinvoiceType === 'normal' ? 'active' : ''">
  117. <div class="icon-next"></div>
  118. </div>
  119. 增值税普票
  120. </div>
  121. </div>
  122. </div>
  123. <div class="addinvoice-focus clearfix">
  124. <div class="pull-left addinvoice-focus-name">发票抬头:</div>
  125. <div class="pull-left clearfix overhiden" style="width: 5rem">
  126. {{chooseItem.head}}
  127. </div>
  128. </div>
  129. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  130. <div class="pull-left addinvoice-focus-name">单位地址:</div>
  131. <div class="pull-left clearfix overhiden" style="width: 5rem">
  132. {{chooseItem.companyAddress}}
  133. </div>
  134. </div>
  135. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  136. <div class="pull-left addinvoice-focus-name">单位电话:</div>
  137. <div class="pull-left clearfix overhiden" style="width: 5rem">
  138. {{chooseItem.companyPhone}}
  139. </div>
  140. </div>
  141. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  142. <div class="pull-left addinvoice-focus-name">税务登记号:</div>
  143. <div class="pull-left clearfix overhiden" style="width: 5rem">
  144. {{chooseItem.companyTaxNumber}}
  145. </div>
  146. </div>
  147. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  148. <div class="pull-left addinvoice-focus-name">开户银行:</div>
  149. <div class="pull-left clearfix overhiden" style="width: 5rem">
  150. {{chooseItem.bankName}}
  151. </div>
  152. </div>
  153. <div class="addinvoice-focus clearfix" v-if="chooseItem.kind === 1205">
  154. <div class="pull-left addinvoice-focus-name">开户银行账号:</div>
  155. <div class="pull-left clearfix overhiden" style="width: 5rem">
  156. {{chooseItem.bankAccount}}
  157. </div>
  158. </div>
  159. <div class="addinvoice-focus clearfix" >
  160. <div class="pull-left addinvoice-focus-name">收票人:</div>
  161. <div class="pull-left clearfix overhiden" style="width: 5rem">
  162. {{chooseItem.name}}
  163. </div>
  164. </div>
  165. <div class="addinvoice-focus clearfix" >
  166. <div class="pull-left addinvoice-focus-name">联系电话:</div>
  167. <div class="pull-left clearfix overhiden" style="width: 5rem">
  168. {{chooseItem.telephone}}
  169. </div>
  170. </div>
  171. <div class="addinvoice-focus clearfix" >
  172. <div class="pull-left addinvoice-focus-name">收票地址:</div>
  173. <div class="pull-left clearfix">
  174. <p style="line-height:0.4rem">{{chooseItem.area}}</p>
  175. <!--<div class="pull-left clearfix overhiden" style="width: 5rem">-->
  176. <p style="line-height:0.4rem;width: 5rem" class='overhiden'>{{chooseItem.detailAddress}}</p>
  177. </div>
  178. </div>
  179. </div>
  180. <div class="applyinvoice-ul" v-else>
  181. <div class="addinvoice-focus clearfix">
  182. <div class="pull-left addinvoice-focus-name">暂无发票信息:</div>
  183. <div class="pull-left clearfix" @click="addInvoiceNew()" style="color: #3e82f5">
  184. <img src="/images/mobile/center/user/icon-rm-invoice.png"/>新增发票
  185. </div>
  186. </div>
  187. </div>
  188. <div class="applyinvoive_infotitle">共<a class="blue">{{applyObj.sellNameCount.length}}</a>个商家,<a class="blue">{{applyObj.orderNum}}</a>个订单,发票金额总计:<a class="red">¥{{applyObj.allPrice}}</a>元</div>
  189. <div class="applyinvoive_detailinfo">
  190. <div class="clearfix" v-for="info in applyObj.sellNameCount">
  191. <div class="pull-left">{{info.sellername}}</div>
  192. <div class="pull-right">金额:¥{{info.orderAllPrice}}</div>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="applyinvoice_controll clearfix">
  198. <div @click="showSend = false" class="pull-left">取消</div>
  199. <div class="pull-right" @click="applyInvoiceFn()">确认</div>
  200. </div>
  201. </div>
  202. </div>
  203. </div>
  204. </template>
  205. <script>
  206. import { EncryptionFilter } from '~utils/tools.js'
  207. import axios from '~plugins/axios'
  208. import { RemindBox, PullUp } from '~components/mobile/common'
  209. import { addinvoice } from '~components/mobile/center'
  210. import BScroll from 'better-scroll'
  211. import { MobileFooter } from '~components/mobile'
  212. export default {
  213. name: 'invoice-view',
  214. layout: 'mobile',
  215. middleware: 'authenticated',
  216. computed: {
  217. invoices () {
  218. return this.$store.state.invoice.data.Buyerinvoices
  219. },
  220. fetching () {
  221. return this.invoices.fetching
  222. },
  223. listActiveFlag () {
  224. let allChecked = true
  225. for (let i = 0; i < this.invoiceList.length; i++) {
  226. if (!this.invoiceList[i].$active) {
  227. allChecked = false
  228. break
  229. }
  230. }
  231. return allChecked
  232. },
  233. allChecked () {
  234. return this.invoiceList.length && this.listActiveFlag
  235. }
  236. },
  237. fetch ({store}) {
  238. return Promise.all([
  239. store.dispatch('invoice/getBuyerInvoices', {count: 10, keyword: '', page: 1, sorting: {'creattime': 'DESC'}, status: 520})
  240. ])
  241. },
  242. watch: {
  243. '$store.state.invoice.data.Buyerinvoices.data': {
  244. handler: function (val) {
  245. if (val && val.content) {
  246. if (this.isChange) {
  247. this.invoiceList = []
  248. this.isChange = false
  249. }
  250. let arr = this.baseUtils.deepCopy(val.content)
  251. arr.forEach(item => {
  252. item.$active = false
  253. })
  254. this.invoiceList = [...this.invoiceList, ...arr]
  255. }
  256. },
  257. immediate: true
  258. }
  259. },
  260. data() {
  261. return {
  262. waitinvoiceType: 'speci',
  263. showNormalBtn: true, // 是否显示普票按钮
  264. showSpeciBtn: true, // 是否显示专票按钮
  265. activeType: '',
  266. invoiceList: [], // 订单列表
  267. invoiceArr: [], // 当前用户发票数组
  268. collectResult: '',
  269. timeoutCount: 0,
  270. chooseItem: {}, // 当前选中的发票
  271. showAddinvoice: false, // 是否显示新增发票
  272. joinType: 'add', // 新增发票状态
  273. keyword: '',
  274. page: 1,
  275. showSend: false, // 是否显示发票申请
  276. applyObj: { // 申请发票对象
  277. sellNum: [],
  278. sellNameCount: []
  279. },
  280. addItem: {}, // 新增发票数组
  281. showMoreRemind: false
  282. }
  283. },
  284. async asyncData() {
  285. let { data } = await axios.get('/trade/bill/list/personal')
  286. let showNormalBtn = data.find(item => {
  287. return item.kind === 1206
  288. })
  289. let showSpeciBtn = data.find(item => {
  290. return item.kind === 1205
  291. })
  292. let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
  293. let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
  294. return {
  295. invoiceArr: data,
  296. showNormalBtn: showNormalBtn ? true: false,
  297. showSpeciBtn: showSpeciBtn ? true : false,
  298. chooseItem: chooseItem,
  299. waitinvoiceType: waitinvoiceType
  300. }
  301. },
  302. methods: {
  303. setActive (inv) {
  304. if (inv) {
  305. inv.$active = !inv.$active
  306. } else {
  307. // 先存储 否则会重新计算
  308. let flag = !this.allChecked
  309. this.invoiceList.forEach(item => {
  310. item.$active = flag
  311. })
  312. }
  313. },
  314. chooseVoice(str, num) {
  315. this.waitinvoiceType = str
  316. this.chooseItem = this.invoiceArr.find(obj => {
  317. return obj.kind === num
  318. })
  319. this._initScroll()
  320. },
  321. async addinvoiceFn(ty, item) {
  322. this.showAddinvoice = false
  323. if (ty) {
  324. let { data } = await axios.get('/trade/bill/list/personal')
  325. let showNormalBtn = data.find(item => {
  326. return item.kind === 1206
  327. })
  328. let showSpeciBtn = data.find(item => {
  329. return item.kind === 1205
  330. })
  331. let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
  332. let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
  333. this.invoiceArr = data
  334. this.showNormalBtn = showNormalBtn ? true: false
  335. this.showSpeciBtn = showSpeciBtn ? true : false
  336. this.chooseItem = chooseItem
  337. this.waitinvoiceType = waitinvoiceType
  338. }
  339. this.showSend = true
  340. },
  341. setRemindText(str) {
  342. this.collectResult = str
  343. this.timeoutCount++
  344. },
  345. // 店铺详情页
  346. toShopdetails(item) {
  347. this.$router.push(`/mobile/shop/${item.storeid}`)
  348. },
  349. // 查看订单详情
  350. lookOrderDetail(item) {
  351. let id = EncryptionFilter(item.orderid)
  352. this.$router.push(`/mobile/order/details?uuid=${id}&type=buyer&paytype=${item.paytype}`)
  353. },
  354. // 申请开票
  355. applyInvoice() {
  356. let _arr = []
  357. let _orderNum = 0
  358. let _AllPice = 0
  359. let sellNameCount = []
  360. this.invoiceList.forEach(obj => {
  361. if (obj.$active === true) {
  362. _AllPice += obj.price
  363. _orderNum++
  364. let _find = _arr.find($it => {
  365. return $it.storeid === obj.storeid
  366. })
  367. if (_find) {
  368. _find.orderAllPrice += obj.price
  369. } else {
  370. obj.orderAllPrice = obj.price
  371. sellNameCount.push(obj)
  372. }
  373. _arr.push(obj)
  374. }
  375. })
  376. if (_arr.length === 0) {
  377. this.setRemindText('请勾选未开票订单')
  378. return
  379. }
  380. this.applyObj = {
  381. sellNum: _arr,
  382. orderNum: _orderNum,
  383. allPrice: _AllPice,
  384. sellNameCount: sellNameCount
  385. }
  386. this.showSend = true
  387. this._initScroll()
  388. },
  389. // 申请开票最后阶段
  390. applyInvoiceFn() {
  391. if (this.invoiceArr.length === 0) {
  392. this.setRemindText('请选择发票类型')
  393. return
  394. }
  395. let str = ''
  396. this.applyObj.sellNum.forEach(obj => {
  397. str === '' ? str += obj.orderid : str += ',' + obj.orderid
  398. })
  399. let json = {
  400. invoiceid: this.chooseItem.id,
  401. orderids: str
  402. }
  403. this.$http.post('/trade/billSubmit', json).then(res => {
  404. if (res.data instanceof Array) {
  405. this.setRemindText('申请成功')
  406. this.searchMore()
  407. this.showSend = false
  408. }
  409. })
  410. },
  411. reloadList () {
  412. this.isChange = true
  413. this.$store.dispatch('invoice/getBuyerInvoices', {count: 10, page: this.page, keyword: this.keyword, sorting: {'creattime': 'DESC'}, status: 520})
  414. },
  415. searchMore() {
  416. this.page = 1
  417. this.reloadList()
  418. },
  419. onPullUp () {
  420. this.page++
  421. this.reloadList()
  422. },
  423. _initScroll() {
  424. this.$nextTick(res => {
  425. if (!this.scroll) {
  426. this.scroll = new BScroll(this.$refs.applyinvoiceAlert, {click: true})
  427. } else {
  428. this.scroll.refresh()
  429. }
  430. })
  431. },
  432. addInvoiceNew() {
  433. this.showSend = false
  434. this.addItem = {}
  435. this.showAddinvoice = true
  436. }
  437. },
  438. components: {
  439. RemindBox,
  440. addinvoice,
  441. PullUp,
  442. MobileFooter
  443. }
  444. }
  445. </script>
  446. <style lang="scss" scoped>
  447. @import '~assets/scss/mobileInvoice';
  448. @mixin overFlowHidden {
  449. overflow: hidden;
  450. text-overflow: ellipsis;
  451. white-space: nowrap;
  452. }
  453. @mixin lineHeight($value) {
  454. height: $value;
  455. line-height: $value;
  456. }
  457. .overhiden {
  458. @include overFlowHidden()
  459. }
  460. .invoice-wrapper {
  461. background: #f1f3f6;
  462. /*margin: 1.26rem 0 0 0;*/
  463. left: 0;
  464. bottom: 0;
  465. top: 0;
  466. right: 0;
  467. z-index: 11;
  468. /*padding: 0.82rem 0 1.04rem;*/
  469. /*height: calc(100vh - 1.26rem);*/
  470. position: absolute;
  471. width: 100%;
  472. .invoice-wrapper-el {
  473. margin: 2.08rem 0 0.98rem;
  474. height: calc(100vh - 1.26rem - 0.98rem - 1.06rem);
  475. overflow-y: scroll;
  476. padding-bottom: 0.98rem;
  477. }
  478. .mobile-header{
  479. position: fixed;
  480. top: 0;
  481. z-index: 10;
  482. width:100%;
  483. height: 1.26rem;
  484. line-height: 1.26rem;
  485. /*border-bottom:.01rem solid #ccc;*/
  486. background: #3e82f5;
  487. padding:0 .2rem 0 .1rem;
  488. color:#fff;
  489. }
  490. .mobile-header p{
  491. overflow: hidden;
  492. text-overflow: ellipsis;
  493. white-space: nowrap;
  494. font-size:.36rem;
  495. text-align: center;
  496. width: 6rem;
  497. padding-left: 1rem;
  498. }
  499. .mobile-center-header p.en-name {
  500. font-size: .3rem;
  501. }
  502. .mobile-header a{
  503. font-size:.28rem;
  504. color:#fff;
  505. position: absolute;
  506. }
  507. .mobile-header a i{
  508. font-size: .48rem;
  509. margin-right: -.1rem;
  510. }
  511. .order-nav {
  512. background: #fff;
  513. -webkit-box-shadow: 0 1px 3px #ddd;
  514. -moz-box-shadow: 0 1px 3px #ddd;
  515. box-shadow: 0 1px 3px #ddd;
  516. position: fixed;
  517. width: 100%;
  518. top: 1.26rem;
  519. z-index: 10;
  520. div {
  521. height: 0.82rem;
  522. line-height: 0.82rem;
  523. display: inline-block;
  524. width: 33.3%;
  525. text-align: center;
  526. font-size: .28rem;
  527. color: #666;
  528. &.active span{
  529. color: #3f84f6;
  530. border-bottom: 0.04rem solid #3f84f6;
  531. padding-bottom: 0.2rem;
  532. }
  533. }
  534. }
  535. .mi-remind-area {
  536. margin-top: 0.24rem;
  537. background: #fff;
  538. }
  539. .mi-list-content .mi-list li {
  540. background: #fff;
  541. &:nth-child(1) {
  542. margin-top: 0;
  543. }
  544. }
  545. .mi-search-content input {
  546. width: 7rem;
  547. margin: 0;
  548. }
  549. .mobile-invoice .mi-list-content .mi-list li .line .content {
  550. padding: 0;
  551. color: #3976f4;
  552. width: 67%;
  553. &.pri {
  554. color: #ee1111
  555. }
  556. }
  557. .mobile-invoice .mi-list-content .mi-list li .line .title {
  558. width: 33%;
  559. }
  560. .applyinvoice_Alert {
  561. background: #fff;
  562. position: fixed;
  563. bottom: 0rem;
  564. left: 0;
  565. width: 100%;
  566. border-top-left-radius: 5px;
  567. border-top-right-radius: 5px;
  568. padding-bottom: 0.2rem;
  569. .scrollContent {
  570. max-height: 6rem;
  571. overflow: hidden;
  572. }
  573. .applyinvoice_title {
  574. color: #333;
  575. font-size: 0.42rem;
  576. text-align: center;
  577. line-height: 1rem;
  578. font-weight: 600;
  579. position: relative;
  580. i {
  581. position: absolute;
  582. font-size: 16px;
  583. right: 0.2rem;
  584. }
  585. }
  586. .applyinvoice-ul {
  587. .addinvoice-focus {
  588. font-size: 0.28rem;
  589. color: #666;
  590. line-height: 0.6rem;
  591. margin: 0 0.2rem;
  592. img {
  593. width: 0.29rem;
  594. vertical-align: top;
  595. height: 0.33rem;
  596. margin-top: 0.12rem;
  597. margin-right: 0.04rem;
  598. }
  599. .addinvoice-focus-name {
  600. width: 2.1rem;
  601. }
  602. .normal {
  603. .icon {
  604. font-size: 0.28rem;
  605. color: #333;
  606. width: 0.5rem;
  607. height: 0.5rem;
  608. border-radius: 50%;
  609. border: 1px solid #dcdcdc;
  610. position: relative;
  611. display: inline-block;
  612. vertical-align: top;
  613. &.active .icon-next {
  614. background: #226ce7;
  615. width: 0.3rem;
  616. height: 0.3rem;
  617. border-radius: 50%;
  618. position: absolute;
  619. left: 50%;
  620. top: 50%;
  621. transform: translate3d(-50%, -50%, 0);
  622. }
  623. }
  624. }
  625. }
  626. }
  627. .applyinvoive_infotitle {
  628. color: #333;
  629. font-size: 0.28rem;
  630. @include lineHeight(0.6rem);
  631. background: #e5e5e5;
  632. padding: 0 0.2rem;
  633. .blue {
  634. color: #3e82f5;
  635. }
  636. .red{
  637. max-width: 1.6rem;
  638. @include overFlowHidden();
  639. vertical-align: middle;
  640. display: inline-block;
  641. color: #f43938
  642. }
  643. }
  644. .applyinvoive_detailinfo {
  645. color: #333;
  646. font-size: 0.28rem;
  647. padding: 0.2rem;
  648. .clearfix {
  649. @include lineHeight(0.5rem);
  650. }
  651. .pull-left {
  652. width: 3.5rem;
  653. @include overFlowHidden()
  654. }
  655. .pull-right {
  656. width: 3.3rem;
  657. @include overFlowHidden()
  658. }
  659. }
  660. .applyinvoice_controll {
  661. padding: 0.2rem 0.3rem 0;
  662. border-top: 1px solid #dcdcdc;
  663. div {
  664. width: 3.29rem;
  665. @include lineHeight(0.77rem);
  666. color: #fff;
  667. font-size: 0.32rem;
  668. text-align: center;
  669. border-radius: 0.07rem;
  670. background: #bfbfbf;
  671. &:last-child {
  672. background: #3e82f5;
  673. }
  674. }
  675. }
  676. }
  677. }
  678. </style>