waitinvoice.vue 24 KB

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