index.vue 24 KB

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