index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990
  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-fanhui" @click.stop="this.$api.navigateBack(1)"></text>
  11. <text class="header-sit-text">关联订单</text>
  12. </view>
  13. </view>
  14. <tui-skeleton
  15. v-if="skeletonShow"
  16. backgroundColor="#fafafa"
  17. borderRadius="10rpx"
  18. :isLoading="true"
  19. :loadingType="7"
  20. ></tui-skeleton>
  21. <view class="container-content" v-else>
  22. <view class="tui-header-tabs day clearfix" :style="{ top: CustomBar + 6 + 'px' }">
  23. <view v-if="!isShowHeader">
  24. <view class="tui-header-top">
  25. <view class="title"> 收款信息 </view>
  26. <view class="tui-header-button">
  27. <view class="button btn-confirm" @click="toNoSms('/pages/collection/list')">
  28. <text class="iconfont icon-wodedingdan"></text> 收款列表
  29. </view>
  30. </view>
  31. </view>
  32. <view class="tui-header-item">
  33. <view class="list-title-t">
  34. <view class="list-title-tip">
  35. <text class="badges">{{ receiptInfo.receiptType | formatReceiptType }}款</text>
  36. </view>
  37. <view class="list-title-num" :style="{ color: formatColor(receiptInfo.receiptStatus) }">{{
  38. receiptInfo.receiptStatus | formatStateType
  39. }}</view>
  40. </view>
  41. <view class="list-title-b">
  42. <view class="list-title-b-item ">
  43. 收款金额:<text class="text">¥{{ receiptInfo.receiptAmount | NumFormat }}</text>
  44. </view>
  45. <view class="list-title-b-item ">
  46. 收款类型:<text class="text">{{ receiptInfo.payTypeText }}</text>
  47. </view>
  48. </view>
  49. <view class="list-title-b">
  50. 收款时间:<text class="text">{{ receiptInfo.receiptDate }}</text>
  51. </view>
  52. <template v-if="receiptInfo.smsContent">
  53. <view class="list-title-b">收款短信:</view>
  54. <view class="list-title-b sms">
  55. <text class="text">{{ receiptInfo.smsContent ? receiptInfo.smsContent : '无' }}</text>
  56. </view>
  57. </template>
  58. <view class="list-icon" v-if="receiptInfo.tipMsg">
  59. <image
  60. class="list-icon-image"
  61. src="https://static.caimei365.com/app/crm/image/icon-noconfirm@2x.png"
  62. mode=""
  63. v-if="receiptInfo.receiptStatus == 1"
  64. ></image>
  65. <image
  66. class="list-icon-image"
  67. src="https://static.caimei365.com/app/crm/image/icon-noaudit@2x.png"
  68. mode=""
  69. v-if="receiptInfo.receiptStatus == 2"
  70. ></image>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="tui-header-tabmain">
  75. <input
  76. class="input"
  77. type="text"
  78. v-model="listQuery.shopName"
  79. confirm-type="search"
  80. @confirm="subMitSearch()"
  81. placeholder="请输入供应商名称"
  82. />
  83. <text class="iconfont icon-sousuo"></text>
  84. </view>
  85. </view>
  86. <view
  87. class="user-section"
  88. :style="{
  89. top: isIphoneX ? CustomBar + 260 + 'px' : CustomBar + 250 + 'px',
  90. left: 0 + 'px',
  91. paddingBottom: isIphoneX ? '178rpx' : '144rpx'
  92. }"
  93. >
  94. <view class="header-content">
  95. <view :class="{ 'tui-order-list': scrollTop >= 0 }" class="clearfix">
  96. <!-- 空白页 -->
  97. <empty v-if="isEmpty" :typeIndex="currents" :navbarHeight="navbarHeight"></empty>
  98. <!-- 列表 -->
  99. <view v-else class="tui-order-content">
  100. <view
  101. class="tui-order-item"
  102. v-for="(order, index) in orderList"
  103. :key="index"
  104. >
  105. <view class="list-title" @click.stop="orderDetail(order.mainOrder.orderId)">
  106. <view class="list-title-t">
  107. <view class="list-title-tip">
  108. <text class="badges">{{ order.mainOrder.orderType | formatOrderType }}</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">{{ order.mainOrder.status | stateExpFormat }}</view>
  114. </view>
  115. <view class="list-title-a">
  116. <view class="list-title-a-text">
  117. 子订单编号:<text class="text">{{ order.shopOrderNo }} ( {{ order.shopOrderId }} )</text>
  118. </view>
  119. <view class="list-title-a-text">
  120. 供应商名称:<text class="text">{{ order.shopName }}</text>
  121. </view>
  122. <view class="list-title-a-text">
  123. 订单金额:<text class="text">¥{{ order.needPayAmount | NumFormat }}</text>
  124. </view>
  125. </view>
  126. <view class="list-title-b">
  127. 客户名称:<text class="text">{{ order.mainOrder.userName ? order.mainOrder.userName : '无' }}</text>
  128. </view>
  129. <view class="list-title-b">
  130. 订单编号:<text class="text">{{ order.mainOrder.orderNo }} ( {{ order.mainOrder.orderId }} )</text>
  131. </view>
  132. <view class="list-title-b">
  133. 下单日期:<text class="text">{{ order.mainOrder.orderTime }}</text>
  134. </view>
  135. <view class="list-title-b">
  136. <view class="list-title-b-item ">
  137. 订单金额:<text class="text">¥{{ order.mainOrder.payTotalFee | NumFormat }}</text>
  138. </view>
  139. <view class="list-title-b-item ">
  140. 已收金额:<text class="text">¥{{ order.mainOrder.paidAmount | NumFormat }}</text>
  141. </view>
  142. </view>
  143. </view>
  144. <view class="list-checked" @click="checkedOrder(order,index)">
  145. <text
  146. class="iconfont"
  147. :class="order.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"
  148. ></text>
  149. </view>
  150. <view class="list-detail" @click.stop="orderDetail(order.mainOrder.orderId)">
  151. <text class="iconfont icon-xiayibu"></text>
  152. </view>
  153. </view>
  154. <!--加载loadding-->
  155. <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
  156. <tui-nomore :visible="!pullUpOn" bgcolor="#F7F7F7" :text="nomoreText"></tui-nomore>
  157. <!--加载loadding-->
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="distinguish-button" :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }">
  163. <view class="button" @click="confirmDistinguish">确认</view>
  164. </view>
  165. </view>
  166. <!-- 弹窗 -->
  167. <tui-modal :show="modal1" :padding="'40rpx 30rpx'" @cancel="hideMobel(1)" :custom="true" fadeIn >
  168. <view class="tui-modal-custom">
  169. <view class="tui-prompt-text">
  170. 返佣金额为<text class="text">¥{{ confirmParams.verbalAmount }}</text>,
  171. 订单根据成本计算得出的佣金为<text class="text">¥{{ returnBrokerage }}</text>,
  172. 金额不一致不能关联,请在后台修改成本使得子订单佣金等与返佣金额后在关联
  173. </view>
  174. <view class="tui-prompt-flex">
  175. <view class="btn btn-confirm" @click="handleClick1">知道了</view>
  176. </view>
  177. </view>
  178. </tui-modal>
  179. <!--设非订单款项弹窗 -->
  180. <tui-modal :show="modal" :padding="'40rpx 30rpx'" @cancel="hideMobel(0)" :custom="true" fadeIn >
  181. <view class="tui-modal-custom">
  182. <view class="tui-prompt-title">口头约定佣金</view>
  183. <view class="tui-prompt-input">
  184. <text class="text">¥</text>
  185. <input
  186. class="input"
  187. type="number"
  188. placeholder="请输入口头约定佣金(必填)"
  189. @blur="changeNumber($event)"
  190. v-model="confirmParams.verbalAmount"
  191. />
  192. </view>
  193. <view class="tui-prompt-flex">
  194. <view class="btn btn-cancel" @click="hideMobel(0)">取消</view>
  195. <view class="btn btn-confirm" @click="handleClick">确定</view>
  196. </view>
  197. </view>
  198. </tui-modal>
  199. </view>
  200. </template>
  201. <script>
  202. import headerBack from '@/components/cm-module/headerNavbar/header-back' //自定义导航
  203. import modalLayer from '@/components/modal-layer'
  204. import empty from '@/components/empty'
  205. import wxLogin from '@/services/wxLogin.js'
  206. import { mapState, mapMutations } from 'vuex'
  207. const defaultListQuery = {
  208. pageNum: 1, //页数
  209. pageSize: 10, //条数
  210. id: 0,
  211. shopName: '',
  212. }
  213. export default {
  214. components: {
  215. empty
  216. },
  217. data() {
  218. return {
  219. CustomBar: this.CustomBar, // 顶部导航栏高度
  220. isIphoneX: this.$store.state.isIphoneX,
  221. receiptInfo: {},
  222. listQuery: Object.assign({}, defaultListQuery),
  223. orderList: [],
  224. scrollTop: 0,
  225. isEmpty: false,
  226. loadding: false,
  227. pullUpOn: true,
  228. hasNextPage: false,
  229. pullFlag: true,
  230. navbarHeight: '',
  231. nomoreText: '上拉显示更多',
  232. contentModalText: '', //操作文字提示语句
  233. modal: false,
  234. modal1: false,
  235. isCmcustomClass: 'left',
  236. isShowHeader: false,
  237. height: 64, //header高度
  238. top: 0, //标题图标距离顶部距离
  239. scrollH: 0, //滚动总高度
  240. opcity: 1,
  241. checkedOrderList: [],
  242. checkedIndex:'',
  243. returnBrokerage:0,
  244. confirmParams:{
  245. shopOrderId:0,
  246. verbalAmount:'',
  247. rebateRemarks:''
  248. },
  249. skeletonShow: true,
  250. modelTpye:1,// 收款弹窗类型
  251. totalOrder: {
  252. orderNums:1,
  253. payTotalFee: 0, // 订单金额
  254. balancePayFee: 0, // 余额抵扣
  255. payableAmount: 0, // 应收金额
  256. paidAmount: 0 ,// 已收金额
  257. surplusAmount:0 // 剩余应收
  258. } // 统计都选相同的订单数据
  259. }
  260. },
  261. onLoad(option) {
  262. let obj = {}
  263. uni.getSystemInfo({
  264. success: res => {
  265. this.width = obj.left || res.windowWidth
  266. this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44
  267. this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6
  268. this.scrollH = res.windowWidth * 0.6
  269. }
  270. })
  271. this.confirmParams.id = option.id
  272. this.getOrderReceiptDetail(this.confirmParams.id)
  273. },
  274. computed: {
  275. ...mapState(['hasLogin']),
  276. },
  277. methods: {
  278. getOrderReceiptDetail(id) {
  279. // 收款详情
  280. this.OrderService.orderReceiptRebateDetails({ id: id })
  281. .then(response => {
  282. this.receiptInfo = response.data
  283. this.getOrderReceiptRebateOrders()
  284. })
  285. .catch(err => {
  286. this.$util.msg(err.msg, 2000)
  287. })
  288. },
  289. subMitSearch() {
  290. // 确认搜索
  291. this.listQuery.pageNum = 1
  292. this.getOrderReceiptRebateOrders()
  293. },
  294. getOrderReceiptRebateOrders() {
  295. // 收款详情-订单列表
  296. this.OrderService.orderReceiptRebateOrders(this.listQuery)
  297. .then(response => {
  298. let data = response.data
  299. this.hasNextPage = response.data.hasNextPage
  300. if (data.list && data.list.length > 0) {
  301. this.isEmpty = false
  302. this.orderList = data.list.map((el, index) => {
  303. el.isChecked = false
  304. return el
  305. })
  306. this.pullFlag = false
  307. setTimeout(() => {
  308. this.pullFlag = true
  309. }, 500)
  310. if (this.hasNextPage) {
  311. this.pullUpOn = false
  312. this.nomoreText = '上拉显示更多'
  313. } else {
  314. if (this.orderList.length < 3) {
  315. this.pullUpOn = true
  316. } else {
  317. this.pullUpOn = false
  318. this.loadding = false
  319. this.nomoreText = '已至底部'
  320. }
  321. }
  322. } else {
  323. this.isEmpty = true
  324. }
  325. this.skeletonShow = false
  326. })
  327. .catch(err => {
  328. this.$util.msg(err.msg, 2000)
  329. })
  330. },
  331. getOnReachBottomData(index) {
  332. //上拉加载
  333. this.listQuery.pageNum += 1
  334. this.OrderService.orderReceiptRebateOrders(this.listQuery)
  335. .then(response => {
  336. let data = response.data
  337. if (data.list && data.list.length > 0) {
  338. this.hasNextPage = data.hasNextPage
  339. let list = data.list.map((el, index) => {
  340. el.isChecked = false
  341. return el
  342. })
  343. this.orderList = this.orderList.concat(list)
  344. this.pullFlag = false // 防上拉暴滑
  345. setTimeout(() => {
  346. this.pullFlag = true
  347. }, 500)
  348. if (this.hasNextPage) {
  349. this.pullUpOn = false
  350. this.nomoreText = '上拉显示更多'
  351. } else {
  352. this.pullUpOn = false
  353. this.loadding = false
  354. this.nomoreText = '已至底部'
  355. }
  356. }
  357. })
  358. .catch(error => {
  359. this.$util.msg(error.msg, 2000)
  360. })
  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. this.confirmParams.verbalAmount = ''
  375. this.modal = true
  376. },
  377. checkedOrder(order,index) {
  378. // 勾选关联订单
  379. this.checkedIndex = index
  380. this.orderList.forEach((el, index) => {
  381. if (this.checkedIndex == index) {
  382. el.isChecked = true
  383. this.confirmParams.shopOrderId = el.shopOrderId
  384. this.returnBrokerage = el.brokerage
  385. } else {
  386. el.isChecked = false
  387. }
  388. })
  389. console.log('shopOrderId',this.confirmParams.shopOrderId)
  390. console.log('returnBrokerage',this.returnBrokerage)
  391. },
  392. handleClick() {
  393. //用户操作订单
  394. if(this.confirmParams.verbalAmount == 0){
  395. this.$util.msg('请输入口头返佣金!', 2000)
  396. return
  397. }
  398. if(this.confirmParams.verbalAmount != this.returnBrokerage){
  399. this.modal = false
  400. this.modal1 = true
  401. return
  402. }else{
  403. this.modal = false
  404. this.orderReceiptConfirm(this.confirmParams)
  405. }
  406. },
  407. handleClick1() {
  408. //隐藏弹窗
  409. this.modal1 = false
  410. },
  411. orderReceiptConfirm(params){
  412. //确认关联返佣
  413. this.OrderService.orderReceiptConfirmRebateVerbal(params)
  414. .then(response => {
  415. this.$util.msg('关联成功~', 2000, true, 'success')
  416. setTimeout(()=>{
  417. this.$api.navigateTo(`/pages/relation/return/detail?id=${response.data}`)
  418. },2000)
  419. })
  420. .catch(error => {
  421. this.$util.msg(error.msg, 2000)
  422. })
  423. },
  424. hideMobel(type) {
  425. switch(type){
  426. case 0:
  427. this.modal = false
  428. break
  429. case 1:
  430. this.modal1 = false
  431. break
  432. }
  433. },
  434. formatColor(state) {
  435. //设置颜色
  436. let stateColor = '',
  437. stateColorObject = {
  438. 1: '#FEAC20',
  439. 2: '#4cd964',
  440. 3: '#34CC8C',
  441. 4: '#F94B4B',
  442. 5: '#007aff'
  443. }
  444. Object.keys(stateColorObject).forEach(function(key) {
  445. if (key == state) {
  446. stateColor = stateColorObject[key]
  447. }
  448. })
  449. return stateColor
  450. },
  451. changeNumber(e) {
  452. // 校验输入为数字
  453. this.confirmParams.receiptAmount = this.toFixedFn(e.detail.value)
  454. console.log('receiptAmount', this.confirmParams.receiptAmount)
  455. },
  456. toFixedFn(val){//处理小数点后两位数
  457. return Number(Math.round(val * 100) / 100).toFixed(2)
  458. },
  459. orderDetail(id) {
  460. //订单详情跳转
  461. this.$api.navigateTo(`/pages/relation/order/detail?orderId=${id}`)
  462. },
  463. toNoSms(url) {
  464. this.$api.navigateTo(url)
  465. }
  466. },
  467. onPageScroll(e) {
  468. //实时获取到滚动的值
  469. if (e.scrollTop > 30) {
  470. this.isCmcustomClass = 'fiexd'
  471. } else {
  472. this.isCmcustomClass = 'left'
  473. }
  474. if (e.scrollTop > 180) {
  475. this.isShowHeader = true
  476. } else {
  477. this.isShowHeader = false
  478. }
  479. },
  480. onReachBottom() {
  481. if (this.hasNextPage) {
  482. this.loadding = true
  483. this.pullUpOn = true
  484. this.getOnReachBottomData()
  485. }
  486. },
  487. onPullDownRefresh() {
  488. setTimeout(() => {
  489. this.listQuery.pageNum = 1
  490. this.getOrderReceiptRebateOrders()
  491. uni.stopPullDownRefresh()
  492. }, 200)
  493. },
  494. onShareAppMessage(res) {
  495. //分享购买优惠券
  496. const payment = res.target.dataset.payment
  497. console.log('payment', payment)
  498. if (res.from === 'button') {
  499. // console.log('来自页面内转发按钮')
  500. return {
  501. title: `【待确认】收款金额${payment.receiptAmount.toFixed(2)}元,收款时间:${payment.receiptDate}`,
  502. path: `pages/seller/cart/coupon-share?payment=${payment.id}`,
  503. imageUrl: 'https://static.caimei365.com/app/img/icon/icon-shareCoupon@2x.png'
  504. }
  505. }
  506. },
  507. onShow() {
  508. }
  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. .icon-fanhui {
  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. }
  940. }
  941. .tui-prompt-flex{
  942. width: 100%;
  943. height: 70rpx;
  944. display: flex;
  945. margin-top: 20rpx;
  946. .btn{
  947. flex: 1;
  948. line-height: 70rpx;
  949. font-size: $font-size-26;
  950. text-align: center;
  951. color: #FFFFFF;
  952. border-radius: 33rpx;
  953. margin: 0 24rpx;
  954. &.btn-cancel{
  955. background: #F7F7F7;
  956. color: #999999;
  957. }
  958. &.btn-confirm{
  959. background: $color-system;
  960. }
  961. }
  962. }
  963. .tui-prompt-text{
  964. line-height: 44rpx;
  965. font-size: $font-size-26;
  966. color: #333333;
  967. .text{
  968. color: $color-system;
  969. }
  970. }
  971. </style>