list.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  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. />
  21. <view class="container-content" v-else>
  22. <view class="tui-header-tabs day clearfix" :style="{ top: CustomBar + 6 + 'px' }">
  23. <view class="tui-header-tabmain">
  24. <input
  25. class="input"
  26. type="text"
  27. confirm-type="search"
  28. @confirm="subMitSearch()"
  29. placeholder="请输入供应商名称/子订单ID"
  30. />
  31. <text class="iconfont icon-sousuo"></text>
  32. </view>
  33. </view>
  34. <view
  35. class="user-section"
  36. :style="{
  37. top: isIphoneX ? CustomBar + 66 + 'px' : CustomBar + 56 + 'px',
  38. left: 0 + 'px',
  39. paddingBottom: isIphoneX ? '178rpx' : '144rpx'
  40. }"
  41. >
  42. <view class="header-content">
  43. <view :class="{ 'tui-order-list': scrollTop >= 0 }" class="clearfix">
  44. <!-- 空白页 -->
  45. <empty v-if="isEmpty" :typeIndex="currents" :navbarHeight="navbarHeight"></empty>
  46. <!-- 列表 -->
  47. <view v-else class="tui-order-content">
  48. <view class="tui-order-item" v-for="(order, index) in orderList" :key="index">
  49. <view class="list-title" @click.stop="orderDetail(order.shopOrderId)">
  50. <view class="list-title-t">
  51. <view class="list-title-tip">
  52. <text
  53. class="badges"
  54. :class="{
  55. success: order.orderType === 1,
  56. warning: order.orderType === 0
  57. }"
  58. >{{ order.orderType | formatOrderType }}</text
  59. >
  60. <text class="badgesb" v-if="order.secondHandOrderFlag == 1">二手</text>
  61. </view>
  62. <view class="list-title-tag">
  63. <text class="badges">{{ order.organizeId | organizeName }}</text>
  64. </view>
  65. <view class="list-title-num">{{
  66. order.status | stateExpFormat
  67. }}</view>
  68. </view>
  69. <view class="list-title-a">
  70. <view class="list-title-a-text">
  71. 子订单编号:<text class="text"
  72. >{{ order.shopOrderNo }} ( {{ order.shopOrderId }} )</text
  73. >
  74. </view>
  75. <view class="list-title-a-text">
  76. 下单日期:<text class="text">{{ order.orderTime }}</text>
  77. </view>
  78. <view class="list-title-a-text">
  79. 供应商名称:<text class="text">{{ order.shopName }}</text>
  80. </view>
  81. </view>
  82. <view class="list-title-b">
  83. 客户名称:<text class="text">{{
  84. order.userName ? order.userName : '无'
  85. }}</text>
  86. </view>
  87. <view class="list-title-b">
  88. 子订单金额:<text class="text"
  89. >¥{{ order.needPayAmount | NumFormat }}</text
  90. >
  91. </view>
  92. <view class="list-title-b">
  93. 应收金额:<text class="text"
  94. >¥{{ order.needPayAmount | NumFormat }}</text
  95. >
  96. </view>
  97. <view class="list-title-b">
  98. 已收金额:<text class="text"
  99. >¥{{ order.receiptAmount | NumFormat }}</text
  100. >
  101. </view>
  102. <view class="list-title-b">
  103. 平台服务费:<text class="text"> ¥{{
  104. order.cmCostPrice | NumFormat
  105. }}</text>
  106. </view>
  107. </view>
  108. <view class="list-checked" @click="checkedOrder(order, index)">
  109. <text
  110. class="iconfont"
  111. :class="order.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"
  112. ></text>
  113. </view>
  114. <view class="list-detail" @click.stop="orderDetail(order.shopOrderId)">
  115. <text class="iconfont icon-xiayibu"></text>
  116. </view>
  117. </view>
  118. <!--加载loadding-->
  119. <tui-loadmore :visible="loadding" :index="3" type="black" />
  120. <tui-nomore :visible="!pullUpOn" bgcolor="#F7F7F7" :text="nomoreText" />
  121. <!--加载loadding-->
  122. </view>
  123. </view>
  124. </view>
  125. </view>
  126. <view class="distinguish-button" :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }">
  127. <view class="button" @click="confirmDistinguish">录入平台服务费欠款</view>
  128. </view>
  129. </view>
  130. <!--弹窗 -->
  131. <tui-modal :show="modal" :padding="'40rpx 30rpx'" @cancel="hideMobel(0)" :custom="true" fadeIn>
  132. <view class="tui-modal-custom">
  133. <view class="tui-prompt-title">平台服务费欠款</view>
  134. <view class="tui-prompt-input">
  135. <text class="text">¥</text>
  136. <input
  137. class="input"
  138. :class="modal ? 'show' : 'none'"
  139. type="text"
  140. placeholder="请输入子订单的平台服务费欠款金额(必填)"
  141. @blur="changeNumber($event)"
  142. v-model="confirmParams.verbalAmount"
  143. />
  144. </view>
  145. <view class="tui-prompt-text">
  146. 欠款确认后,供应商对平台的欠款将转移给采美自营供应商,自营供应商可在以后对该供应商的付款中进行欠款抵扣。
  147. </view>
  148. <view class="tui-prompt-flex">
  149. <view class="btn btn-cancel" @click="hideMobel(0)">取消</view>
  150. <view class="btn btn-confirm" @click="handleClick">确定</view>
  151. </view>
  152. </view>
  153. </tui-modal>
  154. </view>
  155. </template>
  156. <script>
  157. import empty from '@/components/empty'
  158. import { mapState, mapMutations } from 'vuex'
  159. const defaultListQuery = {
  160. pageNum: 1, //页数
  161. pageSize: 10, //条数
  162. id: 0,
  163. shopName: ''
  164. }
  165. export default {
  166. components: {
  167. empty
  168. },
  169. data() {
  170. return {
  171. CustomBar: this.CustomBar, // 顶部导航栏高度
  172. isIphoneX: this.$store.state.isIphoneX,
  173. skeletonShow: true,
  174. listQuery: Object.assign({}, defaultListQuery),
  175. orderList: [],
  176. checkedOrderList: [],
  177. checkedIndex: '',
  178. scrollTop: 0,
  179. isEmpty: false,
  180. loadding: false,
  181. pullUpOn: true,
  182. hasNextPage: false,
  183. pullFlag: true,
  184. navbarHeight: '',
  185. nomoreText: '上拉显示更多',
  186. contentModalText: '', //操作文字提示语句
  187. modal: false,
  188. cmCostPrice: 0,
  189. confirmParams: {
  190. shopOrderId: 0,
  191. verbalAmount: '',
  192. rebateRemarks: ''
  193. },
  194. rightDrawer: false,
  195. hanldReceipt: {}, //储存监听收款信息
  196. handleOperId: 0, //操作类型
  197. height: 64, //header高度
  198. top: 0, //标题图标距离顶部距离
  199. scrollH: 0, //滚动总高度
  200. opcity: 1
  201. }
  202. },
  203. onLoad() {
  204. let obj = {}
  205. uni.getSystemInfo({
  206. success: res => {
  207. this.width = obj.left || res.windowWidth
  208. this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44
  209. this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6
  210. this.scrollH = res.windowWidth * 0.6
  211. }
  212. })
  213. },
  214. computed: {
  215. ...mapState(['hasLogin'])
  216. },
  217. methods: {
  218. getOrderReceiptRebateOrders() {
  219. // 收款详情-订单列表
  220. this.initListQuery()
  221. this.OrderService.orderReceiptPlatformOrders(this.listQuery)
  222. .then(response => {
  223. let data = response.data
  224. this.hasNextPage = response.data.hasNextPage
  225. if (data.list && data.list.length > 0) {
  226. this.isEmpty = false
  227. this.orderList = data.list.map((el, index) => {
  228. el.isChecked = false
  229. return el
  230. })
  231. this.pullFlag = false
  232. setTimeout(() => {
  233. this.pullFlag = true
  234. }, 500)
  235. if (this.hasNextPage) {
  236. this.pullUpOn = false
  237. this.nomoreText = '上拉显示更多'
  238. } else {
  239. if (this.orderList.length < 3) {
  240. this.pullUpOn = true
  241. this.loadding = false
  242. } else {
  243. this.pullUpOn = false
  244. this.loadding = false
  245. this.nomoreText = '已至底部'
  246. }
  247. }
  248. } else {
  249. this.isEmpty = true
  250. }
  251. this.skeletonShow = false
  252. })
  253. .catch(err => {
  254. this.$util.msg(err.msg, 2000)
  255. })
  256. },
  257. getOnReachBottomData(index) {
  258. //上拉加载
  259. this.listQuery.pageNum += 1
  260. this.OrderService.orderReceiptPlatformOrders(this.listQuery)
  261. .then(response => {
  262. let data = response.data
  263. if (data.list && data.list.length > 0) {
  264. this.hasNextPage = data.hasNextPage
  265. let list = data.list.map((el, index) => {
  266. el.isChecked = false
  267. return el
  268. })
  269. this.orderList = this.orderList.concat(list)
  270. this.pullFlag = false // 防上拉暴滑
  271. setTimeout(() => {
  272. this.pullFlag = true
  273. }, 500)
  274. if (this.hasNextPage) {
  275. this.pullUpOn = false
  276. this.nomoreText = '上拉显示更多'
  277. } else {
  278. this.pullUpOn = false
  279. this.loadding = false
  280. this.nomoreText = '已至底部'
  281. }
  282. }
  283. })
  284. .catch(error => {
  285. this.$util.msg(error.msg, 2000)
  286. })
  287. },
  288. subMitSearch() {
  289. // 确认搜索
  290. this.getOrderReceiptRebateOrders()
  291. },
  292. confirmDistinguish() {
  293. // 点击确认
  294. const list = []
  295. this.checkedOrderList.forEach(el => {
  296. if (list.indexOf(el.userId) == -1) {
  297. list.push(el.userId)
  298. }
  299. })
  300. if (this.confirmParams.shopOrderId == 0) {
  301. this.$util.msg('请选择一个订单!', 2000)
  302. return
  303. }
  304. this.confirmParams.verbalAmount = ''
  305. this.modal = true
  306. },
  307. checkedOrder(order, index) {
  308. // 勾选关联订单
  309. this.checkedIndex = index
  310. this.orderList.forEach((el, index) => {
  311. if (this.checkedIndex == index) {
  312. el.isChecked = true
  313. this.confirmParams.shopOrderId = el.shopOrderId
  314. this.cmCostPrice = el.cmCostPrice
  315. } else {
  316. el.isChecked = false
  317. }
  318. })
  319. console.log('shopOrderId', this.confirmParams.shopOrderId)
  320. console.log('cmCostPrice', this.cmCostPrice)
  321. },
  322. handleClick() {
  323. //用户操作订单
  324. // 子订单的平台服务费欠款金为空时
  325. if (this.confirmParams.verbalAmount == 0) {
  326. this.$util.msg('请输入子订单的平台服务费欠款金额!', 2000)
  327. return
  328. }
  329. // 录入金额与子订单平台服务费金额不一致时
  330. if (this.confirmParams.verbalAmount != this.cmCostPrice) {
  331. this.modal = false
  332. this.$util.msg('录入金额需与平台服务费金额不一致!', 2000)
  333. return
  334. }
  335. this.orderReceiptConfirm(this.confirmParams)
  336. },
  337. async orderReceiptConfirm(params) {
  338. //确认关联平台服务费欠款
  339. try {
  340. const res = await this.OrderService.orderReceiptConfirmBill(params)
  341. this.modal = false
  342. this.$util.msg('关联成功~', 2000, true, 'success')
  343. setTimeout(() => {
  344. this.$api.navigateTo(`/pages/relation/service/detail?id=${res.data}`)
  345. }, 2000)
  346. } catch (error) {
  347. this.$util.msg(error.msg, 2000)
  348. }
  349. },
  350. hideMobel(type) {
  351. switch (type) {
  352. case 0:
  353. this.modal = false
  354. break
  355. case 1:
  356. this.modal1 = false
  357. break
  358. }
  359. },
  360. orderDetail(shopOrderId) {
  361. //订单详情跳转
  362. this.$api.navigateTo(`/pages/relation/order/detail?shopOrderId=${shopOrderId}`)
  363. },
  364. changeNumber(e) {
  365. // 校验输入为数字
  366. this.confirmParams.receiptAmount = this.toFixedFn(e.detail.value)
  367. console.log('receiptAmount', this.confirmParams.receiptAmount)
  368. },
  369. toFixedFn(val) {
  370. //处理小数点后两位数
  371. return Number(Math.round(val * 100) / 100).toFixed(2)
  372. },
  373. formatColor(state) {
  374. //设置邀请码状态亚瑟
  375. let stateColor = '',
  376. stateColorObject = {
  377. 1: '#ff7900',
  378. 2: '#4cd964',
  379. 3: '#19be6b',
  380. 4: '#ed3f14',
  381. 5: '#F74D54'
  382. }
  383. Object.keys(stateColorObject).forEach(function(key) {
  384. if (key == state) {
  385. stateColor = stateColorObject[key]
  386. }
  387. })
  388. return stateColor
  389. },
  390. toNoSms(url) {
  391. this.$api.navigateTo(url)
  392. },
  393. initListQuery() {
  394. // 初始化
  395. this.orderList = []
  396. this.loadding = true
  397. this.pullUpOn = true
  398. this.listQuery.pageNum = 1
  399. }
  400. },
  401. onPageScroll(e) {
  402. //实时获取到滚动的值
  403. if (e.scrollTop > 30) {
  404. this.isCmcustomClass = 'fiexd'
  405. } else {
  406. this.isCmcustomClass = 'left'
  407. }
  408. if (e.scrollTop > 180) {
  409. this.isShowHeader = true
  410. } else {
  411. this.isShowHeader = false
  412. }
  413. },
  414. onReachBottom() {
  415. if (this.hasNextPage) {
  416. this.loadding = true
  417. this.pullUpOn = true
  418. this.getOnReachBottomData()
  419. }
  420. },
  421. onPullDownRefresh() {
  422. setTimeout(() => {
  423. this.getOrderReceiptRebateOrders()
  424. uni.stopPullDownRefresh()
  425. }, 200)
  426. },
  427. onShow() {
  428. this.getOrderReceiptRebateOrders()
  429. }
  430. }
  431. </script>
  432. <style lang="scss">
  433. @import '@/uni.scss';
  434. page {
  435. background: #f7f7f7;
  436. }
  437. .tui-header-box {
  438. width: 100%;
  439. background: #ffffff;
  440. z-index: 999;
  441. position: fixed;
  442. top: 0;
  443. left: 0;
  444. background-size: cover;
  445. background-image: url(https://static.caimei365.com/app/crm/image/statistic_bg2.png);
  446. &.fiexd {
  447. }
  448. &.first {
  449. }
  450. }
  451. .header-top {
  452. width: 100%;
  453. font-size: 16px;
  454. font-weight: 500;
  455. height: 32px;
  456. display: flex;
  457. align-items: center;
  458. justify-content: center;
  459. position: relative;
  460. padding: 0 40rpx;
  461. }
  462. .header-sit {
  463. width: 100%;
  464. box-sizing: border-box;
  465. height: 80rpx;
  466. line-height: 80rpx;
  467. box-sizing: border-box;
  468. color: #ffffff;
  469. .header-sit-text {
  470. text-align: left;
  471. font-size: $font-size-40;
  472. font-weight: 600;
  473. font-family: '正楷';
  474. }
  475. .icon-fanhui {
  476. display: block;
  477. width: 80rpx;
  478. height: 80rpx;
  479. float: left;
  480. text-align: center;
  481. line-height: 80rpx;
  482. font-size: 42rpx;
  483. }
  484. }
  485. .tui-header-tabs {
  486. width: 100%;
  487. height: auto;
  488. margin-bottom: 40rpx;
  489. padding: 20rpx 24rpx;
  490. background: #ffffff;
  491. box-sizing: border-box;
  492. position: fixed;
  493. z-index: 999;
  494. box-shadow: 0 10rpx 10rpx 0 rgba(86, 119, 252, 0.2);
  495. .tui-header-tabmain {
  496. width: 100%;
  497. height: 70rpx;
  498. float: left;
  499. position: relative;
  500. .input {
  501. width: 100%;
  502. height: 70rpx;
  503. box-sizing: border-box;
  504. padding: 0 20rpx;
  505. padding-left: 70rpx;
  506. background: #f7f7f7;
  507. border-radius: 8rpx;
  508. font-size: $font-size-26;
  509. }
  510. .icon-sousuo {
  511. width: 80rpx;
  512. height: 70rpx;
  513. display: block;
  514. line-height: 70rpx;
  515. text-align: center;
  516. color: #999999;
  517. font-size: $font-size-38;
  518. position: absolute;
  519. left: 0;
  520. top: 0;
  521. }
  522. }
  523. .button-content {
  524. width: 100%;
  525. height: auto;
  526. float: left;
  527. position: relative;
  528. .btn {
  529. height: 64rpx;
  530. padding: 0 20rpx;
  531. margin: 10rpx 0 0 0;
  532. line-height: 64rpx;
  533. font-size: $font-size-26;
  534. text-align: center;
  535. border-radius: 6rpx;
  536. float: right;
  537. }
  538. .btn-confirm {
  539. background-color: #ff5000;
  540. color: #ffffff;
  541. }
  542. }
  543. }
  544. .distinguish-button {
  545. width: 100%;
  546. position: fixed;
  547. bottom: 0;
  548. left: 0;
  549. background-color: #ffffff;
  550. padding: 0 50rpx;
  551. padding-top: 20rpx;
  552. .button {
  553. width: 100%;
  554. height: 80rpx;
  555. background: $btn-confirm;
  556. border-radius: 40rpx;
  557. text-align: center;
  558. color: #ffffff;
  559. line-height: 80rpx;
  560. font-size: $font-size-28;
  561. box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
  562. }
  563. }
  564. .user-section {
  565. position: absolute;
  566. width: 100%;
  567. }
  568. .header-content {
  569. width: 100%;
  570. height: auto;
  571. position: relative;
  572. background-color: #f7f7f7;
  573. }
  574. .tui-order-list {
  575. margin-top: 24rpx;
  576. width: 100%;
  577. position: relative;
  578. box-sizing: border-box;
  579. padding: 0 20rpx;
  580. }
  581. .tui-order-content {
  582. width: 100%;
  583. height: auto;
  584. }
  585. .tui-order-item {
  586. display: flex;
  587. flex-direction: column;
  588. width: 100%;
  589. padding: 20rpx 20rpx;
  590. background: #fff;
  591. margin-bottom: 24rpx;
  592. border-radius: 8rpx;
  593. position: relative;
  594. .list-checked {
  595. width: 80rpx;
  596. height: 80rpx;
  597. line-height: 80rpx;
  598. text-align: center;
  599. position: absolute;
  600. right: 0;
  601. top: 0;
  602. .iconfont {
  603. font-size: 38rpx;
  604. color: $color-system;
  605. }
  606. }
  607. .list-detail {
  608. width: 70rpx;
  609. height: 80rpx;
  610. line-height: 80rpx;
  611. text-align: center;
  612. position: absolute;
  613. right: 0;
  614. bottom: 0;
  615. .iconfont {
  616. font-size: $font-size-32;
  617. color: #999999;
  618. }
  619. }
  620. }
  621. .list-title {
  622. width: 100%;
  623. height: auto;
  624. .list-title-t {
  625. width: 100%;
  626. height: 50rpx;
  627. float: left;
  628. font-size: $font-size-24;
  629. padding-bottom: 10rpx;
  630. .list-title-tip {
  631. float: left;
  632. .badges {
  633. display: block;
  634. float: left;
  635. padding: 0 15rpx;
  636. height: 36rpx;
  637. line-height: 36rpx;
  638. border-radius: 20rpx;
  639. font-size: $font-size-22;
  640. background-color: #f0f9eb;
  641. color: #67c23a;
  642. text-align: center;
  643. &.success {
  644. background-color: #ecf5ff;
  645. color: #409eff;
  646. }
  647. &.warning {
  648. background-color: #fdf6ec;
  649. color: #e6a23c;
  650. }
  651. }
  652. .badgesb {
  653. display: block;
  654. float: left;
  655. padding: 0 15rpx;
  656. height: 36rpx;
  657. line-height: 36rpx;
  658. border-radius: 20rpx;
  659. background: #f4f4f5;
  660. font-size: $font-size-22;
  661. text-align: center;
  662. color: #909399;
  663. margin-left: 24rpx;
  664. }
  665. }
  666. .list-title-tag {
  667. float: left;
  668. margin-left: 20rpx;
  669. .badges {
  670. display: block;
  671. float: left;
  672. padding: 0 15rpx;
  673. height: 36rpx;
  674. line-height: 36rpx;
  675. border-radius: 20rpx;
  676. font-size: $font-size-22;
  677. text-align: center;
  678. background-color: #ecf5ff;
  679. color: #409eff;
  680. }
  681. }
  682. .list-title-num {
  683. float: left;
  684. text-align: left;
  685. color: #42b983;
  686. line-height: 40rpx;
  687. margin-left: 20rpx;
  688. font-size: $font-size-24;
  689. }
  690. }
  691. .list-title-a {
  692. width: 100%;
  693. height: auto;
  694. float: left;
  695. // padding: 5rpx 8rpx;
  696. // border-radius: 4rpx;
  697. // background-color: rgba(247, 247, 247, 1);
  698. // margin-bottom: 10rpx;
  699. .text {
  700. color: #999999;
  701. }
  702. .list-title-a-text {
  703. width: 100%;
  704. height: 44rpx;
  705. float: left;
  706. font-size: $font-size-24;
  707. line-height: 44rpx;
  708. color: #666666;
  709. text-align: left;
  710. }
  711. }
  712. .list-title-b {
  713. width: 100%;
  714. height: 44rpx;
  715. float: left;
  716. font-size: $font-size-24;
  717. line-height: 44rpx;
  718. color: #666666;
  719. text-align: left;
  720. .text {
  721. color: #999999;
  722. }
  723. .list-title-b-item {
  724. width: 50%;
  725. height: 100%;
  726. float: left;
  727. }
  728. &.sms {
  729. height: auto;
  730. }
  731. }
  732. }
  733. .tui-prompt-title {
  734. line-height: 44rpx;
  735. text-align: center;
  736. }
  737. .tui-prompt-input {
  738. width: 100%;
  739. height: 80rpx;
  740. box-sizing: border-box;
  741. background: #f7f7f7;
  742. border-radius: 8rpx;
  743. padding: 15rpx 20rpx;
  744. padding-left: 50rpx;
  745. margin: 20rpx 0;
  746. position: relative;
  747. .text {
  748. display: block;
  749. width: 50rpx;
  750. height: 80rpx;
  751. line-height: 80rpx;
  752. color: #666666;
  753. text-align: center;
  754. position: absolute;
  755. top: 0;
  756. left: 0;
  757. }
  758. .input {
  759. width: 100%;
  760. height: 100%;
  761. line-height: 80rpx;
  762. font-size: $font-size-26;
  763. color: $color-system;
  764. &.none {
  765. display: none;
  766. }
  767. }
  768. }
  769. .tui-prompt-flex {
  770. width: 100%;
  771. height: 70rpx;
  772. display: flex;
  773. margin-top: 20rpx;
  774. .btn {
  775. flex: 1;
  776. line-height: 70rpx;
  777. font-size: $font-size-26;
  778. text-align: center;
  779. color: #ffffff;
  780. border-radius: 33rpx;
  781. margin: 0 24rpx;
  782. &.btn-cancel {
  783. background: #f7f7f7;
  784. color: #999999;
  785. }
  786. &.btn-confirm {
  787. background: $color-system;
  788. }
  789. }
  790. }
  791. .tui-prompt-text {
  792. line-height: 44rpx;
  793. font-size: $font-size-26;
  794. color: #333333;
  795. .text {
  796. color: $color-system;
  797. }
  798. }
  799. </style>