index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876
  1. <template>
  2. <mobile-frame>
  3. <view class="main">
  4. <view class="one">
  5. <input type="text" v-model="searchInfo.goods" @input="toInput" placeholder="搜索商品">
  6. </view>
  7. <view class="two">
  8. <tabs :tabs="tabs" @tabsChange="tabsChange">
  9. <view class="tabsList">
  10. <scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" @scroll="toScroll">
  11. <view class="list-scroll-view">
  12. <view class="list" v-for="(item,index) in list" :key="index" @tap="toInfo(item)">
  13. <view class="list_1" v-if="tabs.active=='0'">
  14. <view class="goods">
  15. <view class="goodsList" v-for="(tag,indexs) in item.goods" :key="indexs">
  16. <view class="shopname">
  17. <view class="shop" v-if="tag.is_set=='0'">
  18. <view class="r">
  19. <text class="set">套装</text> {{tag.name}}
  20. </view>
  21. </view>
  22. <view class="shop" v-else>
  23. <text class="iconfont icon-shangdian"></text>
  24. <text>{{tag.shop_name}}</text>
  25. </view>
  26. <view class="status">
  27. {{item.zhStatus}}
  28. </view>
  29. </view>
  30. <view class="goodsList_1">
  31. <view class="market" v-for="(tags,indexss) in tag.goods"
  32. :key="indexss">
  33. <view class="market_1">
  34. <image class="image"
  35. :src="tags.goods.file&&tags.goods.file.length>0?tags.goods.file[0].url:''"
  36. mode=""></image>
  37. </view>
  38. <view class="market_2">
  39. <view class="goodsname textOver">
  40. {{tags.goods.name}}
  41. </view>
  42. <view class="specs" v-if="tag.is_set=='0'">
  43. {{tags.spec_name}}
  44. </view>
  45. <view class="specs" v-else>
  46. {{tags.name}}
  47. </view>
  48. <text v-if="tags.gift.length>0" class="gift">赠品</text>
  49. <text v-if="tags.sp_price" class="act">特价</text>
  50. </view>
  51. <view class="market_3" v-if="tag.is_set=='0'">
  52. <view class="price">{{tags.set_num}}件/套x{{tags.set_num}}
  53. </view>
  54. </view>
  55. <view class="market_3" v-else>
  56. <view v-if="item.type=='0'" class="price">
  57. ¥{{tags.price||tags.sell_money}}
  58. </view>
  59. <view v-else class="price">
  60. ¥{{tags.group_config.money}}
  61. </view>
  62. <view class="num">
  63. ×{{tags.buy_num}}
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="other">
  71. <text>共{{item.buy_num_total}}件商品</text>
  72. <text>实付款¥{{item.real_pay}}</text>
  73. </view>
  74. </view>
  75. <view class="list_2" v-else>
  76. <view class="list_2_1">
  77. <view class="shopname" v-if="item.is_set=='0'">
  78. <view class="r">
  79. <text class="set">套装</text> {{tag.name}}
  80. </view>
  81. </view>
  82. <view class="shopname" v-else>
  83. <text class="iconfont icon-shangdian"></text>
  84. <text>{{item.shop.name}}</text>
  85. </view>
  86. <view class="status">
  87. {{item.zhStatus}}
  88. </view>
  89. </view>
  90. <view class="list_2_2" v-for="(tag,indexs) in item.goods" :key="indexs">
  91. <view v-if="tag.is_set=='0'">
  92. <view class="goods" v-for="(tags,indexss) in tag.goods" :key="indexss">
  93. <view class="goods_1">
  94. <image class="image"
  95. :src="tags.goods.file&&tags.goods.file.length>0?tags.goods.file[0].url:''"
  96. mode=""></image>
  97. </view>
  98. <view class="goods_2">
  99. <view class="goodsname textOver">
  100. {{tags.goods.name}}
  101. </view>
  102. <view class="specs">
  103. {{tags.spec_name}}
  104. </view>
  105. </view>
  106. <view class="goods_3">
  107. <view class="price">{{tags.set_num}}件/套x{{tags.set_num}}
  108. </view>
  109. </view>
  110. </view>
  111. <view class="set">
  112. <view class="set_1">套装价:¥{{tag.sell_money}}</view>
  113. <view class="set_2">数量:×{{tag.buy_num}}</view>
  114. </view>
  115. </view>
  116. <view v-else>
  117. <view class="goods">
  118. <view class="goods_1">
  119. <image class="image" :src="tag.url" mode=""></image>
  120. </view>
  121. <view class="goods_2">
  122. <view class="goodsname textOver">
  123. {{tag.goods.name}}
  124. </view>
  125. <view class="specs">
  126. {{tag.name}}
  127. </view>
  128. <text v-if="tag.gift.length>0" class="gift">赠品</text>
  129. <text v-if="tag.sp_price" class="act">特价</text>
  130. </view>
  131. <view class="goods_3">
  132. <view v-if="item.type=='0'" class="price">
  133. ¥{{tag.price||tag.sell_money}}
  134. </view>
  135. <view v-else class="price">
  136. ¥{{tag.group_config.money}}
  137. </view>
  138. <view class="num">
  139. ×{{tag.buy_num}}
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. <view class="other">
  146. <text>共{{item.buy_num_total||0}}件商品</text>
  147. <text>实付款¥{{item.real_pay}}</text>
  148. </view>
  149. </view>
  150. <view class="btn">
  151. <button v-if="item.status=='0'" size="mini"
  152. @tap.stop="toCancel(item)">取消订单</button>
  153. <button v-if="item.status=='0'" :disabled="disabled" size="mini"
  154. @tap.stop="toPay(item)">支付</button>
  155. <button v-if="item.status=='1'&&item.is_afterSale!=true" size="mini"
  156. @tap.stop="toCancels(item)">取消订单</button>
  157. <button v-if="item.status=='2'||item.status=='3'||item.status=='2-'" size="mini"
  158. @tap.stop="toLogi(item)">查看物流</button>
  159. <button v-if="item.status=='2'&&item.is_afterSale!=true" size="mini"
  160. @tap.stop="toConfirm(item)">确认收货</button>
  161. <button v-if="item.status=='2'||item.status=='2-'&&item.is_afterSale!=true"
  162. size="mini" @tap.stop="toReject(item)">拒收</button>
  163. <button v-if="item.status=='3'" size="mini"
  164. @tap.stop="toAfter(item)">申请售后</button>
  165. <button v-if="item.status=='3'" type="default" size="mini"
  166. @tap.stop="toAppraise(item)">{{item.rate?'追加评价':'立即评价'}}</button>
  167. </view>
  168. </view>
  169. <view class="is_bottom" v-if="is_bottom">
  170. <text>{{config.bottom_title}}</text>
  171. </view>
  172. </view>
  173. </scroll-view>
  174. </view>
  175. </tabs>
  176. </view>
  177. </view>
  178. </mobile-frame>
  179. </template>
  180. <script>
  181. import tabs from '@/components/tabs/index.vue';
  182. export default {
  183. components: {
  184. tabs
  185. },
  186. data() {
  187. return {
  188. // 系统设置
  189. config: {},
  190. // 设备信息
  191. system: {},
  192. user: {},
  193. status: '',
  194. searchInfo: {},
  195. tabs: {
  196. active: '0',
  197. menu: []
  198. },
  199. list: [],
  200. total: 0,
  201. skip: 0,
  202. limit: 6,
  203. page: 0,
  204. // 数据是否触底
  205. is_bottom: false,
  206. scrollTop: 0,
  207. // 字典表
  208. statusList: [],
  209. disabled: false
  210. };
  211. },
  212. onLoad: function(e) {
  213. const that = this;
  214. that.$set(that, `status`, e.status || '');
  215. that.$set(that.tabs, `active`, e.status || '');
  216. that.searchConfig();
  217. },
  218. onShow: async function(e) {
  219. const that = this;
  220. await that.searchOther();
  221. await that.watchlogin();
  222. },
  223. onPullDownRefresh: async function() {
  224. const that = this;
  225. that.clearPage();
  226. await that.search();
  227. uni.stopPullDownRefresh();
  228. },
  229. methods: {
  230. // 查询基本设置
  231. searchConfig() {
  232. const that = this;
  233. uni.getStorage({
  234. key: 'config',
  235. success: function(res) {
  236. if (res.data) that.$set(that, `config`, res.data)
  237. // 设备平台信息
  238. let config = that.$config;
  239. that.$set(that, `system`, config.system);
  240. },
  241. fail: function(err) {
  242. console.log(err);
  243. }
  244. })
  245. },
  246. // 监听用户是否登录
  247. watchlogin() {
  248. const that = this;
  249. uni.getStorage({
  250. key: 'token',
  251. success: function(res) {
  252. let user = that.$jwt(res.data);
  253. if (user) {
  254. that.$set(that, `user`, user)
  255. that.search();
  256. }
  257. }
  258. })
  259. },
  260. async search() {
  261. const that = this;
  262. let user = that.user;
  263. let status = that.status;
  264. let info = {
  265. skip: that.skip,
  266. limit: that.limit,
  267. customer: user._id,
  268. status: status
  269. }
  270. let res;
  271. if (status == '0') {
  272. res = await that.$api(`/order`, 'GET', {
  273. ...info,
  274. ...that.searchInfo
  275. });
  276. } else {
  277. res = await that.$api(`/orderDetail`, 'GET', {
  278. ...info,
  279. ...that.searchInfo
  280. });
  281. }
  282. if (res.errcode == '0') {
  283. let list = [...that.list, ...res.data];
  284. for (let val of list) {
  285. val.zhStatus = that.searchStatus(val.status)
  286. }
  287. that.$set(that, `list`, list);
  288. that.$set(that, `total`, res.total)
  289. } else {
  290. uni.showToast({
  291. title: res.errmsg,
  292. icon: 'none'
  293. })
  294. }
  295. },
  296. // 查询状态
  297. searchStatus(e) {
  298. const that = this;
  299. let data = that.statusList.find((i) => i.value == e);
  300. if (data) return data.label
  301. else return '暂无'
  302. },
  303. // 分页
  304. toPage(e) {
  305. const that = this;
  306. let list = that.list;
  307. let limit = that.limit;
  308. if (that.total > list.length) {
  309. uni.showLoading({
  310. title: '加载中',
  311. mask: true
  312. })
  313. let page = that.page + 1;
  314. that.$set(that, `page`, page)
  315. let skip = page * limit;
  316. that.$set(that, `skip`, skip)
  317. that.search();
  318. uni.hideLoading();
  319. } else that.$set(that, `is_bottom`, true)
  320. },
  321. toScroll(e) {
  322. const that = this;
  323. let up = that.scrollTop;
  324. that.$set(that, `scrollTop`, e.detail.scrollTop);
  325. let num = Math.sign(up - e.detail.scrollTop);
  326. if (num == 1) that.$set(that, `is_bottom`, false);
  327. },
  328. // 输入框
  329. toInput(e) {
  330. const that = this;
  331. if (that.searchInfo.goods) that.$set(that.searchInfo, `goods`, e.detail.value)
  332. else that.$set(that, `searchInfo`, {})
  333. that.clearPage();
  334. that.search();
  335. },
  336. // 订单详细信息
  337. toInfo(item) {
  338. const that = this;
  339. that.clearPage();
  340. uni.navigateTo({
  341. url: `/pagesMy/order/info?id=${item._id}&status=${item.status}`
  342. })
  343. },
  344. // 取消订单-未支付
  345. toCancel(e) {
  346. const that = this;
  347. uni.showModal({
  348. title: '提示',
  349. content: '确定取消订单吗?',
  350. success: async function(res) {
  351. if (res.confirm) {
  352. const arr = await that.$api(`/order/cancel`, 'POST', {
  353. order_id: e._id
  354. });
  355. if (arr.errcode == '0') {
  356. uni.showToast({
  357. title: '申请取消订单完成',
  358. icon: 'none'
  359. })
  360. that.clearPage();
  361. that.search();
  362. } else {
  363. uni.showToast({
  364. title: arr.errmsg,
  365. icon: 'none'
  366. })
  367. }
  368. }
  369. }
  370. });
  371. },
  372. // 支付
  373. async toPay(e) {
  374. const that = this;
  375. let system = that.system;
  376. if (system.uniPlatform == "mp-weixin") {
  377. uni.showLoading({
  378. title: '加载中'
  379. })
  380. // 支付信息
  381. let p2 = await that.$api('/pay/toPayOrder', 'POST', {
  382. order_id: e,
  383. type: '0'
  384. })
  385. if (p2.errcode == '0' && p2.data.paySign) {
  386. uni.requestPayment({
  387. "provider": "wxpay",
  388. ...p2.data,
  389. success: function(res) {
  390. uni.showToast({
  391. title: '支付成功',
  392. icon: 'none'
  393. })
  394. },
  395. fail: function(err) {
  396. that.$set(that, `disabled`, false)
  397. uni.showToast({
  398. title: `支付失败`,
  399. icon: 'none'
  400. })
  401. },
  402. complete: function() {
  403. uni.hideLoading();
  404. that.clearPage();
  405. that.search();
  406. }
  407. })
  408. } else {
  409. uni.showToast({
  410. title: p2.errmsg || '错误信息',
  411. icon: 'none'
  412. })
  413. }
  414. } else if (res.data.uniPlatform == "app") {
  415. // app支付
  416. uni.requestPayment({
  417. provider: 'alipay',
  418. orderInfo: 'orderInfo',
  419. success: function(res) {
  420. console.log('success:' + JSON.stringify(res));
  421. },
  422. fail: function(err) {
  423. console.log('fail:' + JSON.stringify(err));
  424. }
  425. });
  426. } else {
  427. uni.showToast({
  428. title: `平台不支持支付`,
  429. icon: 'none'
  430. })
  431. }
  432. },
  433. // 取消订单-已支付
  434. toCancels(e) {
  435. const that = this;
  436. uni.showModal({
  437. title: '提示',
  438. content: '确定取消订单吗?',
  439. success: async function(res) {
  440. if (res.confirm) {
  441. let arr = await that.$api(`/afterSale`, 'POST', {
  442. order_detail: e._id,
  443. type: '4'
  444. })
  445. if (arr.errcode == '0') {
  446. uni.showToast({
  447. title: '申请取消订单完成',
  448. icon: 'none'
  449. })
  450. that.clearPage();
  451. that.search();
  452. } else {
  453. uni.showToast({
  454. title: arr.errmsg,
  455. icon: 'none'
  456. })
  457. }
  458. }
  459. }
  460. });
  461. },
  462. // 查看物流
  463. toLogi(e) {
  464. const that = this;
  465. that.clearPage();
  466. uni.navigateTo({
  467. url: `/pagesMy/logistics/index?id=${e._id}&type=${'order'}`
  468. })
  469. },
  470. // 确认收货
  471. async toConfirm(e) {
  472. const that = this;
  473. uni.showModal({
  474. title: '提示',
  475. content: '确定确认收货吗?',
  476. success: async function(res) {
  477. if (res.confirm) {
  478. const arr = await that.$api(`/orderDetail/${e._id}`, 'POST', {
  479. status: '3'
  480. });
  481. if (arr.errcode == '0') {
  482. uni.showToast({
  483. title: '确认收货成功',
  484. icon: 'none'
  485. })
  486. that.clearPage();
  487. that.search();
  488. } else {
  489. uni.showToast({
  490. title: arr.errmsg,
  491. icon: 'none'
  492. })
  493. }
  494. }
  495. }
  496. });
  497. },
  498. // 拒收
  499. async toReject(e) {
  500. const that = this;
  501. uni.showModal({
  502. title: '提示',
  503. content: '确定拒收快递吗?',
  504. success: async function(res) {
  505. if (res.confirm) {
  506. let arr = await that.$api(`/afterSale`, 'POST', {
  507. order_detail: e._id,
  508. type: '5'
  509. })
  510. if (arr.errcode == '0') {
  511. uni.showToast({
  512. title: '拒收申请完成',
  513. icon: 'none'
  514. })
  515. that.clearPage();
  516. that.search();
  517. } else {
  518. uni.showToast({
  519. title: arr.errmsg,
  520. icon: 'none'
  521. })
  522. }
  523. }
  524. }
  525. });
  526. },
  527. // 立即评价
  528. toAppraise(e) {
  529. const that = this;
  530. that.clearPage();
  531. uni.navigateTo({
  532. url: `/pagesMy/order/appraise?id=${e._id}&status=${'0'}`
  533. })
  534. },
  535. // 申请售后
  536. toAfter(e) {
  537. const that = this;
  538. that.clearPage();
  539. uni.navigateTo({
  540. url: `/pagesMy/order/service?id=${e._id}&status=${e.status}`
  541. })
  542. },
  543. // 查询其他信息
  544. async searchOther() {
  545. const that = this;
  546. let res;
  547. // 查询状态
  548. res = await that.$api(`/dictData`, 'GET', {
  549. code: 'order_process'
  550. })
  551. if (res.errcode == '0') {
  552. that.$set(that, `statusList`, res.data);
  553. var menu = res.data.map((item) => {
  554. return {
  555. title: item.label,
  556. active: item.value
  557. }
  558. })
  559. that.$set(that.tabs, `menu`, menu)
  560. }
  561. },
  562. // 选择选项卡
  563. tabsChange(e) {
  564. const that = this;
  565. that.$set(that.tabs, `active`, e.active)
  566. that.$set(that, `status`, e.active);
  567. that.clearPage();
  568. that.search()
  569. },
  570. // 清空列表
  571. clearPage() {
  572. const that = this;
  573. that.$set(that, `list`, [])
  574. that.$set(that, `skip`, 0)
  575. that.$set(that, `limit`, 6)
  576. that.$set(that, `page`, 0)
  577. }
  578. },
  579. }
  580. </script>
  581. <style lang="scss">
  582. .main {
  583. display: flex;
  584. flex-direction: column;
  585. width: 100vw;
  586. height: 100vh;
  587. .one {
  588. padding: 2vw;
  589. input {
  590. padding: 2vw;
  591. background-color: var(--f1Color);
  592. font-size: var(--font14Size);
  593. border-radius: 5px;
  594. }
  595. }
  596. .two {
  597. position: relative;
  598. flex-grow: 1;
  599. background-color: var(--f9Color);
  600. .tabsList {
  601. position: relative;
  602. width: 100vw;
  603. height: 82vh;
  604. .list {
  605. background-color: #fff;
  606. border: 1px solid var(--f5Color);
  607. padding: 2vw;
  608. margin: 0 2vw 2vw 2vw;
  609. border-radius: 5px;
  610. .list_1 {
  611. .goods {
  612. .goodsList {
  613. border-bottom: 1px solid #f1f1f1;
  614. .shopname {
  615. display: flex;
  616. justify-content: space-between;
  617. margin: 0 0 2vw 0;
  618. .shop {
  619. text:last-child {
  620. padding: 0 0 0 2vw;
  621. }
  622. .r {
  623. .set {
  624. margin: 0 1vw 0 0;
  625. font-size: 12px;
  626. border-radius: 5px;
  627. padding: 0 1vw;
  628. color: #ffffff;
  629. background-color: #FF6347;
  630. border: 1px solid #FFA500;
  631. }
  632. }
  633. }
  634. .status {
  635. text-align: right;
  636. color: var(--ff0Color);
  637. margin: 0 0 1vw 0;
  638. }
  639. }
  640. .goodsList_1 {
  641. .market {
  642. display: flex;
  643. padding: 0 0 2vw 0;
  644. .market_1 {
  645. width: 20vw;
  646. height: 20vw;
  647. .image {
  648. width: 100%;
  649. height: 100%;
  650. border-radius: 5px;
  651. }
  652. }
  653. .market_2 {
  654. width: 55vw;
  655. padding: 0 0 0 2vw;
  656. .goodsname {
  657. font-size: 16px;
  658. margin: 0 0 1vw 0;
  659. }
  660. .specs {
  661. font-size: 14px;
  662. color: #858585;
  663. }
  664. .gift {
  665. margin: 0 1vw 0 0;
  666. font-size: 12px;
  667. color: #FFA500;
  668. border: 1px solid #FFA500;
  669. border-radius: 5px;
  670. padding: 0 1vw;
  671. }
  672. .act {
  673. font-size: 12px;
  674. border: 1px solid var(--fFB1Color);
  675. color: var(--fFB1Color);
  676. border-radius: 5px;
  677. padding: 0 1vw;
  678. }
  679. }
  680. .market_3 {
  681. width: 15vw;
  682. text-align: right;
  683. .price {
  684. color: #ff0000;
  685. }
  686. }
  687. }
  688. }
  689. }
  690. }
  691. .other {
  692. padding: 0 0 2vw 0;
  693. margin: 2vw 0;
  694. text-align: right;
  695. border-bottom: 1px solid #f1f1f1;
  696. text {
  697. font-size: 14px;
  698. padding: 0 0 0 2vw;
  699. }
  700. }
  701. }
  702. .list_2 {
  703. .list_2_1 {
  704. display: flex;
  705. justify-content: space-between;
  706. margin: 0 0 2vw 0;
  707. .shopname {
  708. text:last-child {
  709. padding: 0 0 0 2vw;
  710. }
  711. .r {
  712. .set {
  713. margin: 0 1vw 0 0;
  714. font-size: 12px;
  715. border-radius: 5px;
  716. padding: 0 1vw;
  717. color: #ffffff;
  718. background-color: #FF6347;
  719. border: 1px solid #FFA500;
  720. }
  721. }
  722. }
  723. .status {
  724. color: var(--ff0Color);
  725. }
  726. }
  727. .list_2_2 {
  728. border-bottom: 1px solid #f1f1f1;
  729. padding-top: 1vw;
  730. .goods {
  731. display: flex;
  732. padding: 0 0 2vw 0;
  733. .goods_1 {
  734. width: 20vw;
  735. height: 20vw;
  736. .image {
  737. width: 100%;
  738. height: 100%;
  739. border-radius: 5px;
  740. }
  741. }
  742. .goods_2 {
  743. width: 55vw;
  744. padding: 0 0 0 2vw;
  745. .goodsname {
  746. font-size: 16px;
  747. margin: 0 0 1vw 0;
  748. }
  749. .specs {
  750. font-size: 14px;
  751. color: #858585;
  752. }
  753. .gift {
  754. margin: 0 1vw 0 0;
  755. font-size: 12px;
  756. color: #FFA500;
  757. border: 1px solid #FFA500;
  758. border-radius: 5px;
  759. padding: 0 1vw;
  760. }
  761. .act {
  762. font-size: 12px;
  763. border: 1px solid var(--fFB1Color);
  764. color: var(--fFB1Color);
  765. border-radius: 5px;
  766. padding: 0 1vw;
  767. }
  768. }
  769. .goods_3 {
  770. width: 15vw;
  771. text-align: right;
  772. .price {
  773. color: #ff0000;
  774. }
  775. }
  776. }
  777. .set {
  778. display: flex;
  779. padding: 2vw 0;
  780. justify-content: space-between;
  781. color: #ff0000;
  782. }
  783. }
  784. .other {
  785. padding: 0 0 2vw 0;
  786. margin: 2vw 0;
  787. text-align: right;
  788. border-bottom: 1px solid #f1f1f1;
  789. text {
  790. font-size: 14px;
  791. padding: 0 0 0 2vw;
  792. }
  793. }
  794. }
  795. .btn {
  796. text-align: right;
  797. button {
  798. margin: 0 2vw 0 0;
  799. }
  800. }
  801. }
  802. }
  803. }
  804. }
  805. .scroll-view {
  806. position: absolute;
  807. top: 0;
  808. left: 0;
  809. right: 0;
  810. bottom: 0;
  811. .list-scroll-view {
  812. display: flex;
  813. flex-direction: column;
  814. }
  815. }
  816. .is_bottom {
  817. text-align: center;
  818. text {
  819. padding: 2vw 0;
  820. display: inline-block;
  821. color: #858585;
  822. font-size: 14px;
  823. }
  824. }
  825. </style>