index.vue 22 KB

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