applyRefund.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956
  1. <template>
  2. <view class="container">
  3. <!-- 商品信息 -->
  4. <view class="product-block">
  5. <view class="refund-title">退款商品</view>
  6. <view class="product-detail">
  7. <view class="profuct-info">
  8. <image mode="aspectFit" class="product-img" :src="orderInfo.picUrl"></image>
  9. <view class="info-right">
  10. <view class="info-main">
  11. <view class="product-name">{{ orderInfo.goodsName }}</view>
  12. <view class="price">
  13. ¥
  14. <text style="font-size: 24rpx">{{ orderInfo.actualPrice }}</text>
  15. </view>
  16. </view>
  17. <view class="other-sku">规格:{{ orderInfo.skuName }}</view>
  18. <view class="other-info">服务{{ orderInfo.serviceTimes }}次</view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="real-price">
  23. 实际付款:
  24. <text>¥{{ orderInfo.actualPrice }}</text>
  25. </view>
  26. </view>
  27. <view class="card">
  28. <view class="refund-title">退款信息</view>
  29. <view class="tt-cell">
  30. <view>退款金额</view>
  31. <view class="refund-price">¥{{ aftersale.amount }}</view>
  32. </view>
  33. <view class="tt-cell" @tap="showReason">
  34. <view style="width: 150rpx">
  35. <text class="need">*</text>
  36. 退款原因
  37. </view>
  38. <view class="cell-right default" v-if="reasonActive.id == ''">请选择</view>
  39. <view class="cell-right" v-else>{{ reasonActive.name }}</view>
  40. <view class="arrow-wrapper">
  41. <image src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png" mode="aspectFit"
  42. class="arrow-img"></image>
  43. </view>
  44. </view>
  45. <!-- </picker> -->
  46. <view class="tt-cell">
  47. <view style="width: 150rpx">
  48. <text class="need">*</text>
  49. 补充描述
  50. </view>
  51. <input :value="aftersale.reason" placeholder="补充描述,有助于更好的处理售后问题。"
  52. placeholder-style="font-size:24rpx;color:#ACADB1;" @input="onReasonChange" />
  53. </view>
  54. <view class="upload-text">上传凭证</view>
  55. <view class="comment-tips">最多上传3张</view>
  56. <!-- 图片上传 -->
  57. <view class="upload-wrapper">
  58. <view class="img-item" v-for="(item, index) in imgList" :key="index">
  59. <image mode="aspectFill" :src="item" class="user-upload" @tap="previewImg" :data-img="item"></image>
  60. <image class="close-img" mode="aspectFill" src="/static/images/icon-close.png" @tap="delImg"
  61. :data-index="index"></image>
  62. </view>
  63. <view class="upload" @tap="uploadImg">
  64. <image mode="aspectFill" src="/static/images/icon-add.png"></image>
  65. <view>上传照片</view>
  66. </view>
  67. </view>
  68. </view>
  69. <view class="submit-btn" @tap="submit">申请退款</view>
  70. <!-- 备注退款原因 -->
  71. <view class="appoint-overlay-wrapper remark-overlay" v-if="reasonPopupShow" @tap="onReasonPopupClose">
  72. <view class="remark-select" @tap.stop.prevent="onReasonClick">
  73. <view class="title">选择退款原因</view>
  74. <view class="remark-list">
  75. <view class="remark-item" :data-reason="item" @tap.stop.prevent="reasonItemSelect"
  76. v-for="(item, index) in reasonList" :key="index">
  77. <view class="remark-value">{{ item.name }}</view>
  78. <image mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-huawang/dian2.png"
  79. class="radio-img" v-if="reasonActive.id == item.id"></image>
  80. <image mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-huawang/dian1.png"
  81. class="radio-img" v-else></image>
  82. </view>
  83. </view>
  84. <view class="remark-conf-btn" @tap.stop.prevent="reasonItemConfirm">确定</view>
  85. </view>
  86. </view>
  87. <van-overlay :show="showOverLay" @click="onClickHide" z-index=999 root-portal='true'>
  88. <view class="wrapper"
  89. style="width: 652rpx;height: 627rpx;background-color:#fff;position: absolute;top: 400rpx;left: 49rpx;border-radius: 16rpx;">
  90. <view class="title-icon"
  91. style="padding: 30rpx 220rpx; height: 255rpx; background: #d77958; border-radius: 16rpx 16rpx 0 0; background: url('https://mall.zhaijieshi.cc/file/wx-huawang/bj3.png') no-repeat; background-size: contain;" >
  92. <image src="https://mall.zhaijieshi.cc/file/wx-huawang/qq.png" mode=""
  93. style="height:178rpx;width: 236rpx;"></image>
  94. </view>
  95. <text class="tips-content" style="font-weight: bold;font-size: 33rpx;display: block;width: 574rpx;text-align: center;margin: 58rpx 0 30rpx 30rpx;
  96. ">
  97. {{showErrorMsg}}
  98. </text>
  99. <text style="color: #999;display: block;margin-left: 200rpx;font-size: 22rpx;">如需帮助,请联系在线客服</text>
  100. <view class="btn-service" @tap="toService"
  101. style="margin-left: 105rpx; border-radius: 55rpx; color: #d77958;border: #d77958 1rpx solid;width: 438rpx ;height: 82rpx; line-height: 82rpx;text-align: center;font-size: 29rpx;">
  102. 在线客服
  103. </view>
  104. </view>
  105. </van-overlay>
  106. </view>
  107. </template>
  108. <script>
  109. var util = require('../../../utils/util.js');
  110. var api = require('../../../config/api.js');
  111. export default {
  112. data() {
  113. return {
  114. index: '',
  115. orderId: 0,
  116. orderInfo: {
  117. picUrl: '',
  118. goodsName: '',
  119. actualPrice: '',
  120. serviceTimes: '',
  121. skuName: ''
  122. },
  123. orderGoods: [],
  124. aftersale: {
  125. pictures: [],
  126. typeDesc: '',
  127. reason: '',
  128. amount: '',
  129. comment: '',
  130. type: ''
  131. },
  132. reasonActive: {
  133. id: '',
  134. name: ''
  135. },
  136. reasonPopupShow: false,
  137. reasonList: [],
  138. columns: ['地址约错', '约不到想要的服务时间', '活动/优惠未享受', '服务质量问题'],
  139. contentLength: 0,
  140. fileList: [],
  141. imgList: [],
  142. showPicker: false,
  143. showOverLay: false,
  144. showErrorMsg: ''
  145. };
  146. },
  147. onLoad: function(options) {
  148. // 页面初始化 options为页面跳转所带来的参数
  149. this.setData({
  150. orderId: options.id
  151. });
  152. this.getOrderDetail();
  153. this.getRefudnType();
  154. this.getAmount();
  155. },
  156. onReady: function() {
  157. // 页面渲染完成
  158. },
  159. onShow: function() {
  160. // 页面显示
  161. },
  162. onHide: function() {
  163. // 页面隐藏
  164. },
  165. onUnload: function() {
  166. // 页面关闭
  167. },
  168. methods: {
  169. onClickHide() {
  170. this.setData({
  171. showOverLay: false
  172. })
  173. },
  174. getRefudnType() {
  175. let that = this;
  176. util.request(api.AftersaleRefundType).then(function(res) {
  177. if (res.errno === 0) {
  178. that.setData({
  179. reasonList: res.data,
  180. columns: res.data.map((obj) => obj.name)
  181. });
  182. console.info(that.refundTypes);
  183. }
  184. });
  185. },
  186. getAmount: function() {
  187. util.request(api.AftersaleAmount, {
  188. orderId: this.orderId
  189. }).then((res) => {
  190. if (res.errno === 0) {
  191. console.log(res.data);
  192. this.setData({
  193. 'aftersale.amount': res.data.refundAmount
  194. });
  195. }
  196. });
  197. },
  198. getOrderDetail: function() {
  199. uni.showLoading({
  200. title: '加载中'
  201. });
  202. setTimeout(function() {
  203. uni.hideLoading();
  204. }, 2000);
  205. let that = this;
  206. util.request(api.OrderDetail, {
  207. orderId: that.orderId
  208. }).then(function(res) {
  209. if (res.errno === 0) {
  210. console.log("商品信息", res.data);
  211. that.setData({
  212. orderInfo: res.data
  213. });
  214. }
  215. uni.hideLoading();
  216. });
  217. },
  218. deleteImage(event) {
  219. const {
  220. fileList = []
  221. } = this;
  222. fileList.splice(event.detail.index, 1);
  223. this.setData({
  224. fileList: fileList
  225. });
  226. let urls = [];
  227. fileList.forEach(function(e) {
  228. urls.push(e.url);
  229. });
  230. this.setData({
  231. 'aftersale.pictures': urls
  232. });
  233. },
  234. afterRead(event) {
  235. const {
  236. file
  237. } = event.detail;
  238. let that = this;
  239. const uploadTask = uni.uploadFile({
  240. url: api.StorageUpload,
  241. filePath: file.path,
  242. name: 'file',
  243. success: function(res) {
  244. var _res = JSON.parse(res.data);
  245. if (_res.errno === 0) {
  246. var url = _res.data.url;
  247. that.aftersale.pictures.push(url);
  248. const {
  249. fileList = []
  250. } = that;
  251. fileList.push({
  252. ...file,
  253. url: url
  254. });
  255. that.setData({
  256. fileList: fileList
  257. });
  258. }
  259. },
  260. fail: function(e) {
  261. uni.showModal({
  262. title: '错误',
  263. content: '上传失败',
  264. showCancel: false
  265. });
  266. }
  267. });
  268. },
  269. previewImage: function(e) {
  270. uni.previewImage({
  271. current: e.currentTarget.id,
  272. // 当前显示图片的http链接
  273. urls: this.files // 需要预览的图片http链接列表
  274. });
  275. },
  276. contentInput: function(e) {
  277. this.setData({
  278. contentLength: e.detail.cursor,
  279. 'aftersale.comment': e.detail.value
  280. });
  281. },
  282. onReasonChange: function(e) {
  283. console.log(e);
  284. this.setData({
  285. 'aftersale.reason': e.detail.value
  286. });
  287. },
  288. onCommentChange: function(e) {
  289. console.log(e);
  290. this.setData({
  291. 'aftersale.comment': e.detail.value
  292. });
  293. },
  294. showTypePicker: function() {
  295. this.setData({
  296. showPicker: true
  297. });
  298. },
  299. onCancel: function() {
  300. this.setData({
  301. showPicker: false
  302. });
  303. },
  304. bindPickerChange: function(event) {
  305. console.log(event);
  306. this.setData({
  307. 'aftersale.type': event.detail.value,
  308. 'aftersale.typeDesc': this.columns[event.detail.value]
  309. });
  310. },
  311. submit: function() {
  312. let that = this;
  313. if (that.reasonActive.id == '') {
  314. util.showErrorToast('请选择退款原因');
  315. return false;
  316. }
  317. if (that.aftersale.reason == '') {
  318. util.showErrorToast('请填写补充描述');
  319. return false;
  320. }
  321. // uni.showLoading({
  322. // title: '提交中...',
  323. // mask: true,
  324. // success: function() {}
  325. // });
  326. let params = {
  327. orderId: this.orderId,
  328. pictures: this.imgList,
  329. type: this.reasonActive.id,
  330. typeDesc: this.reasonActive.name,
  331. reason: this.aftersale.reason,
  332. amount: this.aftersale.amount
  333. };
  334. util.request(api.AftersaleSubmit, params, 'POST').then(function(res) {
  335. // uni.hideLoading();
  336. if (res.errno === 0) {
  337. uni.showToast({
  338. title: '退款申请成功,请留意原支付账户!',
  339. icon: 'none'
  340. });
  341. setTimeout(function() {
  342. uni.hideToast()
  343. uni.navigateBack({
  344. delta: 1
  345. });
  346. }, 1000);
  347. } else {
  348. that.setData({
  349. showOverLay: true,
  350. showErrorMsg: res.errmsg
  351. })
  352. }
  353. });
  354. },
  355. previewImg(e) {
  356. let img = e.currentTarget.dataset.img;
  357. let imgs = this.imgList;
  358. uni.previewImage({
  359. current: img,
  360. // 当前显示图片的http链接
  361. urls: imgs // 需要预览的图片http链接列表
  362. });
  363. },
  364. delImg(e) {
  365. let imgs = this.imgList;
  366. let index = e.currentTarget.dataset.index;
  367. imgs.splice(index, 1);
  368. this.setData({
  369. imgList: imgs
  370. });
  371. },
  372. uploadImg() {
  373. if (this.imgList.length >= 3) {
  374. uni.showToast({
  375. title: '最多上传3张图片',
  376. icon: 'none',
  377. duration: 2000
  378. });
  379. return false;
  380. }
  381. let that = this;
  382. let count = 3 - that.imgList.length;
  383. uni.chooseImage({
  384. count: count,
  385. sizeType: ['original', 'compressed'],
  386. sourceType: ['album', 'camera'],
  387. success: function(res) {
  388. console.log(res);
  389. let tempFilePaths = res.tempFilePaths;
  390. uni.showLoading({
  391. title: '上传中...'
  392. });
  393. for (let i = 0; i < tempFilePaths.length; i++) {
  394. let imgs = that.imgList;
  395. if (imgs.length >= 3) {
  396. that.setData({
  397. imgList: imgs
  398. });
  399. return false;
  400. } else {
  401. uni.uploadFile({
  402. url: api.StorageUpload,
  403. filePath: tempFilePaths[i],
  404. name: 'file',
  405. success(res) {
  406. console.log(res);
  407. let data = JSON.parse(res.data);
  408. if (data.errno == 0) {
  409. imgs.push(data.data.url);
  410. that.setData({
  411. imgList: imgs
  412. });
  413. } else {
  414. console.log('上传失败');
  415. }
  416. }
  417. });
  418. }
  419. }
  420. uni.hideLoading();
  421. }
  422. });
  423. },
  424. showReason() {
  425. this.setData({
  426. reasonPopupShow: true
  427. });
  428. },
  429. onReasonPopupClose() {
  430. this.setData({
  431. reasonPopupShow: false
  432. });
  433. },
  434. onReasonClick() {
  435. //阻止事件冒泡,不要删
  436. },
  437. reasonItemSelect(e) {
  438. let reason = e.currentTarget.dataset.reason;
  439. this.setData({
  440. reasonActive: reason
  441. });
  442. },
  443. reasonItemConfirm() {
  444. if (this.reasonActive.id === '') {
  445. util.showErrorToast('请选择退款原因');
  446. return false;
  447. }
  448. this.setData({
  449. reasonPopupShow: false
  450. });
  451. },
  452. toService() {
  453. uni.navigateTo({
  454. url: "/pages/im/im"
  455. })
  456. }
  457. }
  458. };
  459. </script>
  460. <style>
  461. page {
  462. /* height: 100%; */
  463. width: 100%;
  464. background: #f4f4f4;
  465. padding: 0 0 80rpx;
  466. }
  467. .container {
  468. padding: 0 30rpx;
  469. }
  470. .order-goods {
  471. margin-top: 30rpx;
  472. background: #fff;
  473. border-radius: 10rpx;
  474. width: 690rpx;
  475. padding: 30rpx 20rpx;
  476. }
  477. .order-goods .h {
  478. height: 30rpx;
  479. line-height: 30rpx;
  480. margin-bottom: 30rpx;
  481. font-size: 30rpx;
  482. color: #333;
  483. }
  484. .order-goods .h .label {
  485. float: left;
  486. font-size: 30rpx;
  487. color: #333;
  488. }
  489. .order-goods .h .status {
  490. float: right;
  491. font-size: 30rpx;
  492. color: #b4282d;
  493. }
  494. .order-goods .item {
  495. display: flex;
  496. align-items: center;
  497. height: 190rpx;
  498. }
  499. .order-goods .item:last-child {
  500. border-bottom: none;
  501. }
  502. .order-goods .item .img {
  503. height: 190rpx;
  504. width: 190rpx;
  505. background: #f4f4f4;
  506. margin-right: 20rpx;
  507. border-radius: 10rpx;
  508. }
  509. .order-goods .item .img image {
  510. height: 190rpx;
  511. border-radius: 10rpx;
  512. width: 190rpx;
  513. }
  514. .order-goods .item .info {
  515. flex: 1;
  516. height: 190rpx;
  517. }
  518. .order-goods .item .t {
  519. margin-top: 10rpx;
  520. /* height: 33rpx; */
  521. line-height: 34rpx;
  522. margin-bottom: 30rpx;
  523. display: flex;
  524. justify-content: space-between;
  525. }
  526. .order-goods .item .t .name {
  527. max-height: 68rpx;
  528. line-height: 34rpx;
  529. color: #333;
  530. font-size: 30rpx;
  531. width: 360rpx;
  532. margin-right: 40rpx;
  533. /* text-overflow: ellipsis;
  534. white-space: nowrap;*/
  535. overflow: hidden;
  536. }
  537. .order-goods .item .t .number {
  538. line-height: 36rpx;
  539. color: #666;
  540. font-size: 26rpx;
  541. }
  542. .order-goods .item .attr {
  543. height: 26rpx;
  544. line-height: 26rpx;
  545. color: #666;
  546. font-size: 26rpx;
  547. }
  548. .order-goods .item .price {
  549. height: 26rpx;
  550. line-height: 26rpx;
  551. color: #666;
  552. font-size: 26rpx;
  553. margin-top: 16rpx;
  554. }
  555. .module-title {
  556. height: 80rpx;
  557. padding: 0 8rpx;
  558. line-height: 80rpx;
  559. font-size: 30rpx;
  560. color: #333;
  561. border-bottom: 1rpx solid #efefef;
  562. }
  563. .tt-cell {
  564. display: flex;
  565. /* padding:0 4rpx 0 8rpx; */
  566. align-items: flex-end;
  567. justify-content: space-between;
  568. background: #fff;
  569. height: 78rpx;
  570. padding-bottom: 12rpx;
  571. /* border-bottom:2rpx solid #ebedf0; */
  572. }
  573. .tt-cell view {
  574. font-size: 26rpx;
  575. color: #191919;
  576. font-weight: bold;
  577. }
  578. .tt-cell view.cell-right {
  579. font-family: normal;
  580. flex: 1;
  581. border-bottom: 2rpx solid #e0e0e0;
  582. padding-bottom: 8rpx;
  583. }
  584. .arrow-wrapper {
  585. border-bottom: 2rpx solid #e0e0e0;
  586. height: 40rpx;
  587. }
  588. .arrow-img {
  589. width: 28rpx;
  590. height: 28rpx;
  591. }
  592. .tt-cell view.cell-right.default {
  593. color: #acadb1;
  594. font-size: 24rpx;
  595. font-weight: normal;
  596. }
  597. .tt-cell input {
  598. flex: 1;
  599. border-bottom: 2rpx solid #e0e0e0;
  600. }
  601. .need {
  602. color: red;
  603. }
  604. .tt-cell.comment-cell {
  605. border: none;
  606. }
  607. .tt-cell.comment-cell view {
  608. padding-left: 14rpx;
  609. }
  610. .comment-tips {
  611. /* padding-left:22rpx; */
  612. height: 50rpx;
  613. line-height: 30rpx;
  614. color: #777;
  615. font-size: 20rpx;
  616. background: #fff;
  617. }
  618. .submit-btn {
  619. text-align: center;
  620. color: #fff;
  621. margin: 120rpx 26rpx 60rpx;
  622. width: 650rpx;
  623. height: 90rpx;
  624. line-height: 90rpx;
  625. background: #d77958;
  626. border-radius: 90rpx;
  627. font-size: 34rpx;
  628. }
  629. .upload-text {
  630. height: 88rpx;
  631. line-height: 88rpx;
  632. /* padding-left:22rpx; */
  633. background: #fff;
  634. font-size: 26rpx;
  635. color: #191919;
  636. font-weight: bold;
  637. }
  638. .upload-wrapper {
  639. /* margin:18rpx -20rpx 56rpx 0; */
  640. display: flex;
  641. flex-wrap: wrap;
  642. background: #fff;
  643. padding: 0 24rpx 40rpx 0;
  644. }
  645. .upload {
  646. width: 160rpx;
  647. height: 160rpx;
  648. background: #fafafa;
  649. border-radius: 4rpx;
  650. border: 1rpx solid #d9d9d9;
  651. display: flex;
  652. align-items: center;
  653. flex-direction: column;
  654. justify-content: center;
  655. margin-right: 16rpx;
  656. box-sizing: border-box;
  657. }
  658. .upload image {
  659. width: 38rpx;
  660. height: 38rpx;
  661. margin-bottom: 22rpx;
  662. }
  663. .upload view {
  664. font-weight: 400;
  665. color: #c5c3c3;
  666. line-height: 48rpx;
  667. font-size: 26rpx;
  668. }
  669. .img-item {
  670. width: 160rpx;
  671. height: 160rpx;
  672. background: #fff;
  673. border-radius: 2rpx;
  674. border: 1rpx solid #d9d9d9;
  675. margin: 0 20rpx 24rpx 0;
  676. padding: 8rpx;
  677. position: relative;
  678. box-sizing: border-box;
  679. }
  680. .img-item .user-upload {
  681. width: 144rpx;
  682. height: 144rpx;
  683. }
  684. .img-item .close-img {
  685. width: 28rpx;
  686. height: 28rpx;
  687. position: absolute;
  688. top: 0;
  689. right: 0;
  690. }
  691. .refund-tips {
  692. color: #ee0a24;
  693. font-size: 22rpx;
  694. line-height: 40rpx;
  695. padding-left: 8rpx;
  696. margin: 4rpx 0 8rpx;
  697. }
  698. .card {
  699. background: #fff;
  700. border-radius: 24rpx;
  701. padding: 30rpx 24rpx;
  702. }
  703. .tt-cell input {
  704. flex: 1;
  705. font-size: 26rpx;
  706. color: #666;
  707. }
  708. /* 产品订单信息 */
  709. .product-block {
  710. background: #ffffff;
  711. border-radius: 24rpx;
  712. padding: 24rpx;
  713. margin: 28rpx 0 30rpx;
  714. }
  715. .product-block .title {
  716. height: 88rpx;
  717. line-height: 78rpx;
  718. }
  719. .profuct-info {
  720. height: 190rpx;
  721. display: flex;
  722. align-items: flex-start;
  723. }
  724. .product-img {
  725. width: 190rpx;
  726. height: 190rpx;
  727. border-radius: 10rpx;
  728. margin-right: 20rpx;
  729. }
  730. .info-right {
  731. /* padding-top: 10rpx; */
  732. flex: 1;
  733. }
  734. .info-main {
  735. display: flex;
  736. height: 40rpx;
  737. align-items: center;
  738. justify-content: space-between;
  739. margin-bottom: 25rpx;
  740. }
  741. .product-name {
  742. line-height: 40rpx;
  743. font-size: 28rpx;
  744. /* padding-left: 20rpx;
  745. text-indent: -16rpx; */
  746. overflow: hidden;
  747. text-overflow: ellipsis;
  748. white-space: nowrap;
  749. width: 328rpx;
  750. font-weight: bold;
  751. color: rgba(0, 0, 0, 0.9);
  752. }
  753. .info-main .price {
  754. color: rgba(0, 0, 0, 0.9);
  755. font-size: 18rpx;
  756. font-weight: bold;
  757. }
  758. .info-right .other-info {
  759. font-size: 22rpx;
  760. color: rgba(0, 0, 0, 0.9);
  761. line-height: 34rpx;
  762. font-weight: bold;
  763. }
  764. .refund-title {
  765. color: #191919;
  766. font-size: 30rpx;
  767. font-weight: bold;
  768. margin-bottom: 28rpx;
  769. height: 30rpx;
  770. line-height: 30rpx;
  771. }
  772. .real-price {
  773. display: flex;
  774. align-items: center;
  775. height: 36rpx;
  776. justify-content: flex-end;
  777. font-size: 26rpx;
  778. font-weight: bold;
  779. margin: 20rpx 0 12rpx;
  780. }
  781. .real-price text {
  782. color: #ff004e;
  783. font-size: 26rpx;
  784. }
  785. .tt-cell view.refund-price {
  786. color: #ff004e;
  787. }
  788. /* 选择备注 */
  789. .appoint-overlay-wrapper {
  790. position: fixed;
  791. top: 0;
  792. left: 0;
  793. width: 100%;
  794. height: 100%;
  795. background-color: rgba(0, 0, 0, 0.7);
  796. z-index: 999;
  797. }
  798. .appoint-overlay-wrapper.remark-overlay {
  799. display: flex;
  800. align-items: flex-end;
  801. justify-content: center;
  802. }
  803. .remark-select {
  804. width: 750rpx;
  805. padding: 0 24rpx 56rpx;
  806. background: #ffffff;
  807. border-radius: 24rpx 24rpx 0 0;
  808. }
  809. .remark-select .title {
  810. font-weight: 600;
  811. color: #191919;
  812. font-size: 30rpx;
  813. height: 90rpx;
  814. line-height: 90rpx;
  815. text-align: center;
  816. border-bottom: 2rpx solid #e0e0e0;
  817. }
  818. .remark-list {
  819. height: 340rpx;
  820. overflow-y: scroll;
  821. }
  822. .remark-item .remark-value {
  823. color: #191919;
  824. font-size: 26rpx;
  825. font-weight: bold;
  826. flex: 1;
  827. text-align: left;
  828. }
  829. .remark-list .remark-item {
  830. height: 84rpx;
  831. display: flex;
  832. border-bottom: 2rpx solid #e0e0e0;
  833. align-items: center;
  834. }
  835. .remark-item .radio-img {
  836. width: 26rpx;
  837. height: 26rpx;
  838. }
  839. .remark-conf-btn {
  840. width: 652rpx;
  841. height: 90rpx;
  842. line-height: 90rpx;
  843. border-radius: 90rpx;
  844. border: 4rpx solid #d77958;
  845. text-align: center;
  846. font-size: 36rpx;
  847. color: #d77958;
  848. margin: 0 auto;
  849. margin-top: 54rpx;
  850. }
  851. .other-sku {
  852. color: #999;
  853. font-size: 22rpx;
  854. margin-bottom: 25rpx;
  855. }
  856. </style>