waitinvoice.vue 23 KB

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