index.vue 24 KB

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