index.vue 20 KB

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