order-list.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. <template>
  2. <view class="container mine clearfix">
  3. <view class="tui-header-box first">
  4. <view class="tui-header-search" @click.stop="rDrawer">
  5. <view class="inner">
  6. <text class="iconfont icon-sousuo"></text>
  7. <view class="input">筛选我的订单</view>
  8. </view>
  9. </view>
  10. </view>
  11. <view class="user-section">
  12. <view :class="{'tui-order-list':scrollTop >= 0}" class="clearfix">
  13. <!-- 空白页 -->
  14. <view class="empty-container" v-if="isEmpty">
  15. <image class="empty-container-image" src="https://img.caimei365.com/group1/M00/03/71/Cmis2F3wna6AcewRAAEtqt4jZmU397.png"></image>
  16. <text class="error-text">暂无数据^_^</text>
  17. </view>
  18. <!-- 列表 -->
  19. <view v-else class="tui-order-content">
  20. <view class="tui-order-item" v-for="(order,orderIndex) in orderData" :key="orderIndex" @click.stop="detail(order.shopOrderID)">
  21. <view class="order-title">
  22. <view class="order-title-n">
  23. <view class="order-title-name">收货人:{{order.userInfo.shouHuoRen}}</view>
  24. <view class="order-title-phone">手机号:{{order.userInfo.mobile}}</view>
  25. </view>
  26. <view class="order-title-t first">
  27. <view class="order-title-num">订单编号:{{ order.shopOrderNo }}</view>
  28. <view class="order-title-tip">结算状态:{{ order.payStatus | payStatusType }}</view>
  29. </view>
  30. <view class="order-title-t">
  31. <view class="order-title-num">下单时间:{{ order.orderTime }}</view>
  32. <view class="order-title-tip">发货状态:<text class="status">{{ order.sendOutStatus | sendOutStatusType }}</text></view>
  33. </view>
  34. </view>
  35. <view class="order-product">
  36. <view class="goods-pros-t clearfix" v-for="(pros,prosIndex) in order.orderProductList" :key="prosIndex">
  37. <view class="pros-product">
  38. <view class="pros-product-img">
  39. <image :src="pros.productImage" mode=""></image>
  40. </view>
  41. <view class="pros-product-msg">
  42. <view class="name">{{ pros.name }}</view>
  43. <view class="unit">规格:{{ pros.productUnit }}</view>
  44. <view class="price">
  45. <view class="red">¥{{ pros.price | NumFormat}}</view>
  46. <view class="count"><text class="small">X</text> {{ pros.num }}</view>
  47. </view>
  48. <view class="number">
  49. <text>已发货:{{ pros.shipmentsNum }}</text>
  50. <text v-if="order.returnedNum!=null&&order.returnedNum!=0">已退货:{{ pros.actualCancelNum }}</text>
  51. <text v-if="order.returnedNum!=null&&order.returnedNum!=0">取消:{{ pros.actualCancelNum }}</text>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="pros-product-uss">合计:<text class="text">¥{{ pros.totalAmount | NumFormat}}</text></view>
  56. </view>
  57. </view>
  58. <!-- 底部button -->
  59. <order-button ref="orderButton"
  60. :status="order.sendOutStatus"
  61. :orderInfo ="order"
  62. @buttonConfirm="handButtonConfirm">
  63. </order-button>
  64. </view>
  65. <!--加载loadding-->
  66. <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
  67. <tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text='nomoreText'></tui-nomore>
  68. <!--加载loadding-->
  69. </view>
  70. </view>
  71. </view>
  72. <!--右抽屉-->
  73. <tui-drawer mode="right" :visible="rightDrawer" @close="closeDrawer">
  74. <view class="d-container clearfix" :style="{paddingTop:20+'px'}">
  75. <view class="d-label">订单编号:</view>
  76. <view class="d-input">
  77. <input class="input" type="text" value="" v-model="listQuery.shopOrderNo" placeholder="输入订单编号"/>
  78. </view>
  79. <view class="d-label">收货人姓名:</view>
  80. <view class="d-input">
  81. <input class="input" type="text" value="" v-model="listQuery.shouHuoRen" placeholder="输入收货人姓名"/>
  82. </view>
  83. <view class="d-label">发货状态:</view>
  84. <view class="d-input">
  85. <picker @change="bindPickerChange($event)" :value="index" :range="StatusArray" range-key="name">
  86. <input class="input" type="text" disabled="false" v-model="showSendOutStatus" value="" placeholder="请选择发货状态"/>
  87. <text class="iconfont icon-xiangyou"></text>
  88. </picker>
  89. </view>
  90. <view class="d-label">结算状态:</view>
  91. <view class="d-input">
  92. <picker @change="bindPickerChange1($event)" :value="index" :range="PayArray" range-key="name">
  93. <input class="input" type="text" disabled="false" v-model="showpayStatus" value="" placeholder="请选择结算状态"/>
  94. <text class="iconfont icon-xiangyou"></text>
  95. </picker>
  96. </view>
  97. <view class="d-input btn">
  98. <view class="d-btn comfrim" @click="handSearchList">确定</view>
  99. <view class="d-btn clear" @click="handSearchClear">重置</view>
  100. </view>
  101. </view>
  102. </tui-drawer>
  103. <!-- 分享弹窗 -->
  104. <share-alert :shopOrderID="btnoRderID"
  105. v-if="isShareModal"
  106. @shareConfirm ='onShareAppMessage'>
  107. </share-alert>
  108. </view>
  109. </template>
  110. <script>
  111. import tuiLoadmore from "@/components/tui-components/loadmore/loadmore"
  112. import tuiNomore from "@/components/tui-components/nomore/nomore"
  113. import orderButton from '@/components/cm-module/orderDetails/supplierListButton'//底部按钮
  114. import shareAlert from '@/components/cm-module/modelAlert/supplierShareAlert' //分享弹窗
  115. import modalLayer from "@/components/modal-layer"
  116. import empty from "@/components/empty";
  117. import { mapState,mapMutations } from 'vuex'
  118. const defaultListQuery = {
  119. shopID:'',
  120. pageNum: 1,
  121. pageSize: 10,
  122. sendOutStatus: '',//发货状态
  123. payStatus:'',//结算状态
  124. shopOrderNo:'',//订单编号
  125. shouHuoRen: '',//买家名称
  126. };
  127. export default{
  128. components: {
  129. tuiLoadmore,
  130. tuiNomore,
  131. empty,
  132. shareAlert,
  133. orderButton
  134. },
  135. data() {
  136. return{
  137. StatusArray:[
  138. {name:'所有',value:'0'},
  139. {name:'待发货',value:'1'},
  140. {name:'部分发货',value:'2'},
  141. {name:'已发货',value:'3'},
  142. ],
  143. PayArray:[
  144. {name:'所有',value:'0'},
  145. {name:'待结算',value:'1'},
  146. {name:'部分结算',value:'2'},
  147. {name:'已结算',value:'3'},
  148. ],
  149. shopID:0,
  150. showSendOutStatus:'',
  151. showpayStatus:'',
  152. CustomBar:this.CustomBar,// 顶部导航栏高度
  153. userID:0,
  154. openId:'',
  155. isShareModal:false,
  156. listQuery:Object.assign({}, defaultListQuery),
  157. orderData: [],
  158. btnoRderID: 0, //点击按钮传入的的订单ID
  159. scrollTop: 0,
  160. deteleType:'',
  161. skeletonShow: true,
  162. isEmpty: false,
  163. isDelete:false,
  164. isModalLayer: false,
  165. loadding: false,
  166. pullUpOn: true,
  167. pullFlag: true,
  168. hasNextPage: false,
  169. navbarHeight:'',
  170. nomoreText: '上拉显示更多',
  171. contentModalText:'',//操作文字提示语句
  172. modal:false,
  173. rightDrawer: false,
  174. OperationType:'',//操作类型
  175. }
  176. },
  177. onLoad(){
  178. },
  179. filters: {
  180. sendOutStatusType(value) {
  181. if (value === null) {
  182. return '未发货';
  183. } else if(value === '1') {
  184. return '待发货';
  185. } else if(value === '2') {
  186. return '部分发货';
  187. } else{
  188. return '已发货';
  189. }
  190. },
  191. payStatusType(value) {
  192. if (value === '1') {
  193. return '待结算';
  194. } else if (value === '2') {
  195. return '部分结算';
  196. } else {
  197. return '已结算';
  198. }
  199. },
  200. NumFormat:function(text) {//处理金额
  201. return Number(text).toFixed(2);
  202. },
  203. },
  204. computed: {
  205. ...mapState(['hasLogin','userInfo'])
  206. },
  207. methods:{
  208. getOrderDatainit(index){
  209. this.listQuery.pageNum = 1
  210. this.ShopService.GetSupplierMyOrderList(this.listQuery).then(response =>{
  211. let data = response.data
  212. this.hasNextPage = data.hasNextPage
  213. if(data.results && data.results.length > 0){
  214. this.isEmpty = false;
  215. this.orderData = [...data.results];
  216. if(hasNextPage){
  217. this.pullUpOn = false
  218. this.nomoreText = '上拉显示更多'
  219. }else{
  220. if(this.orderData.length < 5){
  221. this.pullUpOn = true
  222. }else{
  223. this.pullUpOn = false
  224. this.nomoreText = '已至底部'
  225. }
  226. }
  227. }else{
  228. this.isEmpty = true
  229. }
  230. }).catch(error =>{
  231. this.$util.msg(error.msg,2000);
  232. })
  233. },
  234. getOnReachBottomData(index){//上拉加载
  235. this.listQuery.pageNum += 1
  236. this.ShopService.GetSupplierMyOrderList(this.listQuery).then(response =>{
  237. let data = response.data
  238. this.hasNextPage = data.hasNextPage
  239. this.orderData = this.orderData.concat(data.results)
  240. this.pullFlag = false;// 防上拉暴滑
  241. setTimeout(()=>{this.pullFlag = true;},500)
  242. if(this.total > this.orderData.length){
  243. this.pullUpOn = false
  244. this.nomoreText = '上拉显示更多'
  245. }else{
  246. this.loadding = false
  247. this.pullUpOn = false
  248. this.nomoreText = '已至底部'
  249. }
  250. })
  251. },
  252. detail(shopOrderId) {//订单详情跳转
  253. this.isModalLayer = true;
  254. this.$api.navigateTo(`/supplier/pages/order/order-details?shopOrderId=${shopOrderId}`)
  255. },
  256. handButtonConfirm(data) {//获取点击
  257. console.log(data)
  258. this.btnoRderID = data.orderInfo.shopOrderID
  259. console.log(this.btnoRderID )
  260. this.OperationType = data.type
  261. this.handShowAlert(data)
  262. },
  263. handShowAlert(data){//判断点击的按钮类型并执行...
  264. switch(data.type){
  265. case 'record':
  266. this.$api.navigateTo('/supplier/pages/deliver/deliver-record?shopOrderId='+this.btnoRderID)
  267. break
  268. case 'deliver':
  269. this.$api.navigateTo('/supplier/pages/deliver/deliver-goods?shopOrderId='+this.btnoRderID)
  270. break
  271. }
  272. },
  273. rDrawer() {//弹出抽屉
  274. this.rightDrawer = true;
  275. },
  276. closeDrawer(e) {//关闭抽屉
  277. this.leftDrawer = false;
  278. this.rightDrawer = false;
  279. },
  280. bindPickerChange: function(e) {//选择结算状态筛选
  281. this.showSendOutStatus = this.StatusArray[e.target.value].name
  282. this.listQuery.sendOutStatus = this.StatusArray[e.target.value].value
  283. },
  284. bindPickerChange1: function(e) {//选择发货状态筛选
  285. this.showpayStatus = this.PayArray[e.target.value].name
  286. this.listQuery.payStatus = this.PayArray[e.target.value].value
  287. },
  288. handSearchList(){//搜索
  289. this.getOrderDatainit()
  290. this.leftDrawer = false;
  291. this.rightDrawer = false;
  292. },
  293. handSearchClear(){//重置搜索条件
  294. this.listQuery = Object.assign({}, defaultListQuery)
  295. this.listQuery.shopID = this.shopID
  296. this.showSendOutStatus='';
  297. this.showpayStatus='';
  298. },
  299. },
  300. onShareAppMessage(res){//分享转发
  301. this.isShareModal = false
  302. if (res.from === 'button') {
  303. // 来自页面内转发按钮
  304. }
  305. return {
  306. title: '您有订单待处理,请点击查看~',
  307. path: `/supplier/pages/login/share-info?authority=3&shopOrderId=${this.btnoRderID}`,
  308. imageUrl:'https://img.caimei365.com/group1/M00/03/95/Cmis216Sk_SABnOFABZCgCzFV_g063.png'
  309. }
  310. },
  311. onReachBottom() {
  312. if(this.hasNextPage){
  313. this.loadding = true
  314. this.pullUpOn = true
  315. this.getOnReachBottomData()
  316. }
  317. },
  318. onPullDownRefresh() {
  319. setTimeout(() => {
  320. this.listQuery.pageNum = 1
  321. this.listQuery.payStatus=''
  322. this.listQuery.showSendOutStatus=''
  323. this.getOrderDatainit()
  324. uni.stopPullDownRefresh()
  325. }, 200)
  326. },
  327. onShow(){
  328. this.$api.getComStorage('userInfo').then((resolve) =>{
  329. this.listQuery.shopID = this.shopID = resolve.shopID
  330. this.getOrderDatainit()
  331. })
  332. }
  333. }
  334. </script>
  335. <style lang="scss">
  336. @import "@/uni.scss";
  337. page{
  338. background:#F7F7F7;
  339. }
  340. .d-container {
  341. width: 560rpx;
  342. padding: 80rpx 30rpx;
  343. .d-title{
  344. width: 100%;
  345. height:80rpx;
  346. line-height: 80rpx;
  347. text-align: center;
  348. color: #4688fa;
  349. font-size: $font-size-32;
  350. float: left;
  351. }
  352. .d-time{
  353. width: 100%;
  354. height: 70rpx;
  355. float: left;
  356. box-sizing: border-box;
  357. padding: 0 10rpx;
  358. border: 1px solid rgba(0,0,0,0.2);
  359. border-radius: 4rpx;
  360. margin-bottom: 30rpx;
  361. .iconfont{
  362. width:70rpx;
  363. height: 60rpx;
  364. display: block;
  365. float: left;
  366. font-size: 50rpx;
  367. color: #666666;
  368. line-height: 70rpx;
  369. text-align: left;
  370. }
  371. .input{
  372. width: 220rpx;
  373. height: 70rpx;
  374. line-height: 70rpx;
  375. float: left;
  376. box-sizing: border-box;
  377. font-size: $font-size-24;
  378. color: #333333;
  379. padding: 0 10rpx;
  380. }
  381. }
  382. .d-label{
  383. width: 100%;
  384. height: 44rpx;
  385. line-height: 44rpx;
  386. text-align: left;
  387. color: #666666;
  388. font-size: $font-size-26;
  389. float: left;
  390. }
  391. .d-input{
  392. width: 100%;
  393. height: 70rpx;
  394. float: left;
  395. box-sizing: border-box;
  396. padding: 0 10rpx;
  397. border: 1px solid rgba(0,0,0,0.2);
  398. border-radius: 4rpx;
  399. margin-bottom: 30rpx;
  400. position: relative;
  401. &.btn{
  402. border: none;
  403. margin-top: 40rpx;
  404. }
  405. .input{
  406. width: 100%;
  407. height: 70rpx;
  408. line-height: 70rpx;
  409. float: left;
  410. box-sizing: border-box;
  411. font-size: $font-size-24;
  412. color: #333333;
  413. padding: 0 10rpx;
  414. padding-right: 68rpx;
  415. }
  416. .iconfont{
  417. width: 50rpx;
  418. height: 68rpx;
  419. display: block;
  420. line-height: 68rpx;
  421. text-align: center;
  422. font-size: 30rpx;
  423. color: #999999;
  424. position: absolute;
  425. right: 0;
  426. top: 0;
  427. }
  428. .d-btn{
  429. width: 210rpx;
  430. height: 84rpx;
  431. border-radius: 42rpx;
  432. background: $btn-confirm;
  433. line-height: 84rpx;
  434. text-align: center;
  435. font-size: $font-size-26;
  436. color: #FFFFFF;
  437. float: right;
  438. &.comfrim{
  439. background: $btn-confirm;
  440. margin-left: 20rpx;
  441. }
  442. &.clear{
  443. background: #e1e1e1;
  444. }
  445. }
  446. }
  447. }
  448. .tui-header-box {
  449. width: 100%;
  450. height: 84rpx;
  451. box-sizing: border-box;
  452. padding:10rpx 24rpx;
  453. display: flex;
  454. align-items: center;
  455. position: fixed;
  456. top: 0;
  457. left: 0;
  458. z-index: 999;
  459. background-color: #FFFFFF;
  460. .tui-header-search{
  461. width: 100%;
  462. height: 100%;
  463. background: #F7F7F7;
  464. border-radius: 32rpx;
  465. position: relative;
  466. .inner{
  467. width: 210rpx;
  468. margin: 0 auto;
  469. .icon-sousuo{
  470. width: 64rpx;
  471. height: 64rpx;
  472. line-height: 64rpx;
  473. text-align: center;
  474. display: block;
  475. font-size: $font-size-38;
  476. float: left;
  477. color: #999999;
  478. }
  479. .input{
  480. height: 64rpx;
  481. float: left;
  482. line-height: 64rpx;
  483. color: #999999;
  484. font-size: $font-size-24;
  485. }
  486. }
  487. }
  488. }
  489. .tui-header {
  490. width: 100%;
  491. font-size: 16px;
  492. font-weight: 500;
  493. height: 32px;
  494. display: flex;
  495. align-items: center;
  496. justify-content: center;
  497. position: relative;
  498. padding: 0 40rpx;
  499. }
  500. .user-section{
  501. width: 100%;
  502. padding-top: 94rpx;
  503. }
  504. .tui-order-content{
  505. width: 100%;
  506. height: auto;
  507. }
  508. .tui-order-list {
  509. width: 100%;
  510. position: relative;
  511. }
  512. .tui-order-item {
  513. display: flex;
  514. flex-direction: column;
  515. width: 100%;
  516. padding:20rpx 24rpx 0 24rpx;
  517. background: #fff;
  518. border-bottom: 20rpx solid #F7F7F7;
  519. box-sizing: border-box;
  520. }
  521. .order-title{
  522. width: 100%;
  523. height: auto;
  524. .order-title-n{
  525. width: 100%;
  526. height: 70rpx;
  527. float: left;
  528. font-size: $font-size-28;
  529. line-height: 70rpx;
  530. border-bottom: 1px solid #e1e1e1;
  531. .order-title-name{
  532. float: left;
  533. text-align: left;
  534. color: $text-color;
  535. }
  536. .order-title-phone{
  537. float: right;
  538. text-align: right;
  539. font-size: $font-size-28;
  540. color: $text-color;
  541. }
  542. }
  543. .order-title-t{
  544. width: 100%;
  545. height: 50rpx;
  546. float: left;
  547. font-size: $font-size-28;
  548. line-height: 50rpx;
  549. &.first{
  550. padding-top: 20rpx;
  551. }
  552. .order-title-num{
  553. float: left;
  554. text-align: left;
  555. color: #666666;
  556. }
  557. .order-title-tip{
  558. float: right;
  559. text-align: right;
  560. font-size: $font-size-28;
  561. color: #666666;
  562. .status{
  563. color: $color-system;
  564. }
  565. }
  566. }
  567. .order-title-b{
  568. width: 100%;
  569. height: 40rpx;
  570. float: left;
  571. margin-top: 8rpx;
  572. font-size: $font-size-28;
  573. line-height: 40rpx;
  574. color: #999999;
  575. text-align: left;
  576. }
  577. }
  578. .order-product{
  579. width: 100%;
  580. height: auto;
  581. float: left;
  582. margin-top: 15rpx;
  583. .goods-pros-t{
  584. width: 100%;
  585. height: auto;
  586. padding: 15rpx 0;
  587. border-bottom: 1px solid #e1e1e1;
  588. .pros-product{
  589. width: 100%;
  590. height: 184rpx;
  591. float: left;
  592. .pros-product-img{
  593. width: 182rpx;
  594. height: 182rpx;
  595. border:1px solid #e1e1e1;
  596. border-radius: 6rpx;
  597. float: left;
  598. margin-right: 17rpx;
  599. image{
  600. width: 182rpx;
  601. height: 182rpx;
  602. display: block;
  603. border-radius: 6rpx;
  604. }
  605. }
  606. .pros-product-msg{
  607. width: 500rpx;
  608. height: 184rpx;
  609. float: left;
  610. .name{
  611. width: 100%;
  612. height: auto;
  613. float: left;
  614. font-size: $font-size-28;
  615. line-height: 38rpx;
  616. color: $text-color;
  617. text-align: left;
  618. white-space: normal;
  619. word-break: break-all;
  620. overflow: hidden;
  621. text-overflow: ellipsis;
  622. display: -webkit-box;
  623. -webkit-box-orient: vertical;
  624. -webkit-line-clamp: 2;
  625. }
  626. .unit{
  627. width: 100%;
  628. float: left;
  629. height: 38rpx;
  630. font-size: $font-size-22;
  631. color: #999999;
  632. line-height: 38rpx;
  633. }
  634. .price{
  635. width: 100%;
  636. float: left;
  637. height: 38rpx;
  638. font-size: $font-size-28;
  639. color: #666666;
  640. line-height: 38rpx;
  641. .red{
  642. color: #f94b4b;
  643. float: left;
  644. font-weight: bold;
  645. }
  646. .count{
  647. float: right;
  648. .small{
  649. font-size: $font-size-20;
  650. }
  651. }
  652. }
  653. .number{
  654. width: 100%;
  655. float: left;
  656. height: 38rpx;
  657. font-size: $font-size-24;
  658. color: #999999;
  659. line-height: 38rpx;
  660. text{
  661. margin-right: 30rpx;
  662. }
  663. }
  664. }
  665. }
  666. .pros-product-uss{
  667. width: 100%;
  668. float: left;
  669. height: 44rpx;
  670. font-size: $font-size-28;
  671. color: #999999;
  672. line-height: 44rpx;
  673. text-align: right;
  674. font-weight: bold;
  675. text{
  676. color: #f94b4b;
  677. margin-left: 10rpx;
  678. }
  679. }
  680. }
  681. }
  682. .order-footer{
  683. width: 100%;
  684. height: 78rpx;
  685. float: left;
  686. border-bottom: 1px solid #EFEFEF;
  687. .order-footer-top{
  688. width: 100%;
  689. height: 34rpx;
  690. line-height: 34rpx;
  691. font-size: $font-size-24;
  692. color: #999999;
  693. text-align: right;
  694. }
  695. .order-footer-bot{
  696. width: 100%;
  697. float: left;
  698. height: 48rpx;
  699. line-height: 48rpx;
  700. font-size: $font-size-28;
  701. color: #999999;
  702. .name{
  703. width: 50%;
  704. float: left;
  705. text-align: left;
  706. }
  707. .money{
  708. width: 50%;
  709. float: right;
  710. text-align: right;
  711. .txt{
  712. color: #FF5000;
  713. }
  714. }
  715. }
  716. }
  717. </style>