index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953
  1. <template>
  2. <view class="container mine clearfix">
  3. <view
  4. class="tui-header-box first"
  5. :style="{ height: isCmcustomClass == 'fiexd' ? CustomBar + 6 + 'px' : CustomBar + 6 + 'px' }"
  6. :class="isCmcustomClass"
  7. >
  8. <view class="header-top" :style="{ paddingTop: top + 'px', lineHeight: CustomBar + 20 + 'px' }"></view>
  9. <view class="header-sit">
  10. <text class="iconfont icon-shouye1" v-if="isShareType" @click.stop="this.$api.navigateLinkJump()"></text>
  11. <text class="iconfont icon-fanhui" v-else @click.stop="this.$api.navigateBack(1)"></text>
  12. <text class="header-sit-text">关联订单</text>
  13. </view>
  14. </view>
  15. <tui-skeleton
  16. v-if="skeletonShow"
  17. backgroundColor="#fafafa"
  18. borderRadius="10rpx"
  19. :isLoading="true"
  20. :loadingType="7"
  21. />
  22. <view class="container-content" v-else>
  23. <view class="tui-header-tabs day clearfix" :style="{ top: CustomBar + 6 + 'px' }">
  24. <view v-if="!isShowHeader">
  25. <view class="tui-header-top">
  26. <view class="title"> 收款信息 </view>
  27. <view class="tui-header-button">
  28. <!-- <view class="button btn-confirm" @click="toNoSms('/pages/collection/list')">
  29. <text class="iconfont icon-wodedingdan"></text> 收款列表
  30. </view> -->
  31. </view>
  32. </view>
  33. <view class="tui-header-item">
  34. <view class="list-title-t">
  35. <view class="list-title-tip">
  36. <text class="badges">{{ receiptInfo.receiptType | formatReceiptType }}</text>
  37. </view>
  38. <view class="list-title-num" :style="{ color: formatColor(receiptInfo.receiptStatus) }">{{
  39. receiptInfo.receiptStatus | formatStateType
  40. }}</view>
  41. </view>
  42. <view class="list-title-b">
  43. <view class="list-title-b-item ">
  44. 收款金额:<text class="text">¥{{ receiptInfo.receiptAmount | NumFormat }}</text>
  45. </view>
  46. <view class="list-title-b-item ">
  47. 收款类型:<text class="text">{{ receiptInfo.payTypeText }}</text>
  48. </view>
  49. </view>
  50. <view class="list-title-b">
  51. 收款时间:<text class="text">{{ receiptInfo.receiptDate }}</text>
  52. </view>
  53. <template v-if="receiptInfo.smsContent">
  54. <view class="list-title-b">收款短信:</view>
  55. <view class="list-title-b sms">
  56. <text class="text">{{ receiptInfo.smsContent ? receiptInfo.smsContent : '无' }}</text>
  57. </view>
  58. </template>
  59. <view class="list-icon" v-if="receiptInfo.tipMsg">
  60. <image
  61. class="list-icon-image"
  62. src="https://static.caimei365.com/app/crm/image/icon-noconfirm@2x.png"
  63. mode=""
  64. v-if="receiptInfo.receiptStatus == 1"
  65. ></image>
  66. <image
  67. class="list-icon-image"
  68. src="https://static.caimei365.com/app/crm/image/icon-noaudit@2x.png"
  69. mode=""
  70. v-if="receiptInfo.receiptStatus == 2"
  71. ></image>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="tui-header-tabmain">
  76. <input
  77. class="input"
  78. type="text"
  79. v-model="listQuery.keyword"
  80. confirm-type="search"
  81. @confirm="subMitSearch"
  82. placeholder="搜索关键词(供应商名称/订单ID)"
  83. />
  84. <text class="iconfont icon-sousuo"></text>
  85. </view>
  86. </view>
  87. <view
  88. class="user-section"
  89. :style="{
  90. top: isIphoneX ? CustomBar + 260 + 'px' : CustomBar + 250 + 'px',
  91. left: 0 + 'px',
  92. paddingBottom: isIphoneX ? '178rpx' : '144rpx'
  93. }"
  94. >
  95. <view class="header-content">
  96. <view :class="{ 'tui-order-list': scrollTop >= 0 }" class="clearfix">
  97. <!-- 空白页 -->
  98. <empty v-if="isEmpty" :typeIndex="currents" :navbarHeight="navbarHeight"></empty>
  99. <!-- 列表 -->
  100. <view v-else class="tui-order-content">
  101. <view
  102. class="tui-order-item"
  103. v-for="(order, index) in shopOrderList"
  104. :key="index"
  105. >
  106. <view class="list-title" @click.stop="orderDetail(order.mainOrder.orderId)">
  107. <view class="list-title-t">
  108. <view class="list-title-tip">
  109. <text
  110. class="badges"
  111. :class="{
  112. success: order.mainOrder.orderType === 1,
  113. warning: order.mainOrder.orderType === 0
  114. }"
  115. >{{ order.mainOrder.orderType | formatOrderType }}</text
  116. >
  117. </view>
  118. <view class="list-title-tag">
  119. <text class="badges">{{ order.mainOrder.organizeId | organizeName }}</text>
  120. </view>
  121. <view class="list-title-num">{{ order.mainOrder.status | stateExpFormat }}</view>
  122. </view>
  123. <view class="list-title-a">
  124. <view class="list-title-a-text">
  125. 子订单编号:<text class="text">{{ order.shopOrderNo }} ( {{ order.shopOrderId }} )</text>
  126. </view>
  127. <view class="list-title-a-text">
  128. 供应商名称:<text class="text">{{ order.shopName }}</text>
  129. </view>
  130. <view class="list-title-a-text">
  131. 订单金额:<text class="text">¥{{ order.needPayAmount | NumFormat }}</text>
  132. </view>
  133. </view>
  134. <view class="list-title-b">
  135. 客户名称:<text class="text">{{ order.mainOrder.userName ? order.mainOrder.userName : '无' }}</text>
  136. </view>
  137. <view class="list-title-b">
  138. 订单编号:<text class="text">{{ order.mainOrder.orderNo }} ( {{ order.mainOrder.orderId }} )</text>
  139. </view>
  140. <view class="list-title-b">
  141. 下单日期:<text class="text">{{ order.mainOrder.orderTime }}</text>
  142. </view>
  143. <view class="list-title-b">
  144. <view class="list-title-b-item ">
  145. 订单金额:<text class="text">¥{{ order.mainOrder.payTotalFee | NumFormat }}</text>
  146. </view>
  147. <view class="list-title-b-item ">
  148. 已退金额:<text class="text">¥{{ order.shopRefundAmount | NumFormat }}</text>
  149. </view>
  150. </view>
  151. </view>
  152. <view class="list-checked" @click="checkedOrder(order,index)">
  153. <text
  154. class="iconfont"
  155. :class="order.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"
  156. ></text>
  157. </view>
  158. <view class="list-detail" @click.stop="orderDetail(order.mainOrder.orderId)">
  159. <text class="iconfont icon-xiayibu"></text>
  160. </view>
  161. </view>
  162. <!--加载loadding-->
  163. <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
  164. <tui-nomore :visible="!pullUpOn" bgcolor="#F7F7F7" :text="nomoreText"></tui-nomore>
  165. <!--加载loadding-->
  166. </view>
  167. </view>
  168. </view>
  169. </view>
  170. <view class="distinguish-button" :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }">
  171. <view class="button" @click="confirmDistinguish">确认</view>
  172. </view>
  173. </view>
  174. <!-- 确认关联弹窗 -->
  175. <tui-modal :show="modal" @click="handleClick" @cancel="hideMobel(0)" :content="contentModalText" color="#333"
  176. :size="32" shape="circle" :maskClosable="false"></tui-modal>
  177. <!-- 提示弹窗 -->
  178. <tui-modal :show="modal1" :padding="'40rpx 30rpx'" @cancel="hideMobel(1)" :custom="true" fadeIn >
  179. <view class="tui-modal-custom">
  180. <view class="tui-prompt-text">
  181. {{ contentModalText }}
  182. </view>
  183. <view class="tui-prompt-flex">
  184. <view class="btn btn-confirm" @click="hideMobel(1)">知道了</view>
  185. </view>
  186. </view>
  187. </tui-modal>
  188. </view>
  189. </template>
  190. <script>
  191. import headerBack from '@/components/cm-module/headerNavbar/header-back' //自定义导航
  192. import modalLayer from '@/components/modal-layer'
  193. import empty from '@/components/empty'
  194. import { mapState, mapMutations } from 'vuex'
  195. const defaultListQuery = {
  196. pageNum: 1, //页数
  197. pageSize: 10, //条数
  198. confirmedType: 0,
  199. id: 0,
  200. keyword: '',
  201. }
  202. export default {
  203. components: {
  204. empty
  205. },
  206. data() {
  207. return {
  208. CustomBar: this.CustomBar, // 顶部导航栏高度
  209. isIphoneX: this.$store.state.isIphoneX,
  210. receiptInfo: {},
  211. listQuery: Object.assign({}, defaultListQuery),
  212. shopOrderList: [],
  213. scrollTop: 0,
  214. isEmpty: false,
  215. loadding: false,
  216. pullUpOn: true,
  217. hasNextPage: false,
  218. pullFlag: true,
  219. navbarHeight: '',
  220. nomoreText: '上拉显示更多',
  221. contentModalText: '', //操作文字提示语句
  222. modal: false,
  223. modal1: false,
  224. OperationType: '', //操作类型
  225. isCmcustomClass: 'left',
  226. isShowHeader: false,
  227. height: 64, //header高度
  228. top: 0, //标题图标距离顶部距离
  229. scrollH: 0, //滚动总高度
  230. opcity: 1,
  231. checkedOrderList: [],
  232. checkedIds:[],
  233. checkedRefundIndex: 0,
  234. confirmRefundParams:{
  235. shopOrderId:0,
  236. id:0,
  237. },
  238. skeletonShow: true,
  239. isShareType: false
  240. }
  241. },
  242. onLoad(option) {
  243. let obj = {}
  244. uni.getSystemInfo({
  245. success: res => {
  246. this.width = obj.left || res.windowWidth
  247. this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44
  248. this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6
  249. this.scrollH = res.windowWidth * 0.6
  250. }
  251. })
  252. if(option.type == 'share'){ this.isShareType = true }
  253. this.confirmRefundParams.id = option.id
  254. this.getOrderReceiptDetail(this.confirmRefundParams.id)
  255. },
  256. computed: {
  257. ...mapState(['hasLogin']),
  258. },
  259. methods: {
  260. getOrderReceiptDetail(id) {
  261. // 收款详情
  262. this.OrderService.orderReceiptRefundDetail({ id: id })
  263. .then(response => {
  264. this.receiptInfo = response.data
  265. this.getOrderReceiptRefundOrders()
  266. })
  267. .catch(err => {
  268. this.$api.navigateTo('/pages/login/login-error')
  269. })
  270. },
  271. getOrderReceiptRefundOrders() {
  272. // 收款详情-订单列表
  273. this.initListQuery()
  274. this.OrderService.orderReceiptRefundOrders(this.listQuery)
  275. .then(response => {
  276. let data = response.data
  277. this.hasNextPage = response.data.hasNextPage
  278. if (data.list && data.list.length > 0) {
  279. this.isEmpty = false
  280. this.shopOrderList = data.list.map((el, index) => {
  281. el.isChecked = false
  282. return el
  283. })
  284. this.pullFlag = false
  285. setTimeout(() => {
  286. this.pullFlag = true
  287. }, 500)
  288. if (this.hasNextPage) {
  289. this.pullUpOn = false
  290. this.nomoreText = '上拉显示更多'
  291. } else {
  292. if (this.shopOrderList.length < 3) {
  293. this.pullUpOn = true
  294. this.loadding = false
  295. } else {
  296. this.pullUpOn = false
  297. this.loadding = false
  298. this.nomoreText = '已至底部'
  299. }
  300. }
  301. } else {
  302. this.isEmpty = true
  303. }
  304. this.skeletonShow = false
  305. })
  306. .catch(error => {
  307. this.$util.msg(error.msg, 2000)
  308. })
  309. },
  310. getOnReachBottomData(index) {
  311. //上拉加载
  312. this.listQuery.pageNum += 1
  313. this.OrderService.orderReceiptRefundOrders(this.listQuery)
  314. .then(response => {
  315. let data = response.data
  316. if (data.list && data.list.length > 0) {
  317. this.hasNextPage = data.hasNextPage
  318. let list = data.list.map((el, index) => {
  319. el.isChecked = false
  320. return el
  321. })
  322. this.shopOrderList = this.shopOrderList.concat(list)
  323. this.pullFlag = false // 防上拉暴滑
  324. setTimeout(() => {
  325. this.pullFlag = true
  326. }, 500)
  327. if (this.hasNextPage) {
  328. this.pullUpOn = false
  329. this.nomoreText = '上拉显示更多'
  330. } else {
  331. this.pullUpOn = false
  332. this.loadding = false
  333. this.nomoreText = '已至底部'
  334. }
  335. }
  336. })
  337. .catch(error => {
  338. this.$util.msg(error.msg, 2000)
  339. })
  340. },
  341. subMitSearch() {
  342. // 确认搜索
  343. this.getOrderReceiptRefundOrders()
  344. },
  345. checkedOrder(order,index) {
  346. // 勾选关联订单
  347. this.checkedIndex = index
  348. this.shopOrderList.forEach((el, index) => {
  349. if (this.checkedIndex == index) {
  350. el.isChecked = true
  351. this.confirmRefundParams.shopOrderId = el.shopOrderId
  352. } else {
  353. el.isChecked = false
  354. }
  355. })
  356. console.log('shopOrderId',this.confirmRefundParams.shopOrderId)
  357. },
  358. confirmDistinguish() {
  359. // 点击确认
  360. if (this.confirmRefundParams.shopOrderId == 0) {
  361. this.$util.msg('请选择订单!', 2000)
  362. return
  363. }
  364. this.contentModalText ='确认关联?'
  365. this.modal = true
  366. },
  367. handleClick(e){// 确认关联返佣订单
  368. // 通过审核
  369. if (e.index == 1) {
  370. this.orderReceiptConfirm(this.confirmRefundParams)
  371. }
  372. this.modal = false
  373. },
  374. orderReceiptConfirm(params){
  375. //确认关联退款子订单
  376. this.OrderService.orderReceiptConfirmRefund(params)
  377. .then(response => {
  378. this.$util.msg('关联成功~', 2000, true, 'success')
  379. setTimeout(()=>{
  380. this.$api.redirectTo(`/pages/relation/refund/detail?id=${this.confirmRefundParams.id}`)
  381. },2000)
  382. })
  383. .catch(error => {
  384. this.modal1 = true
  385. this.contentModalText = error.msg
  386. })
  387. },
  388. hideMobel(type) {
  389. switch (type) {
  390. case 0:
  391. this.modal = false
  392. break
  393. case 1:
  394. this.modal1 = false
  395. break
  396. }
  397. },
  398. formatColor(state) {
  399. //设置邀请码状态亚瑟
  400. let stateColor = '',
  401. stateColorObject = {
  402. 1: '#ff7900',
  403. 2: '#4cd964',
  404. 3: '#19be6b',
  405. 4: '#ed3f14',
  406. 5: '#F74D54'
  407. }
  408. Object.keys(stateColorObject).forEach(function(key) {
  409. if (key == state) {
  410. stateColor = stateColorObject[key]
  411. }
  412. })
  413. return stateColor
  414. },
  415. orderDetail(id) {
  416. //订单详情跳转
  417. this.$api.navigateTo(`/pages/relation/order/detail?orderId=${id}`)
  418. },
  419. toNoSms(url) {
  420. this.$api.navigateTo(url)
  421. },
  422. initListQuery(){// 初始化
  423. this.shopOrderList =[]
  424. this.loadding = true
  425. this.pullUpOn = true
  426. this.listQuery.pageNum = 1
  427. },
  428. formatReceiptType(value) {
  429. //订单状态文字和颜色
  430. var HtmlStateText = '',
  431. stateTextObject = {
  432. 1: '订单款',
  433. 2: '非订单款',
  434. 3: '返佣款',
  435. 4: '订单款或者非订单款',
  436. 5: '供应商退款'
  437. }
  438. Object.keys(stateTextObject).forEach(function(key) {
  439. if (key == value) {
  440. HtmlStateText = stateTextObject[key]
  441. }
  442. })
  443. return HtmlStateText
  444. },
  445. },
  446. onPageScroll(e) {
  447. //实时获取到滚动的值
  448. if (e.scrollTop > 30) {
  449. this.isCmcustomClass = 'fiexd'
  450. } else {
  451. this.isCmcustomClass = 'left'
  452. }
  453. if (e.scrollTop > 180) {
  454. this.isShowHeader = true
  455. } else {
  456. this.isShowHeader = false
  457. }
  458. },
  459. onReachBottom() {
  460. if (this.hasNextPage) {
  461. this.loadding = true
  462. this.pullUpOn = true
  463. this.getOnReachBottomData()
  464. }
  465. },
  466. onPullDownRefresh() {
  467. setTimeout(() => {
  468. this.getOrderReceiptRefundOrders()
  469. uni.stopPullDownRefresh()
  470. }, 200)
  471. },
  472. onShareAppMessage(res) {
  473. //分享购买优惠券
  474. const receipt = this.receiptInfo
  475. const receiptTypeText = this.formatReceiptType(receipt.receiptType)
  476. if (res.from === 'button') {
  477. // console.log('来自页面内转发按钮')
  478. }
  479. return {
  480. title: `¥${receipt.receiptAmount.toFixed(2)} | ${receipt.receiptDate} | ${receipt.receiptStatusText}(${receiptTypeText})`,
  481. path: `/pages/login/login-share?id=${receipt.id}`,
  482. imageUrl: 'https://static.caimei365.com/app/crm/image/icon-share@2x.jpg'
  483. }
  484. },
  485. onShow() {
  486. }
  487. }
  488. </script>
  489. <style lang="scss">
  490. @import '@/uni.scss';
  491. page {
  492. background: #f7f7f7;
  493. }
  494. .tui-header-box {
  495. width: 100%;
  496. background: #ffffff;
  497. z-index: 999;
  498. position: fixed;
  499. top: 0;
  500. left: 0;
  501. background-size: cover;
  502. background-image: url(https://static.caimei365.com/app/crm/image/statistic_bg2.png);
  503. &.fiexd {
  504. }
  505. &.first {
  506. }
  507. }
  508. .header-top {
  509. width: 100%;
  510. font-size: 16px;
  511. font-weight: 500;
  512. height: 32px;
  513. display: flex;
  514. align-items: center;
  515. justify-content: center;
  516. position: relative;
  517. padding: 0 40rpx;
  518. }
  519. .header-sit {
  520. width: 100%;
  521. box-sizing: border-box;
  522. height: 80rpx;
  523. line-height: 80rpx;
  524. box-sizing: border-box;
  525. color: #ffffff;
  526. .header-sit-text {
  527. text-align: left;
  528. font-size: $font-size-40;
  529. font-weight: 600;
  530. font-family: '正楷';
  531. }
  532. .iconfont {
  533. display: block;
  534. width: 80rpx;
  535. height: 80rpx;
  536. float: left;
  537. text-align: center;
  538. line-height: 80rpx;
  539. font-size: 42rpx;
  540. }
  541. }
  542. .tui-header-tabs {
  543. width: 100%;
  544. height: auto;
  545. margin-bottom: 40rpx;
  546. padding: 20rpx 24rpx;
  547. background: #ffffff;
  548. box-sizing: border-box;
  549. position: fixed;
  550. z-index: 999;
  551. box-shadow: 0 10rpx 10rpx 0 rgba(86, 119, 252, 0.2);
  552. .tui-header-top {
  553. width: 100%;
  554. height: 66rpx;
  555. box-sizing: border-box;
  556. float: left;
  557. .title {
  558. float: left;
  559. line-height: 66rpx;
  560. color: #333333;
  561. text-align: left;
  562. font-size: $font-size-30;
  563. font-weight: 600;
  564. }
  565. .tui-header-button {
  566. float: right;
  567. box-sizing: border-box;
  568. height: 100%;
  569. line-height: 66rpx;
  570. padding: 5rpx 0;
  571. .button {
  572. float: left;
  573. box-sizing: border-box;
  574. padding: 0 24rpx;
  575. height: 100%;
  576. line-height: 56rpx;
  577. border-radius: 8rpx;
  578. text-align: center;
  579. color: #ffffff;
  580. margin-left: 10rpx;
  581. &.btn-confirm {
  582. background: $btn-confirm;
  583. }
  584. }
  585. }
  586. }
  587. .tui-header-item {
  588. width: 100%;
  589. height: auto;
  590. margin: 10rpx 0;
  591. position: relative;
  592. float: left;
  593. .list-title-t {
  594. width: 100%;
  595. height: 50rpx;
  596. float: left;
  597. font-size: $font-size-28;
  598. padding-bottom: 10rpx;
  599. margin-bottom: 10rpx;
  600. .list-title-num {
  601. float: left;
  602. text-align: left;
  603. color: #999999;
  604. margin-left: 20rpx;
  605. line-height: 40rpx;
  606. font-size: $font-size-24;
  607. }
  608. .list-title-tip {
  609. float: left;
  610. .badges {
  611. display: block;
  612. float: left;
  613. padding: 0 15rpx;
  614. height: 36rpx;
  615. line-height: 36rpx;
  616. border-radius: 18rpx;
  617. background: #ecf5ff;
  618. font-size: $font-size-22;
  619. text-align: center;
  620. color: #409eff;
  621. }
  622. }
  623. }
  624. .list-title-b {
  625. width: 100%;
  626. height: 40rpx;
  627. float: left;
  628. font-size: $font-size-24;
  629. line-height: 40rpx;
  630. color: #666666;
  631. text-align: left;
  632. .text{
  633. color: #999999;
  634. }
  635. .list-title-b-item {
  636. width: 50%;
  637. height: 100%;
  638. float: left;
  639. }
  640. &.sms {
  641. height: 100rpx;
  642. padding: 10rpx;
  643. border-radius: 4rpx;
  644. .text {
  645. height: 100%;
  646. text-overflow: ellipsis;
  647. overflow: hidden;
  648. display: -webkit-box;
  649. -webkit-line-clamp: 2;
  650. line-clamp: 2;
  651. -webkit-box-orient: vertical;
  652. }
  653. }
  654. }
  655. .list-icon {
  656. width: 120rpx;
  657. height: 120rpx;
  658. border-radius: 10rpx;
  659. position: absolute;
  660. right: 0;
  661. top: 0;
  662. color: #dd524d;
  663. z-index: 99;
  664. .list-icon-image{
  665. width: 120rpx;
  666. height: 120rpx;
  667. display: block;
  668. }
  669. }
  670. }
  671. .tui-header-tabmain {
  672. width: 100%;
  673. height: 70rpx;
  674. float: left;
  675. position: relative;
  676. .input {
  677. width: 100%;
  678. height: 70rpx;
  679. box-sizing: border-box;
  680. padding: 0 20rpx;
  681. padding-left: 70rpx;
  682. background: #f7f7f7;
  683. border-radius: 8rpx;
  684. font-size: $font-size-26;
  685. }
  686. .icon-sousuo {
  687. width: 80rpx;
  688. height: 70rpx;
  689. display: block;
  690. line-height: 70rpx;
  691. text-align: center;
  692. color: #999999;
  693. font-size: $font-size-38;
  694. position: absolute;
  695. left: 0;
  696. top: 0;
  697. }
  698. }
  699. .button-content {
  700. width: 100%;
  701. height: auto;
  702. float: left;
  703. position: relative;
  704. .btn {
  705. height: 64rpx;
  706. padding: 0 20rpx;
  707. margin: 10rpx 0 0 0;
  708. line-height: 64rpx;
  709. font-size: $font-size-26;
  710. text-align: center;
  711. border-radius: 6rpx;
  712. float: right;
  713. }
  714. .btn-confirm {
  715. background-color: #ff5000;
  716. color: #ffffff;
  717. }
  718. }
  719. }
  720. .distinguish-button {
  721. width: 100%;
  722. position: fixed;
  723. bottom: 0;
  724. left: 0;
  725. background-color: #ffffff;
  726. padding: 0 50rpx;
  727. padding-top: 20rpx;
  728. .button {
  729. width: 100%;
  730. height: 80rpx;
  731. background: $btn-confirm;
  732. border-radius: 40rpx;
  733. text-align: center;
  734. color: #ffffff;
  735. line-height: 80rpx;
  736. font-size: $font-size-28;
  737. box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
  738. }
  739. }
  740. .user-section {
  741. position: absolute;
  742. width: 100%;
  743. }
  744. .header-content {
  745. width: 100%;
  746. height: auto;
  747. position: relative;
  748. background-color: #f7f7f7;
  749. .tui-header-btm {
  750. width: 100%;
  751. padding: 0 30rpx;
  752. box-sizing: border-box;
  753. display: flex;
  754. align-items: center;
  755. justify-content: space-between;
  756. color: #fff;
  757. }
  758. }
  759. .tui-order-list {
  760. margin-top: 24rpx;
  761. width: 100%;
  762. position: relative;
  763. box-sizing: border-box;
  764. padding: 0 20rpx;
  765. }
  766. .tui-order-content {
  767. width: 100%;
  768. height: auto;
  769. }
  770. .tui-order-item {
  771. display: flex;
  772. flex-direction: column;
  773. width: 100%;
  774. padding: 20rpx 20rpx;
  775. background: #fff;
  776. margin-bottom: 24rpx;
  777. border-radius: 8rpx;
  778. position: relative;
  779. .list-checked {
  780. width: 80rpx;
  781. height: 80rpx;
  782. line-height: 80rpx;
  783. text-align: center;
  784. position: absolute;
  785. right: 0;
  786. top: 0;
  787. .iconfont {
  788. font-size: 38rpx;
  789. color: $color-system;
  790. }
  791. }
  792. .list-detail {
  793. width: 70rpx;
  794. height: 80rpx;
  795. line-height: 80rpx;
  796. text-align: center;
  797. position: absolute;
  798. right: 0;
  799. bottom: 0;
  800. .iconfont {
  801. font-size: $font-size-32;
  802. color: #999999;
  803. }
  804. }
  805. }
  806. .list-title {
  807. width: 100%;
  808. height: auto;
  809. .list-title-t {
  810. width: 100%;
  811. height: 50rpx;
  812. float: left;
  813. font-size: $font-size-24;
  814. padding-bottom: 10rpx;
  815. .list-title-tip {
  816. float: left;
  817. .badges {
  818. display: block;
  819. float: left;
  820. padding: 0 15rpx;
  821. height: 36rpx;
  822. line-height: 36rpx;
  823. border-radius: 20rpx;
  824. font-size: $font-size-22;
  825. background-color: #f0f9eb;
  826. color: #67c23a;
  827. text-align: center;
  828. &.success {
  829. background-color: #ecf5ff;
  830. color: #409eff;
  831. }
  832. &.warning {
  833. background-color: #fdf6ec;
  834. color: #e6a23c;
  835. }
  836. }
  837. }
  838. .list-title-tag {
  839. float: left;
  840. margin-left: 20rpx;
  841. .badges {
  842. display: block;
  843. float: left;
  844. padding: 0 15rpx;
  845. height: 36rpx;
  846. line-height: 36rpx;
  847. border-radius: 20rpx;
  848. font-size: $font-size-22;
  849. text-align: center;
  850. background-color: #ecf5ff;
  851. color: #409eff;
  852. }
  853. }
  854. .list-title-num {
  855. float: left;
  856. text-align: left;
  857. color: #42b983;
  858. line-height: 40rpx;
  859. margin-left: 20rpx;
  860. font-size: $font-size-24;
  861. }
  862. }
  863. .list-title-a {
  864. width: 100%;
  865. height: auto;
  866. float: left;
  867. padding: 5rpx 8rpx;
  868. border-radius: 4rpx;
  869. background-color: rgba(247, 247, 247, 1);
  870. margin-bottom: 10rpx;
  871. .text{
  872. color: #999999;
  873. }
  874. .list-title-a-text {
  875. width: 100%;
  876. height: 44rpx;
  877. float: left;
  878. font-size: $font-size-24;
  879. line-height: 44rpx;
  880. color: #666666;
  881. text-align: left;
  882. }
  883. }
  884. .list-title-b {
  885. width: 100%;
  886. height: 40rpx;
  887. float: left;
  888. font-size: $font-size-24;
  889. line-height: 40rpx;
  890. color: #666666;
  891. text-align: left;
  892. .text{
  893. color: #999999;
  894. }
  895. .list-title-b-item {
  896. width: 50%;
  897. height: 100%;
  898. float: left;
  899. }
  900. &.sms {
  901. height: auto;
  902. }
  903. }
  904. }
  905. .tui-prompt-flex{
  906. width: 100%;
  907. height: 70rpx;
  908. display: flex;
  909. margin-top: 20rpx;
  910. .btn{
  911. flex: 1;
  912. line-height: 70rpx;
  913. font-size: $font-size-26;
  914. text-align: center;
  915. color: #FFFFFF;
  916. border-radius: 33rpx;
  917. margin: 0 24rpx;
  918. &.btn-cancel{
  919. background: #F7F7F7;
  920. color: #999999;
  921. }
  922. &.btn-confirm{
  923. background: $color-system;
  924. }
  925. }
  926. }
  927. .tui-prompt-text{
  928. line-height: 44rpx;
  929. font-size: $font-size-26;
  930. color: #333333;
  931. .text{
  932. color: $color-system;
  933. }
  934. }
  935. </style>