index.vue 24 KB

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