order-details.vue 19 KB

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