index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991
  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.$util.msg(err.msg, 2000)
  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(err => {
  309. this.$util.msg(err.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.navigateTo(`/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: '#FEAC20',
  416. 2: '#4cd964',
  417. 3: '#34CC8C',
  418. 4: '#F94B4B',
  419. 5: '#007aff'
  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/img/icon/icon-shareCoupon@2x.png'
  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. }
  666. }
  667. .list-icon {
  668. width: 120rpx;
  669. height: 120rpx;
  670. border-radius: 10rpx;
  671. position: absolute;
  672. right: 0;
  673. top: 0;
  674. color: #dd524d;
  675. z-index: 99;
  676. .list-icon-image {
  677. width: 120rpx;
  678. height: 120rpx;
  679. display: block;
  680. }
  681. }
  682. }
  683. .tui-header-tabmain {
  684. width: 100%;
  685. height: 70rpx;
  686. float: left;
  687. position: relative;
  688. .input {
  689. width: 100%;
  690. height: 70rpx;
  691. box-sizing: border-box;
  692. padding: 0 20rpx;
  693. padding-left: 70rpx;
  694. background: #f7f7f7;
  695. border-radius: 8rpx;
  696. font-size: $font-size-26;
  697. }
  698. .icon-sousuo {
  699. width: 80rpx;
  700. height: 70rpx;
  701. display: block;
  702. line-height: 70rpx;
  703. text-align: center;
  704. color: #999999;
  705. font-size: $font-size-38;
  706. position: absolute;
  707. left: 0;
  708. top: 0;
  709. }
  710. }
  711. .button-content {
  712. width: 100%;
  713. height: auto;
  714. float: left;
  715. position: relative;
  716. .btn {
  717. height: 64rpx;
  718. padding: 0 20rpx;
  719. margin: 10rpx 0 0 0;
  720. line-height: 64rpx;
  721. font-size: $font-size-26;
  722. text-align: center;
  723. border-radius: 6rpx;
  724. float: right;
  725. }
  726. .btn-confirm {
  727. background-color: #ff5000;
  728. color: #ffffff;
  729. }
  730. }
  731. }
  732. .distinguish-button {
  733. width: 100%;
  734. position: fixed;
  735. bottom: 0;
  736. left: 0;
  737. background-color: #ffffff;
  738. padding: 0 50rpx;
  739. padding-top: 20rpx;
  740. .button {
  741. width: 100%;
  742. height: 80rpx;
  743. background: $btn-confirm;
  744. border-radius: 40rpx;
  745. text-align: center;
  746. color: #ffffff;
  747. line-height: 80rpx;
  748. font-size: $font-size-28;
  749. box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
  750. }
  751. }
  752. .user-section {
  753. position: absolute;
  754. width: 100%;
  755. }
  756. .header-content {
  757. width: 100%;
  758. height: auto;
  759. position: relative;
  760. background-color: #f7f7f7;
  761. .tui-header-btm {
  762. width: 100%;
  763. padding: 0 30rpx;
  764. box-sizing: border-box;
  765. display: flex;
  766. align-items: center;
  767. justify-content: space-between;
  768. color: #fff;
  769. }
  770. }
  771. .tui-order-list {
  772. margin-top: 24rpx;
  773. width: 100%;
  774. position: relative;
  775. box-sizing: border-box;
  776. padding: 0 20rpx;
  777. }
  778. .tui-order-content {
  779. width: 100%;
  780. height: auto;
  781. }
  782. .tui-order-item {
  783. display: flex;
  784. flex-direction: column;
  785. width: 100%;
  786. padding: 20rpx 20rpx;
  787. background: #fff;
  788. margin-bottom: 24rpx;
  789. border-radius: 8rpx;
  790. position: relative;
  791. .list-checked {
  792. width: 80rpx;
  793. height: 80rpx;
  794. line-height: 80rpx;
  795. text-align: center;
  796. position: absolute;
  797. right: 0;
  798. top: 0;
  799. .iconfont {
  800. font-size: 38rpx;
  801. color: $color-system;
  802. }
  803. }
  804. .list-detail {
  805. width: 70rpx;
  806. height: 80rpx;
  807. line-height: 80rpx;
  808. text-align: center;
  809. position: absolute;
  810. right: 0;
  811. bottom: 0;
  812. .iconfont {
  813. font-size: $font-size-32;
  814. color: #999999;
  815. }
  816. }
  817. }
  818. .list-title {
  819. width: 100%;
  820. height: auto;
  821. .list-title-t {
  822. width: 100%;
  823. height: 50rpx;
  824. float: left;
  825. font-size: $font-size-24;
  826. padding-bottom: 10rpx;
  827. .list-title-tip {
  828. float: left;
  829. .badges {
  830. display: block;
  831. float: left;
  832. padding: 0 15rpx;
  833. height: 40rpx;
  834. line-height: 40rpx;
  835. border-radius: 20rpx;
  836. background: rgba(248, 204, 148, 0.5);
  837. font-size: $font-size-24;
  838. text-align: center;
  839. color: #666666;
  840. }
  841. }
  842. .list-title-tag {
  843. float: left;
  844. margin-left: 20rpx;
  845. .badges {
  846. display: block;
  847. float: left;
  848. padding: 0 15rpx;
  849. height: 40rpx;
  850. line-height: 40rpx;
  851. border-radius: 20rpx;
  852. background: linear-gradient(270deg, #fee9ba 0%, #f0cb72 100%);
  853. font-size: $font-size-24;
  854. text-align: center;
  855. color: #666666;
  856. }
  857. }
  858. .list-title-num {
  859. float: left;
  860. text-align: left;
  861. color: #e15616;
  862. line-height: 40rpx;
  863. margin-left: 20rpx;
  864. }
  865. }
  866. .list-title-a {
  867. width: 100%;
  868. height: auto;
  869. float: left;
  870. padding: 5rpx 8rpx;
  871. border-radius: 4rpx;
  872. background-color: rgba(247, 247, 247, 1);
  873. margin-bottom: 10rpx;
  874. .text {
  875. color: #999999;
  876. }
  877. .list-title-a-text {
  878. width: 100%;
  879. height: 44rpx;
  880. float: left;
  881. font-size: $font-size-24;
  882. line-height: 44rpx;
  883. color: #666666;
  884. text-align: left;
  885. }
  886. }
  887. .list-title-b {
  888. width: 100%;
  889. height: 44rpx;
  890. float: left;
  891. font-size: $font-size-24;
  892. line-height: 44rpx;
  893. color: #666666;
  894. text-align: left;
  895. .text {
  896. color: #999999;
  897. }
  898. .list-title-b-item {
  899. width: 50%;
  900. height: 100%;
  901. float: left;
  902. }
  903. &.sms {
  904. height: auto;
  905. }
  906. }
  907. }
  908. .tui-prompt-title {
  909. line-height: 44rpx;
  910. text-align: center;
  911. }
  912. .tui-prompt-input {
  913. width: 100%;
  914. height: 80rpx;
  915. box-sizing: border-box;
  916. background: #f7f7f7;
  917. border-radius: 8rpx;
  918. padding: 15rpx 20rpx;
  919. padding-left: 50rpx;
  920. margin: 20rpx 0;
  921. position: relative;
  922. .text {
  923. display: block;
  924. width: 50rpx;
  925. height: 80rpx;
  926. line-height: 80rpx;
  927. color: #666666;
  928. text-align: center;
  929. position: absolute;
  930. top: 0;
  931. left: 0;
  932. }
  933. .input {
  934. width: 100%;
  935. height: 100%;
  936. line-height: 80rpx;
  937. font-size: $font-size-26;
  938. color: $color-system;
  939. &.none {
  940. display: none;
  941. }
  942. }
  943. }
  944. .tui-prompt-flex {
  945. width: 100%;
  946. height: 70rpx;
  947. display: flex;
  948. margin-top: 20rpx;
  949. .btn {
  950. flex: 1;
  951. line-height: 70rpx;
  952. font-size: $font-size-26;
  953. text-align: center;
  954. color: #ffffff;
  955. border-radius: 33rpx;
  956. margin: 0 24rpx;
  957. &.btn-cancel {
  958. background: #f7f7f7;
  959. color: #999999;
  960. }
  961. &.btn-confirm {
  962. background: $color-system;
  963. }
  964. }
  965. }
  966. .tui-prompt-text {
  967. line-height: 44rpx;
  968. font-size: $font-size-26;
  969. color: #333333;
  970. .text {
  971. color: $color-system;
  972. }
  973. }
  974. </style>