order-details.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. <template>
  2. <view class="container details clearfix" :style="{ paddingBottom: isIphoneX ? 130 + 68 + 'rpx' : '130rpx' }">
  3. <!-- 自定义返回 -->
  4. <header-back
  5. :systeminfo="systeminfo"
  6. :navbar-data="nvabarData"
  7. :headerBtnPosi="headerBtnPosi"
  8. :isShare="isOrderShare"
  9. ></header-back>
  10. <view class="container-details" :style="{ paddingTop: navbarHeight + 'px' }">
  11. <view class="status-text">
  12. <view class="view-type">{{ information.status | TextFormat }}</view>
  13. <view class="Rebate " v-if="information.rebateFlag == 1">返佣</view>
  14. <text class="bage-buss btn" v-if="information.orderSubmitType == 3 || information.orderSubmitType == 4"
  15. >协销</text
  16. >
  17. <text
  18. class="bage-auto btn"
  19. v-if="
  20. information.orderSubmitType == 0 ||
  21. information.orderSubmitType == 1 ||
  22. information.orderSubmitType == 2
  23. "
  24. >自主</text
  25. >
  26. </view>
  27. <!-- 地址选择 -->
  28. <order-address
  29. ref="orderAddress"
  30. v-if="isRequest && !rechargeGoods"
  31. :addressData="addressData"
  32. ></order-address>
  33. <!-- 商品 -->
  34. <goods-list
  35. ref="goods"
  36. v-if="isRequest"
  37. :shopOrderData="shopOrderData"
  38. :information="information"
  39. @popupClick="hanldePopupFn"
  40. ></goods-list>
  41. <!-- 订单信息 -->
  42. <order-information ref="information" v-if="isRequest" :information="information"></order-information>
  43. <!-- 发票信息 -->
  44. <invoice-tent ref="invoice" v-if="isRequest" :orderInvoice="orderInvoice"></invoice-tent>
  45. <!-- 转账信息 -->
  46. <!-- <transfe-record ref="transfe" v-if="isRequest"></transfe-record> -->
  47. <!-- 支付记录 -->
  48. <payment-record
  49. ref="payment"
  50. v-if="isRequest"
  51. :discernReceiptList="discernReceiptList"
  52. :receiptAmount="receiptAmount"
  53. ></payment-record>
  54. <!-- 退款记录 -->
  55. <refund-record
  56. ref="refund"
  57. v-if="isRequest"
  58. :returnedPurchaseList="returnedPurchaseList"
  59. :returnedPurchaseFee="returnedPurchaseFee"
  60. ></refund-record>
  61. <view
  62. class="clause"
  63. v-if="information.secondHandOrderFlag != 1"
  64. @click="openclauseConten(clauseData.id)"
  65. :class="clauseData.name == '无条款' ? 'noclick' : ''"
  66. >
  67. 售后条款:<label class="text" :class="clauseData.name == '无条款' ? 'color-bg' : ''">{{
  68. clauseData.name
  69. }}</label>
  70. </view>
  71. <!-- 底部button -->
  72. <order-button
  73. ref="orderButton"
  74. v-if="isRequest"
  75. :status="btnStatus"
  76. :order="information"
  77. :rechargeGoods="rechargeGoods"
  78. :ableUserMoney="ableUserMoney"
  79. :shareCode="shareCode"
  80. :serviceProviderId="serviceProviderId"
  81. :secondHandOrderFlag="information.secondHandOrderFlag"
  82. @buttonConfirm="handButtonConfirm"
  83. >
  84. </order-button>
  85. </view>
  86. <!-- 付款弹窗 -->
  87. <order-model
  88. v-if="isPayModel"
  89. :payModelData="payModelData"
  90. :modelType="modelType"
  91. @paymentConfirm="hanldPaymentConfirm"
  92. />
  93. <!-- 分享弹窗 -->
  94. <share-alert :orderId="orderId" v-if="isShareModal" @shareConfirm="onShareAppMessage"> </share-alert>
  95. <!-- 促销活动弹窗 -->
  96. <activi-popup :Promotion="handlerPros" :popupShow="popupShow"></activi-popup>
  97. <!-- 再来一单 -->
  98. <view class="aganBj" v-show="showAgan">
  99. <view class="alertAgan">
  100. <text class="title">{{ promptitle }}</text>
  101. <view class="goods">
  102. <view class="list" v-for="(item, index) in failList" :key="index">
  103. <image class="image-left" :src="item.image"></image>
  104. <view class="name-right">{{ item.name }}</view>
  105. </view>
  106. </view>
  107. <view class="BtnAll">
  108. <view class="closebtn btn" @click="closeBtn">取消</view>
  109. <view class="cancel btn" @click="cancelBtn">确定</view>
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </template>
  115. <script>
  116. import headerBack from '@/components/cm-module/headerNavbar/header-back' //自定义导航
  117. import orderAddress from '@/components/cm-module/orderDetails/orderAddress' //地址信息
  118. import goodsList from '@/components/cm-module/orderDetails/goodsList' //商品列表
  119. import invoiceTent from '@/components/cm-module/orderDetails/invoiceTent' //发票信息
  120. import orderInformation from '@/components/cm-module/orderDetails/orderInformation' //订单信息
  121. import transfeRecord from '@/components/cm-module/orderDetails/transfeRecord' //转账信息
  122. import paymentRecord from '@/components/cm-module/orderDetails/paymentRecord' //支付记录
  123. import refundRecord from '@/components/cm-module/orderDetails/refundRecord' //退款记录
  124. import orderButton from '@/components/cm-module/orderDetails/sellerDetaileButton' //底部按钮
  125. import shareAlert from '@/components/cm-module/modelAlert/sellerShareAlert.vue' //分享弹窗
  126. import orderModel from '@/components/cm-module/modelAlert/order-alert' //付款弹窗
  127. import activiPopup from '@/components/cm-module/orderDetails/activipopu' //促销活动弹窗
  128. export default {
  129. components: {
  130. headerBack,
  131. orderInformation,
  132. orderAddress,
  133. invoiceTent,
  134. goodsList,
  135. transfeRecord,
  136. paymentRecord,
  137. refundRecord,
  138. orderButton,
  139. shareAlert,
  140. orderModel,
  141. activiPopup
  142. },
  143. data() {
  144. return {
  145. nvabarData: {
  146. //顶部自定义导航
  147. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
  148. title: '订单详情' // 导航栏 中间的标题
  149. },
  150. state: 0,
  151. userId: '',
  152. orderId: '',
  153. clubUserId: 0,
  154. serviceProviderId: '', //协销ID
  155. shareCode: '', //分享码
  156. shareType: '', //分享登录页过来记录的状态
  157. cellPhone: '', //客服电话
  158. payStatus: 0,
  159. btnStatus: 0, //按钮组件状态
  160. isRequest: false, //是否加载完成渲染子组件
  161. isOrderShare: false,
  162. isShareModal: false,
  163. isPayModel: false,
  164. modelType: 0,
  165. ableUserMoney: '', //机构余额
  166. payModelData: {},
  167. addressData: {}, //地址信息初始化
  168. information: {}, //订单信息初始化
  169. shopOrderData: {}, //商品信息初始化
  170. orderInvoice: {}, //发票信息初始化
  171. returnedPurchaseList: {}, //退款信息初始化
  172. discernReceiptList: {}, //支付信息初始化
  173. receiptAmount: 0, //支付金额
  174. returnedPurchaseFee: 0, //退款金额
  175. navbarHeight: '',
  176. rechargeGoods: false,
  177. headerBtnPosi: this.setHeaderBtnPosi(), //获取设备顶部胶囊高度
  178. systeminfo: this.setSysteminfo(), //获取设备信息
  179. isIphoneX: this.$store.state.isIphoneX,
  180. CustomBar: this.CustomBar, // 顶部导航栏高度
  181. popupShow: false,
  182. handlerPros: {},
  183. clauseData: {},
  184. showAgan: false,
  185. failList: [], // 再来一单可购买商品
  186. promptitle: '',
  187. aganOrderId: 0 // 再来一单商品id
  188. }
  189. },
  190. onLoad(option) {
  191. console.log(option)
  192. this.shareType = option.type
  193. this.orderId = option.orderId
  194. this.clubUserId = option.userId
  195. if (this.shareType === 'share') {
  196. this.listType = 0
  197. this.isOrderShare = true
  198. } else if (option.type === 'confim' || option.type === 'search' || option.type === 'cash') {
  199. this.listType = 0
  200. } else {
  201. this.listType = option.listType
  202. }
  203. this.getHeaderTopHeight()
  204. this.initOrderDetaileData()
  205. },
  206. filters: {
  207. NumFormat(value) {
  208. //处理金额
  209. return Number(value).toFixed(2)
  210. },
  211. TextFormat(status) {
  212. //处理金额
  213. let HtmlText,
  214. typeTextObject = {
  215. 0: '待确认',
  216. 4: '交易完成',
  217. 5: '订单完成',
  218. 6: '已关闭',
  219. 7: '交易全退',
  220. 77: '交易全退',
  221. 11: '待付款待发货',
  222. 12: '待付款部分发货',
  223. 13: '待付款已发货',
  224. 21: '部分付款待发货',
  225. 22: '部分付款部分发货',
  226. 23: '部分付款已发货',
  227. 31: '已付款待发货',
  228. 32: '已付款部分发货',
  229. 33: '已付款已发货',
  230. 111: '待付款待发货'
  231. }
  232. Object.keys(typeTextObject).forEach(key => {
  233. if (key == status) {
  234. HtmlText = typeTextObject[key]
  235. }
  236. })
  237. return HtmlText
  238. }
  239. },
  240. methods: {
  241. openclauseConten(id) {
  242. this.$api.navigateTo(`/pages/service/sellconten?clauseId=${id}`)
  243. },
  244. initOrderDetaileData() {
  245. //初始化页面数据@参数:订单ID
  246. this.OrderService.QueryOrderDetails({
  247. orderId: this.orderId,
  248. userId: this.clubUserId
  249. })
  250. .then(response => {
  251. let data = response.data
  252. this.isRequest = true
  253. this.userId = data.order.userId
  254. this.shareCode = data.shareCode
  255. this.addressData = data.userInfo
  256. this.information = data.order
  257. this.rechargeGoods = data.order.rechargeGoods
  258. this.btnStatus = data.order.status
  259. this.payStatus = data.order.payStatus
  260. this.shopOrderData = data.shopOrderList
  261. this.orderInvoice = data.orderInvoice
  262. this.returnedPurchaseList = data.returnedPurchaseList
  263. this.discernReceiptList = data.discernReceiptList
  264. this.receiptAmount = data.order.receiptAmount
  265. this.returnedPurchaseFee = data.order.returnedPurchaseFee
  266. this.ableUserMoney = data.ableUserMoney
  267. this.clauseData = data.clause
  268. if (this.clauseData && this.clauseData.name.length > 10) {
  269. this.clauseData.name = this.clauseData.name.substr(0, 10) + '...'
  270. }
  271. })
  272. .catch(error => {
  273. this.$util.modal('提示', '订单查询失败,请稍后重试~', '确定', '', false, () => {
  274. this.$api.switchTabTo('/pages/seller/index/index')
  275. })
  276. })
  277. },
  278. handButtonConfirm(data) {
  279. //监听点击时间的按钮类型并执行...
  280. this.handShowAlert(data)
  281. },
  282. handShowAlert(data) {
  283. //判断点击的按钮类型并执行...
  284. switch (data.type) {
  285. case 'query':
  286. this.isModalLayer = true
  287. this.$api.navigateTo('/pages/user/order/order-logistics?orderId=' + data.orderId)
  288. break
  289. case 'delete':
  290. this.handOrderDetele()
  291. break
  292. case 'cancel':
  293. this.handCenceConfirm()
  294. break
  295. case 'confirm':
  296. this.handOrderConfirm(data)
  297. break
  298. case 'balance':
  299. this.getOrderPaymentValidation(data)
  300. break
  301. case 'again':
  302. this.handOrderAgain(data.orderId)
  303. break
  304. }
  305. },
  306. handOrderAgain(orderId) {
  307. this.aganOrderId = orderId
  308. this.SellerService.SellerCreateOrderAgain({
  309. confirmFlag: 0,
  310. orderId: this.aganOrderId,
  311. serviceProviderId: this.serviceProviderId
  312. })
  313. .then(res => {
  314. if (res.code == 0) {
  315. this.$api.setStorage('orderUserInfo', {
  316. clubID: res.data.clubId,
  317. againBuyProductIds: res.data.productIds,
  318. userID: res.data.userId
  319. })
  320. this.$api.navigateTo('/pages/seller/cart/cart')
  321. }
  322. })
  323. .catch(error => {
  324. if (error.code == -3) {
  325. this.showAgan = true
  326. this.promptitle = error.msg
  327. this.failList = error.data
  328. } else if (error.code == -2) {
  329. this.$util.modal('', error.msg, '确定', '', false, () => {})
  330. } else {
  331. this.$util.msg(error.msg, 2000)
  332. }
  333. })
  334. },
  335. closeBtn() {
  336. //
  337. this.showAgan = false
  338. },
  339. cancelBtn() {
  340. // 再来一单弹窗
  341. this.SellerService.SellerCreateOrderAgain({
  342. serviceProviderId: this.serviceProviderId,
  343. orderId: this.aganOrderId,
  344. confirmFlag: 1
  345. }).then(res => {
  346. if (res.code == 0) {
  347. this.$api.navigateTo('/pages/seller/cart/cart')
  348. this.showAgan = false
  349. }
  350. })
  351. },
  352. handOrderConfirm(data) {
  353. //确认订单
  354. this.$util.modal('提示', '确认此订单?', '确定', '取消', true, () => {
  355. this.OrderService.AffirmOrder({ orderId: this.orderId })
  356. .then(response => {
  357. this.$util.msg(response.msg, 2000, true, 'success')
  358. this.initOrderDetaileData()
  359. })
  360. .catch(error => {
  361. this.$util.msg(error.msg, 2000)
  362. })
  363. })
  364. },
  365. hanldPaymentConfirm(data) {
  366. //监听余额抵扣按钮
  367. switch (data.type) {
  368. case 3:
  369. this.OrderService.OrderBalanceDeduction({ orderId: this.orderId })
  370. .then(response => {
  371. this.$util.msg('余额抵扣成功', 2000)
  372. this.initOrderDetaileData()
  373. })
  374. .catch(error => {
  375. this.$util.msg(error.msg, 2000)
  376. })
  377. break
  378. }
  379. },
  380. getOrderPaymentValidation(data) {
  381. //监听根据付款状态做操作
  382. this.OrderService.OrderPaymentValidation({ orderId: data.orderId })
  383. .then(response => {
  384. let dataCode = response.data.code
  385. this.payModelData = response.data
  386. if (dataCode == -1) {
  387. this.$util.modal('', '订单已申请全部退款,无需再付款!', '确定', '', false, () => {})
  388. } else {
  389. this.isPayModel = true
  390. this.modelType = 3
  391. }
  392. })
  393. .catch(error => {
  394. this.$util.msg(error.msg, 2000)
  395. })
  396. },
  397. handOrderDetele() {
  398. //删除订单
  399. this.$util.modal('提示', '确认删除该订单吗?', '确定', '取消', true, () => {
  400. this.OrderService.DeleteOrder({ orderId: this.orderId })
  401. .then(response => {
  402. this.$util.msg(response.msg, 2000, true, 'success')
  403. setTimeout(() => {
  404. if (this.shareType === 'share') {
  405. this.$api.navigateTo('/pages/seller/index/index')
  406. } else {
  407. this.$api.navigateTo(
  408. `/pages/seller/order/order-list?type=detele&listType=${this.listType}`
  409. )
  410. }
  411. }, 500)
  412. })
  413. .catch(error => {
  414. this.$util.msg(error.msg, 2000)
  415. })
  416. })
  417. },
  418. handCenceConfirm() {
  419. //取消订单
  420. this.$util.modal('提示', '确认取消该订单吗?', '确定', '取消', true, () => {
  421. this.OrderService.CancelOrder({ orderId: this.orderId })
  422. .then(response => {
  423. this.$util.msg(response.msg, 2000, true, 'success')
  424. this.initOrderDetaileData()
  425. })
  426. .catch(error => {
  427. this.$util.msg(error.msg, 2000)
  428. })
  429. })
  430. },
  431. hanldePopupFn(data) {
  432. //监听活动内容
  433. this.popupShow = true
  434. this.handlerPros = data
  435. },
  436. onShareAppMessage(res) {
  437. //分享转发
  438. this.isShareModal = false
  439. if (res.from === 'button') {
  440. // 来自页面内转发按钮
  441. }
  442. return {
  443. title: '您有新的订单,请点击查看~',
  444. path: `/pages/user/order/order-sharelogin?orderId=${this.orderId}&userId=${
  445. this.userId
  446. }&serviceProviderId=${this.serviceProviderId}`,
  447. imageUrl: 'https://img.caimei365.com/group1/M00/03/95/Cmis216Sk_SABnOFABZCgCzFV_g063.png'
  448. }
  449. },
  450. getHeaderTopHeight() {
  451. let statusBarHeight = this.systeminfo.statusBarHeight // 状态栏高度
  452. let headerPosi = this.headerBtnPosi
  453. let btnPosi = {
  454. // 胶囊实际位置,坐标信息不是左上角原点
  455. height: headerPosi.height,
  456. width: headerPosi.width,
  457. // 胶囊top - 状态栏高度
  458. top: headerPosi.top - statusBarHeight,
  459. // 胶囊bottom - 胶囊height - 状态栏height (现胶囊bottom 为距离导航栏底部的长度)
  460. bottom: headerPosi.bottom - headerPosi.height - statusBarHeight,
  461. // 屏幕宽度 - 胶囊right
  462. right: this.systeminfo.screenWidth - headerPosi.right
  463. }
  464. this.navbarHeight = headerPosi.bottom + btnPosi.bottom // 原胶囊bottom + 现胶囊bottom
  465. },
  466. setHeaderBtnPosi() {
  467. // 获得胶囊按钮位置信息
  468. let headerBtnPosi = uni.getMenuButtonBoundingClientRect()
  469. return headerBtnPosi
  470. },
  471. setSysteminfo() {
  472. let systeminfo
  473. uni.getSystemInfo({
  474. // 获取设备信息
  475. success: res => {
  476. systeminfo = res
  477. }
  478. })
  479. return systeminfo
  480. }
  481. },
  482. onShow() {
  483. this.$api.getStorage().then(resolve => {
  484. this.serviceProviderId = resolve.serviceProviderId ? resolve.serviceProviderId : 0
  485. })
  486. }
  487. }
  488. </script>
  489. <style lang="scss">
  490. page {
  491. height: auto;
  492. background: #f7f7f7;
  493. }
  494. .btn-hover {
  495. background: #ffffff;
  496. }
  497. .animation {
  498. /* transition: transform 0.3s ease;*/
  499. transition-property: transform;
  500. transition-duration: 0.3s;
  501. transition-timing-function: ease;
  502. }
  503. .invoice-balance {
  504. width: 702rpx;
  505. height: auto;
  506. padding: 0 24rpx;
  507. background: #ffffff;
  508. float: left;
  509. margin-top: 24rpx;
  510. margin-bottom: 24rpx;
  511. .balabce-t {
  512. width: 100%;
  513. height: 86rpx;
  514. line-height: 86rpx;
  515. font-size: $font-size-28;
  516. color: $text-color;
  517. float: left;
  518. .balabce-t-le {
  519. float: left;
  520. font-weight: bold;
  521. }
  522. .balabce-t-ri {
  523. float: right;
  524. display: flex;
  525. align-items: center;
  526. .money {
  527. display: flex;
  528. float: left;
  529. }
  530. .checkbox-box {
  531. display: flex;
  532. width: 60rpx;
  533. float: left;
  534. height: 100%;
  535. font-size: $font-size-24;
  536. .checkbox {
  537. width: 40rpx;
  538. text-align: right;
  539. box-sizing: border-box;
  540. text-align: center;
  541. text-decoration: none;
  542. border-radius: 0;
  543. -webkit-tap-highlight-color: transparent;
  544. overflow: hidden;
  545. }
  546. }
  547. }
  548. }
  549. .balabce-b {
  550. width: 100%;
  551. float: left;
  552. overflow: hidden;
  553. .balabce-b-text {
  554. width: 100%;
  555. line-height: 58rpx;
  556. font-size: $font-size-24;
  557. color: #ff2a2a;
  558. text-align: right;
  559. float: right;
  560. }
  561. &.balabce-b--hide {
  562. padding: 0 0;
  563. height: 0px;
  564. line-height: 0px;
  565. }
  566. }
  567. }
  568. .clause {
  569. float: right;
  570. font-size: 24rpx;
  571. color: #999999;
  572. margin-top: 60rpx;
  573. margin-right: 24rpx;
  574. &.noclick {
  575. pointer-events: none;
  576. }
  577. .text {
  578. color: #1890f9;
  579. &.color-bg {
  580. color: #333333;
  581. }
  582. }
  583. }
  584. .status-text {
  585. overflow: hidden;
  586. padding: 24rpx;
  587. background: #fff;
  588. font-size: $font-size-26;
  589. .view-type {
  590. float: left;
  591. color: #ff2a2a;
  592. }
  593. .bage-buss {
  594. display: inline-block;
  595. width: 72rpx;
  596. height: 32rpx;
  597. background: radial-gradient(circle, rgba(255, 39, 180, 1) 0%, rgba(193, 77, 245, 1) 100%);
  598. border-radius: 6rpx;
  599. line-height: 32rpx;
  600. text-align: center;
  601. color: #ffffff;
  602. margin-top: 10rpx;
  603. float: right;
  604. font-size: $font-size-24;
  605. }
  606. .bage-auto {
  607. display: inline-block;
  608. width: 72rpx;
  609. height: 32rpx;
  610. background: radial-gradient(circle, rgba(255, 180, 39, 1) 0%, rgba(245, 142, 77, 1) 100%);
  611. border-radius: 6rpx;
  612. line-height: 32rpx;
  613. text-align: center;
  614. color: #ffffff;
  615. margin-top: 10rpx;
  616. float: right;
  617. font-size: $font-size-24;
  618. }
  619. .Rebate {
  620. display: inline-block;
  621. width: 72rpx;
  622. height: 32rpx;
  623. background: #ff7a51;
  624. border-radius: 6rpx;
  625. line-height: 32rpx;
  626. text-align: center;
  627. color: #ffffff;
  628. margin-top: 10rpx;
  629. float: right;
  630. font-size: $font-size-24;
  631. margin-left: 20rpx;
  632. }
  633. }
  634. .aganBj {
  635. position: fixed;
  636. left: 0;
  637. top: 0;
  638. bottom: 0;
  639. width: 100%;
  640. height: 100%;
  641. background-color: rgba(0, 0, 0, 0.5);
  642. z-index: 999999;
  643. .alertAgan {
  644. position: absolute;
  645. top: 50%;
  646. left: 50%;
  647. transform: translate(-50%, -50%);
  648. width: 580rpx;
  649. background-color: #fff;
  650. border-radius: 16rpx;
  651. .title {
  652. font-size: 30rpx;
  653. color: #333333;
  654. line-height: 42rpx;
  655. padding: 30rpx;
  656. display: block;
  657. }
  658. .goods {
  659. padding: 0 30rpx;
  660. .list {
  661. padding: 10px 0;
  662. border-bottom: 1rpx solid #e1e1e1;
  663. margin: 10rpx 0;
  664. .image-left {
  665. width: 86rpx;
  666. height: 86rpx;
  667. border: 2rpx solid #e1e1e1;
  668. border-radius: 6rpx;
  669. display: inline-block;
  670. vertical-align: middle;
  671. }
  672. .name-right {
  673. display: inline-block;
  674. width: 416rpx;
  675. margin-left: 15rpx;
  676. font-size: 26rpx;
  677. color: #666666;
  678. vertical-align: middle;
  679. word-break: break-all;
  680. overflow: hidden;
  681. text-overflow: ellipsis;
  682. display: -webkit-inline-box;
  683. -webkit-line-clamp: 2;
  684. -webkit-box-orient: vertical;
  685. }
  686. }
  687. }
  688. .BtnAll {
  689. margin-top: 30rpx;
  690. .btn {
  691. display: inline-block;
  692. width: 290rpx;
  693. height: 90rpx;
  694. line-height: 90rpx;
  695. text-align: center;
  696. &.closebtn {
  697. border-radius: 0px 0px 0px 10px;
  698. color: #999999;
  699. background: #efefef;
  700. }
  701. &.cancel {
  702. border-radius: 0px 0px 8px 0px;
  703. background: $btn-confirm;
  704. color: #fff;
  705. }
  706. }
  707. }
  708. }
  709. }
  710. </style>