index.vue 23 KB

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