index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  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. <text class="badgesb" v-if="order.secondHandOrderFlag ==1">二手</text>
  109. </view>
  110. <view class="list-title-tag" v-if="order.mainOrder.organizeId == 3">
  111. <text class="badges">维沙</text>
  112. </view>
  113. <view class="list-title-num">{{
  114. order.mainOrder.status | stateExpFormat
  115. }}</view>
  116. </view>
  117. <view class="list-title-a">
  118. <view class="list-title-a-text">
  119. 子订单编号:<text class="text"
  120. >{{ order.shopOrderNo }} ( {{ order.shopOrderId }} )</text
  121. >
  122. </view>
  123. <view class="list-title-a-text">
  124. 供应商名称:<text class="text">{{ order.shopName }}</text>
  125. </view>
  126. <view class="list-title-a-text">
  127. 订单金额:<text class="text">¥{{ order.needPayAmount | NumFormat }}</text>
  128. </view>
  129. </view>
  130. <view class="list-title-b">
  131. 客户名称:<text class="text">{{
  132. order.mainOrder.userName ? order.mainOrder.userName : '无'
  133. }}</text>
  134. </view>
  135. <view class="list-title-b">
  136. 订单编号:<text class="text"
  137. >{{ order.mainOrder.orderNo }} ( {{ order.mainOrder.orderId }} )</text
  138. >
  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.mainOrder.payTotalFee | 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.mainOrder.orderId)">
  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. orderList: [],
  216. scrollTop: 0,
  217. isEmpty: false,
  218. loadding: false,
  219. pullUpOn: true,
  220. hasNextPage: false,
  221. pullFlag: true,
  222. navbarHeight: '',
  223. nomoreText: '上拉显示更多',
  224. contentModalText: '确认关联?', //操作文字提示语句
  225. modal: false,
  226. modal1: false,
  227. isCmcustomClass: 'left',
  228. isShowHeader: false,
  229. height: 64, //header高度
  230. top: 0, //标题图标距离顶部距离
  231. scrollH: 0, //滚动总高度
  232. opcity: 1,
  233. checkedOrderList: [],
  234. checkedIndex: '',
  235. returnBrokerage: 0,
  236. confirmParams: {
  237. id: 0,
  238. shopOrderId: 0,
  239. rebateRemarks: ''
  240. },
  241. skeletonShow: true,
  242. isShareType:false
  243. }
  244. },
  245. onLoad(option) {
  246. let obj = {}
  247. uni.getSystemInfo({
  248. success: res => {
  249. this.width = obj.left || res.windowWidth
  250. this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44
  251. this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6
  252. this.scrollH = res.windowWidth * 0.6
  253. }
  254. })
  255. if(option.type == 'share'){ this.isShareType = true }
  256. this.confirmParams.id = option.id
  257. this.getOrderReceiptDetail(this.confirmParams.id)
  258. },
  259. computed: {
  260. ...mapState(['hasLogin'])
  261. },
  262. methods: {
  263. getOrderReceiptDetail(id) {
  264. // 收款详情
  265. this.OrderService.orderReceiptRebateDetails({ id: id })
  266. .then(response => {
  267. this.receiptInfo = response.data
  268. this.getOrderReceiptRebateOrders()
  269. })
  270. .catch(err => {
  271. this.$api.navigateTo('/pages/login/login-error')
  272. })
  273. },
  274. getOrderReceiptRebateOrders() {
  275. // 收款详情-订单列表
  276. this.initListQuery()
  277. this.OrderService.orderReceiptRebateOrders(this.listQuery)
  278. .then(response => {
  279. let data = response.data
  280. this.hasNextPage = response.data.hasNextPage
  281. if (data.list && data.list.length > 0) {
  282. this.isEmpty = false
  283. this.orderList = data.list.map((el, index) => {
  284. el.isChecked = false
  285. return el
  286. })
  287. this.pullFlag = false
  288. setTimeout(() => {
  289. this.pullFlag = true
  290. }, 500)
  291. if (this.hasNextPage) {
  292. this.pullUpOn = false
  293. this.nomoreText = '上拉显示更多'
  294. } else {
  295. if (this.orderList.length < 3) {
  296. this.pullUpOn = true
  297. 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.orderList = this.orderList.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.orderList.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(id) {
  439. //订单详情跳转
  440. this.$api.navigateTo(`/pages/relation/order/detail?orderId=${id}`)
  441. },
  442. toNoSms(url) {
  443. this.$api.navigateTo(url)
  444. },
  445. initListQuery() {
  446. // 初始化
  447. this.orderList = []
  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: 30rpx;
  628. line-height: 40rpx;
  629. }
  630. .list-title-tip {
  631. float: left;
  632. .badges {
  633. display: block;
  634. float: left;
  635. padding: 0 15rpx;
  636. height: 40rpx;
  637. line-height: 40rpx;
  638. border-radius: 4rpx;
  639. background: $btn-confirm;
  640. font-size: $font-size-24;
  641. text-align: center;
  642. color: #ffffff;
  643. }
  644. }
  645. }
  646. .list-title-b {
  647. width: 100%;
  648. height: 40rpx;
  649. float: left;
  650. font-size: $font-size-24;
  651. line-height: 40rpx;
  652. color: #666666;
  653. text-align: left;
  654. .text {
  655. color: #999999;
  656. }
  657. .list-title-b-item {
  658. width: 50%;
  659. height: 100%;
  660. float: left;
  661. }
  662. &.sms {
  663. height: 100rpx;
  664. padding: 10rpx;
  665. border-radius: 4rpx;
  666. .text {
  667. height: 100%;
  668. text-overflow: ellipsis;
  669. overflow: hidden;
  670. display: -webkit-box;
  671. -webkit-line-clamp: 2;
  672. line-clamp: 2;
  673. -webkit-box-orient: vertical;
  674. }
  675. }
  676. }
  677. .list-icon {
  678. width: 120rpx;
  679. height: 120rpx;
  680. border-radius: 10rpx;
  681. position: absolute;
  682. right: 0;
  683. top: 0;
  684. color: #dd524d;
  685. z-index: 99;
  686. .list-icon-image {
  687. width: 120rpx;
  688. height: 120rpx;
  689. display: block;
  690. }
  691. }
  692. }
  693. .tui-header-tabmain {
  694. width: 100%;
  695. height: 70rpx;
  696. float: left;
  697. position: relative;
  698. .input {
  699. width: 100%;
  700. height: 70rpx;
  701. box-sizing: border-box;
  702. padding: 0 20rpx;
  703. padding-left: 70rpx;
  704. background: #f7f7f7;
  705. border-radius: 8rpx;
  706. font-size: $font-size-26;
  707. }
  708. .icon-sousuo {
  709. width: 80rpx;
  710. height: 70rpx;
  711. display: block;
  712. line-height: 70rpx;
  713. text-align: center;
  714. color: #999999;
  715. font-size: $font-size-38;
  716. position: absolute;
  717. left: 0;
  718. top: 0;
  719. }
  720. }
  721. .button-content {
  722. width: 100%;
  723. height: auto;
  724. float: left;
  725. position: relative;
  726. .btn {
  727. height: 64rpx;
  728. padding: 0 20rpx;
  729. margin: 10rpx 0 0 0;
  730. line-height: 64rpx;
  731. font-size: $font-size-26;
  732. text-align: center;
  733. border-radius: 6rpx;
  734. float: right;
  735. }
  736. .btn-confirm {
  737. background-color: #ff5000;
  738. color: #ffffff;
  739. }
  740. }
  741. }
  742. .distinguish-button {
  743. width: 100%;
  744. position: fixed;
  745. bottom: 0;
  746. left: 0;
  747. background-color: #ffffff;
  748. padding: 0 50rpx;
  749. padding-top: 20rpx;
  750. .button {
  751. width: 100%;
  752. height: 80rpx;
  753. background: $btn-confirm;
  754. border-radius: 40rpx;
  755. text-align: center;
  756. color: #ffffff;
  757. line-height: 80rpx;
  758. font-size: $font-size-28;
  759. box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
  760. }
  761. }
  762. .user-section {
  763. position: absolute;
  764. width: 100%;
  765. }
  766. .header-content {
  767. width: 100%;
  768. height: auto;
  769. position: relative;
  770. background-color: #f7f7f7;
  771. .tui-header-btm {
  772. width: 100%;
  773. padding: 0 30rpx;
  774. box-sizing: border-box;
  775. display: flex;
  776. align-items: center;
  777. justify-content: space-between;
  778. color: #fff;
  779. }
  780. }
  781. .tui-order-list {
  782. margin-top: 24rpx;
  783. width: 100%;
  784. position: relative;
  785. box-sizing: border-box;
  786. padding: 0 20rpx;
  787. }
  788. .tui-order-content {
  789. width: 100%;
  790. height: auto;
  791. }
  792. .tui-order-item {
  793. display: flex;
  794. flex-direction: column;
  795. width: 100%;
  796. padding: 20rpx 20rpx;
  797. background: #fff;
  798. margin-bottom: 24rpx;
  799. border-radius: 8rpx;
  800. position: relative;
  801. .list-checked {
  802. width: 80rpx;
  803. height: 80rpx;
  804. line-height: 80rpx;
  805. text-align: center;
  806. position: absolute;
  807. right: 0;
  808. top: 0;
  809. .iconfont {
  810. font-size: 38rpx;
  811. color: $color-system;
  812. }
  813. }
  814. .list-detail {
  815. width: 70rpx;
  816. height: 80rpx;
  817. line-height: 80rpx;
  818. text-align: center;
  819. position: absolute;
  820. right: 0;
  821. bottom: 0;
  822. .iconfont {
  823. font-size: $font-size-32;
  824. color: #999999;
  825. }
  826. }
  827. }
  828. .list-title {
  829. width: 100%;
  830. height: auto;
  831. .list-title-t {
  832. width: 100%;
  833. height: 50rpx;
  834. float: left;
  835. font-size: $font-size-24;
  836. padding-bottom: 10rpx;
  837. .list-title-tip {
  838. float: left;
  839. .badges {
  840. display: block;
  841. float: left;
  842. padding: 0 15rpx;
  843. height: 40rpx;
  844. line-height: 40rpx;
  845. border-radius: 20rpx;
  846. background: rgba(248, 204, 148, 0.5);
  847. font-size: $font-size-24;
  848. text-align: center;
  849. color: #666666;
  850. }
  851. .badgesb{
  852. display: block;
  853. float: left;
  854. padding: 0 15rpx;
  855. height: 40rpx;
  856. line-height: 40rpx;
  857. border-radius: 20rpx;
  858. background: #e3ebf7;
  859. font-size: $font-size-24;
  860. text-align: center;
  861. color: #9aa5b5;
  862. margin-left: 24rpx;
  863. }
  864. }
  865. .list-title-tag {
  866. float: left;
  867. margin-left: 20rpx;
  868. .badges {
  869. display: block;
  870. float: left;
  871. padding: 0 15rpx;
  872. height: 40rpx;
  873. line-height: 40rpx;
  874. border-radius: 20rpx;
  875. background: linear-gradient(270deg, #fee9ba 0%, #f0cb72 100%);
  876. font-size: $font-size-24;
  877. text-align: center;
  878. color: #666666;
  879. }
  880. }
  881. .list-title-num {
  882. float: left;
  883. text-align: left;
  884. color: #42b983;
  885. line-height: 40rpx;
  886. margin-left: 20rpx;
  887. }
  888. }
  889. .list-title-a {
  890. width: 100%;
  891. height: auto;
  892. float: left;
  893. padding: 5rpx 8rpx;
  894. border-radius: 4rpx;
  895. background-color: rgba(247, 247, 247, 1);
  896. margin-bottom: 10rpx;
  897. .text {
  898. color: #999999;
  899. }
  900. .list-title-a-text {
  901. width: 100%;
  902. height: 44rpx;
  903. float: left;
  904. font-size: $font-size-24;
  905. line-height: 44rpx;
  906. color: #666666;
  907. text-align: left;
  908. }
  909. }
  910. .list-title-b {
  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. .text {
  919. color: #999999;
  920. }
  921. .list-title-b-item {
  922. width: 50%;
  923. height: 100%;
  924. float: left;
  925. }
  926. &.sms {
  927. height: auto;
  928. }
  929. }
  930. }
  931. .tui-prompt-title {
  932. line-height: 44rpx;
  933. text-align: center;
  934. }
  935. .tui-prompt-input {
  936. width: 100%;
  937. height: 80rpx;
  938. box-sizing: border-box;
  939. background: #f7f7f7;
  940. border-radius: 8rpx;
  941. padding: 15rpx 20rpx;
  942. padding-left: 50rpx;
  943. margin: 20rpx 0;
  944. position: relative;
  945. .text {
  946. display: block;
  947. width: 50rpx;
  948. height: 80rpx;
  949. line-height: 80rpx;
  950. color: #666666;
  951. text-align: center;
  952. position: absolute;
  953. top: 0;
  954. left: 0;
  955. }
  956. .input {
  957. width: 100%;
  958. height: 100%;
  959. line-height: 80rpx;
  960. font-size: $font-size-26;
  961. color: $color-system;
  962. &.none {
  963. display: none;
  964. }
  965. }
  966. }
  967. .tui-prompt-flex {
  968. width: 100%;
  969. height: 70rpx;
  970. display: flex;
  971. margin-top: 20rpx;
  972. .btn {
  973. flex: 1;
  974. line-height: 70rpx;
  975. font-size: $font-size-26;
  976. text-align: center;
  977. color: #ffffff;
  978. border-radius: 33rpx;
  979. margin: 0 24rpx;
  980. &.btn-cancel {
  981. background: #f7f7f7;
  982. color: #999999;
  983. }
  984. &.btn-confirm {
  985. background: $color-system;
  986. }
  987. }
  988. }
  989. .tui-prompt-text {
  990. line-height: 44rpx;
  991. font-size: $font-size-26;
  992. color: #333333;
  993. .text {
  994. color: $color-system;
  995. }
  996. }
  997. </style>