waitinvoice.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  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-if="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.sellNum.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.sellNum">
  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. },
  279. addItem: {}, // 新增发票数组
  280. showMoreRemind: false
  281. }
  282. },
  283. async asyncData() {
  284. let { data } = await axios.get('/trade/bill/list/personal')
  285. let showNormalBtn = data.find(item => {
  286. return item.kind === 1206
  287. })
  288. let showSpeciBtn = data.find(item => {
  289. return item.kind === 1205
  290. })
  291. let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
  292. let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
  293. return {
  294. invoiceArr: data,
  295. showNormalBtn: showNormalBtn ? true: false,
  296. showSpeciBtn: showSpeciBtn ? true : false,
  297. chooseItem: chooseItem,
  298. waitinvoiceType: waitinvoiceType
  299. }
  300. },
  301. methods: {
  302. setActive (inv) {
  303. if (inv) {
  304. inv.$active = !inv.$active
  305. } else {
  306. // 先存储 否则会重新计算
  307. let flag = !this.allChecked
  308. this.invoiceList.forEach(item => {
  309. item.$active = flag
  310. })
  311. }
  312. },
  313. chooseVoice(str, num) {
  314. this.waitinvoiceType = str
  315. this.chooseItem = this.invoiceArr.find(obj => {
  316. return obj.kind === num
  317. })
  318. this._initScroll()
  319. },
  320. async addinvoiceFn(ty, item) {
  321. this.showAddinvoice = false
  322. if (ty) {
  323. let { data } = await axios.get('/trade/bill/list/personal')
  324. let showNormalBtn = data.find(item => {
  325. return item.kind === 1206
  326. })
  327. let showSpeciBtn = data.find(item => {
  328. return item.kind === 1205
  329. })
  330. let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
  331. let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
  332. this.invoiceArr = data
  333. this.showNormalBtn = showNormalBtn ? true: false
  334. this.showSpeciBtn = showSpeciBtn ? true : false
  335. this.chooseItem = chooseItem
  336. this.waitinvoiceType = waitinvoiceType
  337. }
  338. this.showSend = true
  339. },
  340. setRemindText(str) {
  341. this.collectResult = str
  342. this.timeoutCount++
  343. },
  344. // 店铺详情页
  345. toShopdetails(item) {
  346. this.$router.push(`/mobile/shop/${item.storeid}`)
  347. },
  348. // 查看订单详情
  349. lookOrderDetail(item) {
  350. let id = EncryptionFilter(item.orderid)
  351. this.$router.push(`/mobile/order/details?uuid=${id}&type=buyer&paytype=${item.paytype}`)
  352. },
  353. // 申请开票
  354. applyInvoice() {
  355. let _arr = []
  356. let _orderNum = 0
  357. let _AllPice = 0
  358. this.invoiceList.forEach(obj => {
  359. if (obj.$active === true) {
  360. _AllPice += obj.price
  361. _orderNum++
  362. let _find = _arr.find($it => {
  363. return $it.storeid === obj.storeid
  364. })
  365. if (_find) {
  366. _find.orderAllPrice += obj.price
  367. } else {
  368. obj.orderAllPrice = obj.price
  369. _arr.push(obj)
  370. }
  371. }
  372. })
  373. if (_arr.length === 0) {
  374. this.setRemindText('请勾选未开票订单')
  375. return
  376. }
  377. this.applyObj = {
  378. sellNum: _arr,
  379. orderNum: _orderNum,
  380. allPrice: _AllPice
  381. }
  382. this.showSend = true
  383. this._initScroll()
  384. },
  385. // 申请开票最后阶段
  386. applyInvoiceFn() {
  387. if (this.invoiceArr.length === 0) {
  388. this.setRemindText('请选择发票类型')
  389. return
  390. }
  391. let str = ''
  392. this.applyObj.sellNum.forEach(obj => {
  393. str === '' ? str += obj.orderid : str += ',' + obj.orderid
  394. })
  395. let json = {
  396. invoiceid: this.chooseItem.id,
  397. orderids: str
  398. }
  399. this.$http.post('/trade/billSubmit', json).then(res => {
  400. if (res.data instanceof Array) {
  401. this.setRemindText('申请成功')
  402. this.searchMore()
  403. this.showSend = false
  404. }
  405. })
  406. },
  407. reloadList () {
  408. this.isChange = true
  409. this.$store.dispatch('invoice/getBuyerInvoices', {count: 10, page: this.page, keyword: this.keyword, sorting: {'creattime': 'DESC'}, status: 520})
  410. },
  411. searchMore() {
  412. this.page = 1
  413. this.reloadList()
  414. },
  415. onPullUp () {
  416. this.page++
  417. this.reloadList()
  418. },
  419. _initScroll() {
  420. this.$nextTick(res => {
  421. if (!this.scroll) {
  422. this.scroll = new BScroll(this.$refs.applyinvoiceAlert, {click: true})
  423. } else {
  424. this.scroll.refresh()
  425. }
  426. })
  427. },
  428. addInvoiceNew() {
  429. this.showSend = false
  430. this.addItem = {}
  431. this.showAddinvoice = true
  432. }
  433. },
  434. components: {
  435. RemindBox,
  436. addinvoice,
  437. PullUp,
  438. MobileFooter
  439. }
  440. }
  441. </script>
  442. <style lang="scss" scoped>
  443. @import '~assets/scss/mobileInvoice';
  444. @mixin overFlowHidden {
  445. overflow: hidden;
  446. text-overflow: ellipsis;
  447. white-space: nowrap;
  448. }
  449. @mixin lineHeight($value) {
  450. height: $value;
  451. line-height: $value;
  452. }
  453. .overhiden {
  454. @include overFlowHidden()
  455. }
  456. .invoice-wrapper {
  457. background: #f1f3f6;
  458. /*margin: 1.26rem 0 0 0;*/
  459. left: 0;
  460. bottom: 0;
  461. top: 0;
  462. right: 0;
  463. z-index: 11;
  464. /*padding: 0.82rem 0 1.04rem;*/
  465. /*height: calc(100vh - 1.26rem);*/
  466. position: absolute;
  467. width: 100%;
  468. .invoice-wrapper-el {
  469. margin: 2.08rem 0 0.98rem;
  470. height: calc(100vh - 1.26rem - 0.98rem - 1.06rem);
  471. overflow-y: scroll;
  472. padding-bottom: 0.98rem;
  473. }
  474. .mobile-header{
  475. position: fixed;
  476. top: 0;
  477. z-index: 10;
  478. width:100%;
  479. height: 1.26rem;
  480. line-height: 1.26rem;
  481. /*border-bottom:.01rem solid #ccc;*/
  482. background: #3e82f5;
  483. padding:0 .2rem 0 .1rem;
  484. color:#fff;
  485. }
  486. .mobile-header p{
  487. overflow: hidden;
  488. text-overflow: ellipsis;
  489. white-space: nowrap;
  490. font-size:.36rem;
  491. text-align: center;
  492. width: 6rem;
  493. padding-left: 1rem;
  494. }
  495. .mobile-center-header p.en-name {
  496. font-size: .3rem;
  497. }
  498. .mobile-header a{
  499. font-size:.28rem;
  500. color:#fff;
  501. position: absolute;
  502. }
  503. .mobile-header a i{
  504. font-size: .48rem;
  505. margin-right: -.1rem;
  506. }
  507. .order-nav {
  508. background: #fff;
  509. -webkit-box-shadow: 0 1px 3px #ddd;
  510. -moz-box-shadow: 0 1px 3px #ddd;
  511. box-shadow: 0 1px 3px #ddd;
  512. position: fixed;
  513. width: 100%;
  514. top: 1.26rem;
  515. z-index: 10;
  516. div {
  517. height: 0.82rem;
  518. line-height: 0.82rem;
  519. display: inline-block;
  520. width: 33.3%;
  521. text-align: center;
  522. font-size: .28rem;
  523. color: #666;
  524. &.active span{
  525. color: #3f84f6;
  526. border-bottom: 0.04rem solid #3f84f6;
  527. padding-bottom: 0.2rem;
  528. }
  529. }
  530. }
  531. .mi-remind-area {
  532. margin-top: 0.24rem;
  533. background: #fff;
  534. }
  535. .mi-list-content .mi-list li {
  536. background: #fff;
  537. &:nth-child(1) {
  538. margin-top: 0;
  539. }
  540. }
  541. .mi-search-content input {
  542. width: 7rem;
  543. margin: 0;
  544. }
  545. .mobile-invoice .mi-list-content .mi-list li .line .content {
  546. padding: 0;
  547. color: #3976f4;
  548. width: 67%;
  549. &.pri {
  550. color: #ee1111
  551. }
  552. }
  553. .mobile-invoice .mi-list-content .mi-list li .line .title {
  554. width: 33%;
  555. }
  556. .applyinvoice_Alert {
  557. background: #fff;
  558. position: fixed;
  559. bottom: 0rem;
  560. left: 0;
  561. width: 100%;
  562. border-top-left-radius: 5px;
  563. border-top-right-radius: 5px;
  564. padding-bottom: 0.2rem;
  565. .scrollContent {
  566. max-height: 6rem;
  567. overflow: hidden;
  568. }
  569. .applyinvoice_title {
  570. color: #333;
  571. font-size: 0.42rem;
  572. text-align: center;
  573. line-height: 1rem;
  574. font-weight: 600;
  575. position: relative;
  576. i {
  577. position: absolute;
  578. font-size: 16px;
  579. right: 0.2rem;
  580. }
  581. }
  582. .applyinvoice-ul {
  583. .addinvoice-focus {
  584. font-size: 0.28rem;
  585. color: #666;
  586. line-height: 0.6rem;
  587. margin: 0 0.2rem;
  588. img {
  589. width: 0.29rem;
  590. vertical-align: top;
  591. height: 0.33rem;
  592. margin-top: 0.12rem;
  593. margin-right: 0.04rem;
  594. }
  595. .addinvoice-focus-name {
  596. width: 2.1rem;
  597. }
  598. .normal {
  599. .icon {
  600. font-size: 0.28rem;
  601. color: #333;
  602. width: 0.5rem;
  603. height: 0.5rem;
  604. border-radius: 50%;
  605. border: 1px solid #dcdcdc;
  606. position: relative;
  607. display: inline-block;
  608. vertical-align: top;
  609. &.active .icon-next {
  610. background: #226ce7;
  611. width: 0.3rem;
  612. height: 0.3rem;
  613. border-radius: 50%;
  614. position: absolute;
  615. left: 50%;
  616. top: 50%;
  617. transform: translate3d(-50%, -50%, 0);
  618. }
  619. }
  620. }
  621. }
  622. }
  623. .applyinvoive_infotitle {
  624. color: #333;
  625. font-size: 0.28rem;
  626. @include lineHeight(0.6rem);
  627. background: #e5e5e5;
  628. padding: 0 0.2rem;
  629. .blue {
  630. color: #3e82f5;
  631. }
  632. .red{
  633. max-width: 1.6rem;
  634. @include overFlowHidden();
  635. vertical-align: middle;
  636. display: inline-block;
  637. color: #f43938
  638. }
  639. }
  640. .applyinvoive_detailinfo {
  641. color: #333;
  642. font-size: 0.28rem;
  643. padding: 0.2rem;
  644. .clearfix {
  645. @include lineHeight(0.5rem);
  646. }
  647. .pull-left {
  648. width: 3.5rem;
  649. @include overFlowHidden()
  650. }
  651. .pull-right {
  652. width: 3.3rem;
  653. @include overFlowHidden()
  654. }
  655. }
  656. .applyinvoice_controll {
  657. padding: 0.2rem 0.3rem 0;
  658. border-top: 1px solid #dcdcdc;
  659. div {
  660. width: 3.29rem;
  661. @include lineHeight(0.77rem);
  662. color: #fff;
  663. font-size: 0.32rem;
  664. text-align: center;
  665. border-radius: 0.07rem;
  666. background: #bfbfbf;
  667. &:last-child {
  668. background: #3e82f5;
  669. }
  670. }
  671. }
  672. }
  673. }
  674. </style>