GoodsDetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. <template>
  2. <div class="right-wrap" style="margin-top: 20px;">
  3. <el-breadcrumb separator="/" style="margin-bottom: 13px">
  4. <el-breadcrumb-item :to="{ path: '/myCenter' }">个人中心</el-breadcrumb-item>
  5. <el-breadcrumb-item>兑换详情</el-breadcrumb-item>
  6. </el-breadcrumb>
  7. <el-card class="box-card">
  8. <div slot="header" class="clearfix">
  9. <span>兑换详情</span>
  10. </div>
  11. <div class="goodDetail">
  12. <div class="goods-image">
  13. <!-- 左侧大图-->
  14. <div class="middle" ref="target">
  15. <img style=" width: 400px;height: 400px;" :src="imageList[activeIndex]" alt="" />
  16. </div>
  17. <!-- 小图列表 -->
  18. <ul class="small">
  19. <li v-for="(img, i) in imageList" :key="i" v-if="i<5" @mouseenter="enterhandler(i)"
  20. :class="{ active: i == activeIndex }">
  21. <img style="width: 68px;height: 68px;" :src="img" alt="" />
  22. </li>
  23. </ul>
  24. </div>
  25. <div class="goods-content">
  26. <div class="goods-name">{{ data.name }}</div>
  27. <div class="goods-redeemPoints">兑换积分:{{ data.redeemPoints }}
  28. <!-- <span style="color: red;margin-left: 150px;">参 考 价:¥{{ data.hisPrice}}</span> -->
  29. </div>
  30. <div class="goods-redeemPoints">物品类别:{{ data.skuType==0 ? '积分商品' : '活动礼品' }}</div>
  31. <div class="goods-redeemPoints">兑换方式:{{ data.deliveryTypeName }}</div>
  32. <div class="goods-redeemPoints">是否包邮:{{ data.freightType == '0' ? '不包邮' : '包邮' }}</div>
  33. <div class="footer">
  34. <div class="left-info" style="width: 100%;">
  35. <span class="info-title">
  36. 兑换说明
  37. </span>
  38. <div v-html="data.comment"></div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. <div v-if="data.deliveryType == 1">
  44. <p class="label">收货地址</p>
  45. <div class="address">
  46. <div class="address-container">
  47. <div class="header">
  48. <div class="left">
  49. <span>{{ data.contact }}</span>
  50. </div>
  51. </div>
  52. <p class="phone">{{ data.contactPhone }}</p>
  53. <p class="address">{{ data.addressStr + data.street + data.contactAddr }}</p>
  54. </div>
  55. </div>
  56. </div>
  57. <p class="label">物品信息</p>
  58. <div v-if="data.skuType == 0">
  59. <table class="table">
  60. <thead>
  61. <tr>
  62. <th width="35%">兑换物品</th>
  63. <th style="text-align: center;">数量</th>
  64. <th style="text-align: center;">单价</th>
  65. <th style="text-align: center;">兑换方式</th>
  66. <th v-if="data.reclaimAddrName" style="text-align: center;">领取地点</th>
  67. <th style="text-align: center;">总计</th>
  68. </tr>
  69. </thead>
  70. <tbody>
  71. <tr>
  72. <td>
  73. <div class="prize-info">
  74. <div class="prize-img-container">
  75. <el-image :src="data.imgUrl" v-if="data.imgUrl" :preview-src-list="[data.imgUrl]"
  76. class="prize-img"></el-image>
  77. </div>
  78. <div class="prize-detail-info">
  79. <h3 style="color: #1e80ff;" class="title" @click="handleClickGood(data.skuDesc)">{{ data.name }}</h3>
  80. <!-- <p class="desc">
  81. <span v-if="data.location">{{ data.location }}</span>
  82. </p> -->
  83. </div>
  84. </div>
  85. </td>
  86. <td style="text-align: center;">{{ data.skuCount }}</td>
  87. <td style="text-align: center;">{{ data.redeemPoints }} 积分 <span v-if="data.wxPay!='0'"> + {{ data.wxPay }} 元</span></td>
  88. <td style="text-align: center;">{{ data.deliveryTypeName }}</td>
  89. <td v-if="data.reclaimAddrName" style="text-align: center;">{{ data.reclaimAddrName }}</td>
  90. <td style="text-align: center;" class="finlly-redeemPoints">
  91. {{ data.totalRedeemPoints }} 积分
  92. <span v-if="data.wxPay!='0'"> + {{ data.totalWxPay }} 元</span>
  93. </td>
  94. </tr>
  95. </tbody>
  96. </table>
  97. </div>
  98. <div v-else>
  99. <table class="table">
  100. <thead>
  101. <tr>
  102. <th width="35%">兑换物品</th>
  103. <!-- <th>数量</th> -->
  104. <th style="text-align: center;">物品属性</th>
  105. <th style="text-align: center;">兑换卷</th>
  106. <th style="text-align: center;">兑换方式</th>
  107. <th v-if="data.deliveryType == '1' && data.freightType=='0'" style="text-align: center;">快递费</th>
  108. <th v-if="data.deliveryType == '0'" style="text-align: center;">领取地点</th>
  109. </tr>
  110. </thead>
  111. <tbody>
  112. <tr>
  113. <td>
  114. <div class="prize-info">
  115. <div class="prize-img-container">
  116. <el-image :src="data.imgUrl" v-if="data.imgUrl" :preview-src-list="imgUrls.length==0?[data.imgUrl]:imgUrls"
  117. class="prize-img"></el-image>
  118. </div>
  119. <div class="prize-detail-info">
  120. <h3 class="title">{{ data.name }}</h3>
  121. <!-- <p class="desc">
  122. <span v-if="data.location">{{ data.location }}</span>
  123. </p> -->
  124. </div>
  125. </div>
  126. </td>
  127. <!-- <td>{{ skuCount }}</td> -->
  128. <td style="text-align: center;">{{ data.productAttributeName }}</td>
  129. <td style="text-align: center;">{{ data.couponName }}</td>
  130. <td style="text-align: center;">{{ data.deliveryTypeName }}</td>
  131. <td v-if="data.deliveryType == '1' && data.freightType=='0'" style="text-align: center;">180 积分</td>
  132. <td v-if="data.deliveryType == '0'" style="text-align: center;">{{ data.reclaimAddrName }}</td>
  133. </tr>
  134. </tbody>
  135. </table>
  136. </div>
  137. <p class="label">兑换记录</p>
  138. <el-table :data="logs" border style="width: 100%;margin-bottom: 20px;" size="mini">
  139. <el-table-column align="center" prop="auditor" label="处理人"></el-table-column>
  140. <el-table-column align="center" prop="comment" label="处理结果"></el-table-column>
  141. <el-table-column align="center" prop="orderStatus" label="状态"></el-table-column>
  142. <el-table-column align="center" prop="createTime" label="处理时间"></el-table-column>
  143. </el-table>
  144. <div class="footer" v-if="(data.orderType == 3 || data.orderType == 4) && (data.deliveryType == 0 || data.deliveryType == 1 || data.deliveryType == 2)">
  145. <div class="left-info">
  146. <span class="info-title">
  147. <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"
  148. class="info-icon">
  149. <path fill-rule="evenodd" clip-rule="evenodd"
  150. d="M8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1Z"
  151. fill="#165DFF"></path>
  152. <path fill-rule="evenodd" clip-rule="evenodd"
  153. d="M8.54189 6.70582C8.67075 6.70582 8.77522 6.81029 8.77522 6.93915L8.77511 10.2335L9.46743 10.2343C9.61176 10.2343 9.72876 10.3513 9.72876 10.4956V11.3319C9.72876 11.4762 9.61176 11.5932 9.46743 11.5932H6.58458C6.44025 11.5932 6.32324 11.4762 6.32324 11.3319V10.4956C6.32324 10.3513 6.44025 10.2343 6.58458 10.2343L7.28178 10.2335V8.08122L7.14759 8.08198C7.00326 8.08198 6.88626 7.96498 6.88626 7.82065V6.97073C6.88626 6.8264 7.00326 6.70939 7.14759 6.70939L7.47956 6.70859C7.49132 6.70677 7.50337 6.70582 7.51565 6.70582H8.54189ZM8.40513 4.41602C8.54946 4.41602 8.66646 4.53302 8.66646 4.67735V5.64802C8.66646 5.79235 8.54946 5.90935 8.40513 5.90935H7.43446C7.29013 5.90935 7.17313 5.79235 7.17313 5.64802V4.67735C7.17313 4.53302 7.29013 4.41602 7.43446 4.41602H8.40513Z"
  154. fill="white"></path>
  155. </svg>
  156. 领取详情
  157. </span>
  158. <p class="info-content" v-if="data.deliveryType == 1">
  159. 快递类物品兑换后,将在这里显示兑换的物流单号,请保存好该信息自行查阅快递物流信息。<br>
  160. 物流单号:<span style="font-weight: 600;color: #ff834e;">{{ data.trackingNumber }}</span><br>
  161. </p>
  162. <p class="info-content" v-if="data.deliveryType == 2">
  163. 虚拟类物品兑换后,将在这里显示兑换的券码,请保存好该信息自行兑换。<br>
  164. 券码:<span style="font-weight: 600;color: #ff834e;">{{ data.trackingNumber }}</span><br>
  165. </p>
  166. <p class="info-content" v-if="data.deliveryType == 0">
  167. 办公室领取的物品请到各地公司进行领取<br>
  168. <!-- 领取联系人<br>
  169. 上海办公室:茅玮婷<br>
  170. 北京办公室:刘琳<br>
  171. 洛阳办公室:吴燕敏<br> -->
  172. </p>
  173. </div>
  174. <div class="right" v-if="data.orderType == 3">
  175. <!-- <div class="remark-line">
  176. <span>备注:</span>
  177. <el-input v-model="comment" class="remark" placeholder="请输入备注,例如兑换商品出现的问题等" type="textarea"></el-input>
  178. </div> -->
  179. <div class="btn-line">
  180. <el-button @click="handleClickConfirm(0)" type="primary" round>确认收货</el-button>
  181. <!-- <el-button @click="handleClickConfirm(1)" type="warning" round>商品问题反馈</el-button> -->
  182. </div>
  183. </div>
  184. </div>
  185. <div v-if="data.deliveryType == 3 || data.deliveryType == 4">
  186. <div class="right" style="text-align: right;" v-if="data.orderType == 3">
  187. <div class="btn-line">
  188. <el-button @click="handleClickConfirm(0)" type="primary" round>确认收货</el-button>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="footer">
  193. <div class="left-info" style="width: 100%">
  194. <span class="info-title">
  195. <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"
  196. class="info-icon">
  197. <path fill-rule="evenodd" clip-rule="evenodd"
  198. d="M8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1Z"
  199. fill="#165DFF"></path>
  200. <path fill-rule="evenodd" clip-rule="evenodd"
  201. d="M8.54189 6.70582C8.67075 6.70582 8.77522 6.81029 8.77522 6.93915L8.77511 10.2335L9.46743 10.2343C9.61176 10.2343 9.72876 10.3513 9.72876 10.4956V11.3319C9.72876 11.4762 9.61176 11.5932 9.46743 11.5932H6.58458C6.44025 11.5932 6.32324 11.4762 6.32324 11.3319V10.4956C6.32324 10.3513 6.44025 10.2343 6.58458 10.2343L7.28178 10.2335V8.08122L7.14759 8.08198C7.00326 8.08198 6.88626 7.96498 6.88626 7.82065V6.97073C6.88626 6.8264 7.00326 6.70939 7.14759 6.70939L7.47956 6.70859C7.49132 6.70677 7.50337 6.70582 7.51565 6.70582H8.54189ZM8.40513 4.41602C8.54946 4.41602 8.66646 4.53302 8.66646 4.67735V5.64802C8.66646 5.79235 8.54946 5.90935 8.40513 5.90935H7.43446C7.29013 5.90935 7.17313 5.79235 7.17313 5.64802V4.67735C7.17313 4.53302 7.29013 4.41602 7.43446 4.41602H8.40513Z"
  202. fill="white"></path>
  203. </svg>
  204. 物品介绍
  205. </span>
  206. <div v-html="data.skuDesc"></div>
  207. </div>
  208. </div>
  209. </el-card>
  210. <el-dialog title="物品详情" :visible.sync="dialogVisibleGoods" width="40%">
  211. <div v-html="data.skuDesc"></div>
  212. </el-dialog>
  213. </div>
  214. </template>
  215. <script>
  216. import { setTab } from '@/utils/auth';
  217. import { orderInfo, orderConfirm,notice } from "@/api/allApi";
  218. export default {
  219. data() {
  220. return {
  221. noticeContent: '',
  222. activeIndex: 0,
  223. imageList: [
  224. // "https://yanxuan-item.nosdn.127.net/d917c92e663c5ed0bb577c7ded73e4ec.png",
  225. // "https://yanxuan-item.nosdn.127.net/e801b9572f0b0c02a52952b01adab967.jpg",
  226. // "https://yanxuan-item.nosdn.127.net/b52c447ad472d51adbdde1a83f550ac2.jpg",
  227. // "https://yanxuan-item.nosdn.127.net/f93243224dc37674dfca5874fe089c60.jpg",
  228. // "https://yanxuan-item.nosdn.127.net/f881cfe7de9a576aaeea6ee0d1d24823.jpg"
  229. ],
  230. skuDesc:'',
  231. dialogVisibleGoods:false,
  232. orderId: this.$route.query.orderId,
  233. comment: '',
  234. logs: [],
  235. skuCount: 1,
  236. data: {},
  237. imgUrls:[],
  238. };
  239. },
  240. created() {
  241. const orderId = this.$route.query.orderId;
  242. this.getInfo(orderId);
  243. this.getNotice('goodsNotice');
  244. },
  245. methods: {
  246. getNotice(val) {
  247. notice({ noticeType: val }).then(response => {
  248. console.log(response.data.data);
  249. this.noticeContent = response.data.data.content
  250. })
  251. },
  252. enterhandler(i) {
  253. this.activeIndex = i;
  254. },
  255. handleClickGood(val) {
  256. this.skuDesc = val;
  257. if(this.skuDesc){
  258. this.dialogVisibleGoods = true;
  259. }
  260. // this.$router.push({
  261. // path: '/home/pointsMall/goodDetail',
  262. // query: {
  263. // id: id,
  264. // }
  265. // });
  266. },
  267. getInfo(orderId) {
  268. orderInfo({ orderId: orderId }).then((response) => {
  269. this.data = response.data.data;
  270. this.logs = response.data.data.logs;
  271. let imgs = response.data.data.imgs;
  272. if(imgs){
  273. imgs.forEach(element => {
  274. this.imgUrls.push(element.url);
  275. this.imageList.push(element.url);
  276. });
  277. }
  278. })
  279. },
  280. handleClickConfirm(val) {
  281. if (val == 1 && this.comment == '') {
  282. this.$message.error('请填写备注内容');
  283. return
  284. };
  285. const params = {
  286. orderId: this.orderId,
  287. flag: val,
  288. comment: this.comment
  289. }
  290. orderConfirm(params).then(response => {
  291. console.log(response.data.data);
  292. this.$message({
  293. message: '提交成功!',
  294. type: 'success'
  295. });
  296. setTab('exchange');
  297. this.$router.push({
  298. path: '/home/myCenter',
  299. });
  300. })
  301. }
  302. },
  303. };
  304. </script>
  305. <style scoped>
  306. ::v-deep .el-card__body {
  307. padding: 20px !important;
  308. }
  309. .clearfix:before,
  310. .clearfix:after {
  311. display: table;
  312. content: "";
  313. }
  314. .clearfix:after {
  315. clear: both;
  316. }
  317. .box-card {
  318. width: 100%;
  319. }
  320. /* .label:first-child {
  321. margin-top: 0;
  322. } */
  323. .label {
  324. font-size: 16px;
  325. line-height: 24px;
  326. margin: 16px 0 24px;
  327. }
  328. .address-container {
  329. padding: 16px;
  330. min-height: 112px;
  331. background-color: #f7f8fa;
  332. box-sizing: border-box;
  333. border-radius: 4px;
  334. width: 320px;
  335. border: 1px solid #abcdff;
  336. }
  337. .address-container .header {
  338. font-weight: 500;
  339. font-size: 14px;
  340. line-height: 24px;
  341. color: #252933;
  342. display: flex;
  343. justify-content: space-between;
  344. margin: 0 0 8px;
  345. }
  346. .address-container .header .left {
  347. display: flex;
  348. justify-content: center;
  349. align-items: center;
  350. }
  351. .address-container .btn {
  352. flex: none;
  353. color: #1e80ff;
  354. cursor: pointer;
  355. font-weight: 400;
  356. margin-left: 1em;
  357. }
  358. .address-container .address,
  359. .address-container .phone {
  360. margin: 0;
  361. font-size: 14px;
  362. line-height: 24px;
  363. color: #515767;
  364. }
  365. .address-container.new {
  366. border: 1px dashed #e4e6eb;
  367. width: 100%;
  368. display: flex;
  369. align-items: center;
  370. justify-content: center;
  371. cursor: pointer;
  372. flex-flow: column nowrap;
  373. }
  374. .address-container {
  375. padding: 16px;
  376. min-height: 112px;
  377. background-color: #f7f8fa;
  378. box-sizing: border-box;
  379. border-radius: 4px;
  380. width: 320px;
  381. border: 1px solid #abcdff;
  382. }
  383. .address-container.new .add-icon {
  384. font-size: 16px;
  385. color: #515767;
  386. }
  387. .byte-icon {
  388. width: 1em;
  389. height: 1em;
  390. display: inline-block;
  391. vertical-align: middle;
  392. line-height: 1;
  393. }
  394. svg:not(:root) {
  395. overflow-clip-margin: content-box;
  396. overflow: hidden;
  397. }
  398. .byte-icon svg {
  399. width: 100%;
  400. height: 100%;
  401. fill: currentColor;
  402. pointer-events: none;
  403. }
  404. .address-container.new .add-label {
  405. font-size: 14px;
  406. line-height: 24px;
  407. color: #8a919f;
  408. margin: 18px 0 0;
  409. }
  410. .table {
  411. border-collapse: collapse;
  412. border: 1px solid #e4e6eb;
  413. box-sizing: border-box;
  414. border-radius: 2px;
  415. width: 100%;
  416. text-align: left;
  417. font-size: 14px;
  418. line-height: 24px;
  419. border-collapse: separate;
  420. border-spacing: 0;
  421. border-radius: 4px;
  422. }
  423. .table tr {
  424. border: 1px solid #e4e6eb;
  425. }
  426. .table th {
  427. padding: 12px 16px;
  428. background-color: #f7f8fa;
  429. font-weight: 500;
  430. color: #282f38;
  431. }
  432. .table td {
  433. padding: 16px;
  434. vertical-align: middle;
  435. color: #515767;
  436. }
  437. .table .prize-info {
  438. display: flex;
  439. }
  440. .table .prize-img-container {
  441. display: flex;
  442. align-items: center;
  443. justify-content: center;
  444. background: #f7f8fa;
  445. width: 80px;
  446. height: 80px;
  447. }
  448. .table .prize-detail-info {
  449. margin-left: 16px;
  450. display: flex;
  451. flex-flow: column;
  452. align-items: flex-start;
  453. justify-content: center;
  454. }
  455. .table .prize-img-container .prize-img {
  456. max-height: 64px;
  457. }
  458. .lazy {
  459. position: relative;
  460. -o-object-fit: cover;
  461. object-fit: cover;
  462. }
  463. img {
  464. border-style: none;
  465. }
  466. .table .prize-detail-info {
  467. margin-left: 16px;
  468. display: flex;
  469. flex-flow: column;
  470. align-items: flex-start;
  471. justify-content: center;
  472. }
  473. .table .prize-detail-info .title {
  474. cursor: pointer;
  475. font-weight: 400;
  476. font-size: 14px;
  477. line-height: 24px;
  478. color: #1d2129;
  479. margin: 0 0 3px;
  480. }
  481. .table .prize-detail-info .desc {
  482. margin: 0;
  483. line-height: 18px;
  484. height: 18px;
  485. }
  486. .table .prize-detail-info .desc span {
  487. font-size: 12px;
  488. line-height: 14px;
  489. color: #ff7d00;
  490. background: #fff7e8;
  491. padding: 2px 4px;
  492. }
  493. .table .finlly-redeemPoints {
  494. font-weight: 500;
  495. font-size: 14px;
  496. line-height: 24px;
  497. color: #1e80ff;
  498. }
  499. .footer {
  500. margin-top: 16px;
  501. display: flex;
  502. justify-content: space-between;
  503. }
  504. .footer .left-info {
  505. box-sizing: border-box;
  506. width: 400px;
  507. height: -webkit-fit-content;
  508. height: -moz-fit-content;
  509. height: fit-content;
  510. background-color: #e8f3ff;
  511. border-radius: 4px;
  512. padding: 16px;
  513. }
  514. .footer .left-info .info-title {
  515. font-size: 14px;
  516. line-height: 24px;
  517. color: #282f38;
  518. display: flex;
  519. align-items: center;
  520. }
  521. .footer .left-info .info-icon {
  522. margin-right: 8px;
  523. }
  524. .footer .left-info .info-content {
  525. margin: 4px 0 4px 2em;
  526. white-space: pre-line;
  527. font-size: 12px;
  528. line-height: 20px;
  529. color: #8a919f;
  530. }
  531. .footer .right {
  532. font-size: 14px;
  533. line-height: 24px;
  534. color: #282f38;
  535. }
  536. .footer .right .remark-line {
  537. display: flex;
  538. position: relative;
  539. }
  540. .footer .right .remark {
  541. width: 400px;
  542. }
  543. .footer .right .btn-line {
  544. margin-top: 16px;
  545. text-align: right;
  546. }
  547. .addButton-address {
  548. background: #1e80ff;
  549. border-color: #1e80ff;
  550. color: #fff;
  551. width: 160px;
  552. height: 48px;
  553. border-radius: 50px;
  554. line-height: 46px;
  555. padding: 0;
  556. font-size: 16px;
  557. border: 1px solid transparent;
  558. }
  559. .goodDetail {
  560. display: flex;
  561. height: 485px;
  562. }
  563. .goods-image {
  564. width: 400px;
  565. height: 480px;
  566. position: relative;
  567. display: flex;
  568. flex-direction: column;
  569. }
  570. .goods-image .middle {
  571. width: 400px;
  572. height: 400px;
  573. background: #f5f5f5;
  574. }
  575. .goods-image .small {
  576. height: 80px;
  577. display: flex;
  578. /* justify-content: space-between; */
  579. }
  580. .goods-image .small li {
  581. width: 68px;
  582. height: 68px;
  583. margin-right: 12px;
  584. margin-top: 15px;
  585. cursor: pointer;
  586. }
  587. .goods-image .small li:hover {
  588. border: 2px solid red;
  589. }
  590. .active {
  591. border: 2px solid red;
  592. }
  593. .goods-content {
  594. flex: 1;
  595. margin-left: 10px;
  596. height: 100%;
  597. scrollbar-width: none; /* firefox */
  598. -ms-overflow-style: none; /* IE 10+ */
  599. overflow-x: hidden;
  600. overflow-y: auto;
  601. }
  602. .goods-content::-webkit-scrollbar {
  603. display: none; /* Chrome Safari */
  604. }
  605. .goods-content .goods-name{
  606. font-size: 18px;
  607. font-weight: bold;
  608. line-height: 36px;
  609. }
  610. .goods-content .goods-redeemPoints{
  611. font-size: 16px;
  612. line-height: 32px;
  613. }
  614. </style>