order-details.vue 19 KB

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