waitinvoice.vue 24 KB

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