index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877
  1. <template>
  2. <mobile-frame>
  3. <view class="main">
  4. <view class="one">
  5. <view class="one_1" v-if="barActive=='0'">
  6. <scroll-view scroll-y="true" class="scroll-view">
  7. <view class="one_1_1">
  8. <image class="image" :src="info.logo&&info.logo.length>0?info.logo[0].url:''" mode="">
  9. </image>
  10. </view>
  11. <view class="one_1_2">
  12. <view class="pubu">
  13. <view class="list" v-for="(item,index) in shoplist" :key="index">
  14. <image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''" mode=""></image>
  15. <view class="name">
  16. {{item.name}}
  17. </view>
  18. <view class="other">
  19. <view class="money">
  20. <text>¥</text>
  21. <text>{{item.sell_money}}</text>
  22. </view>
  23. <view class="btn">
  24. <button type="default" size="mini" @click="toBuy(item)">购买</button>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </scroll-view>
  31. </view>
  32. <view class="one_3" v-else-if="barActive=='1'">
  33. <view class="first">
  34. <input type="text" v-model="searchInfo.name" @blur="toInput" placeholder="搜索商品">
  35. </view>
  36. <view class="second">
  37. <scroll-view scroll-y="true" class="scroll-view" @scrolltolower="toPage" @scroll="toScroll">
  38. <view class="list-scroll-view">
  39. <view class="second_1">
  40. <view :class="['list',condActive==index?'activeList':'']" v-for="(item,index) in condList" :key="index" @tap="toCond(index,item)">
  41. <view class="name">
  42. {{item.name}}
  43. </view>
  44. <view class="icon">
  45. <view class="icon_1">
  46. <text :class="['iconfont',item.shangActive]" v-if="condActive==index&&shang=='1'"></text>
  47. <text :class="['iconfont',item.shang]" v-else></text>
  48. </view>
  49. <view class="icon_1">
  50. <text :class="['iconfont', item.xiaActive]" v-if="condActive==index&&xia=='-1'"></text>
  51. <text :class="['iconfont', item.xia]" v-else></text>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="second_2">
  57. <view class="pubu">
  58. <view class="list" v-for="(item,index) in list" :key="index">
  59. <image class="image"
  60. :src="item.file&&item.file.length>0?item.file[0].url:''" mode="">
  61. </image>
  62. <view class="sale" v-if="item.is_sale==true">
  63. <text>已售尽</text>
  64. </view>
  65. <view class="name">
  66. {{item.name}}
  67. </view>
  68. <view class="other">
  69. <view class="money">
  70. <text>¥</text>
  71. <text>{{item.sell_money}}</text>
  72. </view>
  73. <view class="btn">
  74. <button type="default" size="mini" @click="toBuy(item)">购买</button>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="is_bottom" v-if="is_bottom">
  81. <text>我们也是有底线的!</text>
  82. </view>
  83. </view>
  84. </scroll-view>
  85. </view>
  86. </view>
  87. <view class="one_4" v-else-if="barActive=='2'">
  88. <view class="first">
  89. <image class="image" :src="info.logo&&info.logo.length>0?info.logo[0].url:''" mode=""></image>
  90. <view class="name">{{info.name}}</view>
  91. </view>
  92. <view class="second">
  93. <view class="second_1">
  94. <view class="grade">
  95. <view>{{info.goods_score||5}}</view>
  96. 商品
  97. </view>
  98. <view class="grade">
  99. <view>{{info.send_score||5}}</view>
  100. 发货
  101. </view>
  102. <view class="grade">
  103. <view>{{info.service_score||5}}</view>
  104. 服务
  105. </view>
  106. </view>
  107. <view class="qrcode_1">
  108. <uqrcode ref="uqrcode" canvas-id="qrcode" :value="uqrcodeInfo" :options="{ margin:10,backgroundColor:'#f1f1f1' }">
  109. </uqrcode>
  110. <view class="txt">
  111. 店铺二维码
  112. </view>
  113. <!-- <view class="qrcode_1_1">
  114. <uqrcode ref="uqrcode" canvas-id="qrcode" :value="uqrcodeInfo" :options="{ margin:10 }">
  115. </uqrcode>
  116. <view class="txt">
  117. 店铺二维码
  118. </view>
  119. </view> -->
  120. </view>
  121. </view>
  122. <view class="collect">
  123. <text v-if="!collection" @click="toCollect" class="iconfont icon-yduishoucangkongxin"></text>
  124. <text v-else @click="toCollect" class="iconfont icon-yduishoucangshixin"></text>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="two">
  129. <view class="list" v-for="(item,index) in barList" :key="index" @tap="barChange(index,item)">
  130. <view class="icon">
  131. <text :class="['iconfont',barActive==index?item.acticon:item.icon]"></text>
  132. </view>
  133. <view :class="['name',barActive==index?'activename':'']">
  134. {{item.name}}
  135. </view>
  136. </view>
  137. </view>
  138. </view>
  139. </mobile-frame>
  140. </template>
  141. <script>
  142. export default {
  143. data() {
  144. return {
  145. user: {},
  146. id: '',
  147. barActive: '0',
  148. barList: [ //底部菜单
  149. {
  150. icon: 'icon-shangdian',
  151. acticon: "icon-shangdian-copy",
  152. name: '微店首页'
  153. },
  154. {
  155. icon: 'icon-shangpinfenlei',
  156. acticon: "icon-shangpinfenlei-copy",
  157. name: '全部商品'
  158. },
  159. {
  160. icon: 'icon-qiyejianjie',
  161. acticon: "icon-qiyejianjie-copy",
  162. name: '店铺简介'
  163. }
  164. ],
  165. // 店铺信息
  166. info: {},
  167. // 店铺部分商品
  168. shoplist: [],
  169. // 收藏
  170. collection: false,
  171. // 全部商品
  172. searchInfo: {},
  173. list: [],
  174. total: 0,
  175. page: 0,
  176. skip: 0,
  177. limit: 5,
  178. condActive: 0,
  179. shang: '',
  180. xia: '',
  181. condList: [ // 筛选
  182. {
  183. name: '默认',
  184. },
  185. {
  186. name: '销量',
  187. shang: 'icon-shangjiantou',
  188. shangActive: 'icon-shangjiantou-copy',
  189. xia: 'icon-xiajiantou',
  190. xiaActive: 'icon-xiajiantou-copy'
  191. },
  192. {
  193. name: '价格',
  194. shang: 'icon-shangjiantou',
  195. shangActive: 'icon-shangjiantou-copy',
  196. xia: 'icon-xiajiantou',
  197. xiaActive: 'icon-xiajiantou-copy'
  198. },
  199. {
  200. name: '浏览量',
  201. shang: 'icon-shangjiantou',
  202. shangActive: 'icon-shangjiantou-copy',
  203. xia: 'icon-xiajiantou',
  204. xiaActive: 'icon-xiajiantou-copy'
  205. }
  206. ],
  207. // 数据是否触底
  208. is_bottom: false,
  209. scrollTop: 0,
  210. // 二维码内容
  211. uqrcodeInfo: ''
  212. };
  213. },
  214. onLoad: async function(e) {
  215. const that = this;
  216. that.$set(that, `id`, e.id || '');
  217. await that.watchLogin();
  218. await that.search();
  219. await that.searchOther();
  220. },
  221. methods: {
  222. // 监听用户是否登录
  223. watchLogin() {
  224. const that = this;
  225. uni.getStorage({
  226. key: 'token',
  227. success: function(res) {
  228. let user = that.$jwt(res.data);
  229. that.$set(that, `user`, user);
  230. },
  231. fail: function(err) {}
  232. })
  233. },
  234. // 查询信息
  235. async search() {
  236. const that = this;
  237. if (that.id) {
  238. // 查询店铺信息
  239. const res = await that.$api(`/shop/${that.id}`, 'GET');
  240. if (res.errcode == '0') that.$set(that, `info`, res.data);
  241. let arr = await that.$api(`/storeShop/check`, `GET`, {
  242. customer: that.user._id,
  243. shop: that.id
  244. });
  245. if (arr.errcode == '0') {
  246. that.$set(that, `collection`, arr.data)
  247. }
  248. // 查询店铺商品
  249. that.searchShopMarket();
  250. // 查询全部商品
  251. that.searchAll();
  252. }
  253. },
  254. // 查询店铺商品
  255. async searchShopMarket() {
  256. const that = this;
  257. const res = await that.$api(`/viewGoods/indexGoodsList`, 'GET', {
  258. shop: that.id,
  259. skip: 0,
  260. limit: 20
  261. })
  262. if (res.errcode == '0') that.$set(that, `shoplist`, res.data);
  263. },
  264. // 查询全部产品
  265. async searchAll() {
  266. const that = this;
  267. let info = {
  268. shop: that.id,
  269. skip: that.skip,
  270. limit: that.limit
  271. }
  272. const res = await that.$api(`/viewGoods/indexGoodsList`, `GET`, {
  273. ...info,
  274. ...that.searchInfo
  275. })
  276. if (res.errcode == '0') {
  277. let list = [...that.list, ...res.data];
  278. that.$set(that, `list`, list)
  279. that.$set(that, `total`, res.total)
  280. } else {
  281. uni.showToast({
  282. title: res.errmsg,
  283. });
  284. }
  285. },
  286. // 创建二维码
  287. createQrcode() {
  288. const that = this;
  289. if (that.id) {
  290. const url = `${that.$config.serverUrl}/shopinfo?id=${that.id}`;
  291. that.$set(that, `uqrcodeInfo`, url);
  292. that.$refs.uqrcode.make({
  293. enableDelay: true
  294. })
  295. .then(res => {
  296. console.log(res);
  297. })
  298. .finally(() => {
  299. console.log('2');
  300. })
  301. }
  302. },
  303. // 购买
  304. toBuy(item) {
  305. if (item && item._id) {
  306. uni.navigateTo({
  307. url: `/pagesHome/order/detail?id=${item._id}`
  308. })
  309. }
  310. },
  311. // 全部产品-分页
  312. async toPage() {
  313. const that = this;
  314. let list = that.list;
  315. let limit = that.limit;
  316. if (that.total > list.length) {
  317. uni.showLoading({
  318. title: '加载中',
  319. mask: true
  320. })
  321. let page = that.page + 1;
  322. that.$set(that, `page`, page)
  323. let skip = page * limit;
  324. that.$set(that, `skip`, skip)
  325. that.searchAll();
  326. uni.hideLoading();
  327. } else that.$set(that, `is_bottom`, true)
  328. },
  329. toScroll(e) {
  330. const that = this;
  331. let up = that.scrollTop;
  332. that.$set(that, `scrollTop`, e.detail.scrollTop);
  333. let num = Math.sign(up - e.detail.scrollTop);
  334. if (num == 1) that.$set(that, `is_bottom`, false);
  335. },
  336. // 输入框
  337. toInput(e) {
  338. const that = this;
  339. that.$set(that.searchInfo, `name`, e.detail.value);
  340. that.clearPage();
  341. that.searchAll();
  342. },
  343. // 筛选
  344. toCond(index, e) {
  345. const that = this;
  346. let condActive = that.condActive;
  347. that.$set(that, `condActive`, index);
  348. if (condActive != index && that.xia == '') {
  349. that.$set(that, `shang`, '0');
  350. that.$set(that, `xia`, '-1');
  351. } else if (condActive == index && that.xia == '-1') {
  352. that.$set(that, `shang`, '1');
  353. that.$set(that, `xia`, '0');
  354. } else if (condActive == index && that.shang == '1') {
  355. that.$set(that, `shang`, '0');
  356. that.$set(that, `xia`, '-1');
  357. } else if (condActive = index && that.shang == '1') {
  358. that.$set(that, `shang`, '0');
  359. that.$set(that, `xia`, '-1');
  360. }
  361. let key = '';
  362. let value;
  363. if (index != 0) {
  364. value = that.shang == '0' ? that.xia : that.shang;
  365. }
  366. if (index == 1) {
  367. key = 'sell_num';
  368. } else if (index == 2) {
  369. key = 'sell_money';
  370. } else if (index == 3) {
  371. key = 'view_num';
  372. }
  373. that.$set(that.searchInfo, `key`, key);
  374. that.$set(that.searchInfo, `value`, value);
  375. that.clearPage();
  376. that.searchAll();
  377. },
  378. // 查询其他信息
  379. async searchOther() {
  380. const that = this;
  381. let user = that.user;
  382. let shop = that.info;
  383. if (user && user._id && shop && shop._id) {
  384. // 商铺是否收藏
  385. let arr = await that.$api(`/storeShop/check`, `GET`, {
  386. customer: user._id,
  387. shop: shop._id
  388. });
  389. if (arr.errcode == '0') {
  390. that.$set(that, `collection`, arr.data)
  391. }
  392. }
  393. },
  394. // 收藏
  395. async toCollect() {
  396. const that = this;
  397. let user = that.user;
  398. let shop = that.info;
  399. if (user && user._id && shop && shop._id) {
  400. let res = await that.$api(`/storeShop`, `POST`, {
  401. customer: user._id,
  402. shop: shop._id
  403. });
  404. if (res.errcode == '0') {
  405. uni.showToast({
  406. title: res.data.msg,
  407. icon: 'none'
  408. })
  409. that.$set(that, `collection`, res.data.result)
  410. }
  411. } else {
  412. uni.showToast({
  413. title: '缺少必要信息,无法收藏',
  414. icon: 'none'
  415. })
  416. }
  417. },
  418. // 选择底部菜单
  419. barChange(index, item) {
  420. const that = this;
  421. that.$set(that, `barActive`, index);
  422. uni.setNavigationBarTitle({
  423. title: item.name
  424. });
  425. // 店铺简介时,绘制二维码
  426. if (index == '2') that.createQrcode();
  427. },
  428. // 清空列表
  429. clearPage() {
  430. const that = this;
  431. that.$set(that, `list`, [])
  432. that.$set(that, `skip`, 0)
  433. that.$set(that, `limit`, 5)
  434. that.$set(that, `page`, 0)
  435. }
  436. }
  437. }
  438. </script>
  439. <style lang="scss">
  440. .main {
  441. display: flex;
  442. flex-direction: column;
  443. width: 100vw;
  444. height: 100vh;
  445. .one {
  446. position: relative;
  447. flex-grow: 1;
  448. .one_1 {
  449. height: 92vh;
  450. background-color: var(--fFB1Color);
  451. .one_1_1 {
  452. padding: 2vw;
  453. .image {
  454. width: 100%;
  455. height: 50vw;
  456. }
  457. }
  458. .one_1_2 {
  459. padding: 0 2vw 2vw 2vw;
  460. .pubu {
  461. column-count: 2;
  462. column-gap: 2vw;
  463. .list {
  464. background: #fff;
  465. padding: 2vw;
  466. border-radius: 5px;
  467. margin: 0 0 2vw 0;
  468. break-inside: avoid;
  469. .image {
  470. width: 100%;
  471. height: 50vw;
  472. }
  473. .name {
  474. font-size: var(--font15Size);
  475. margin: 0 0 2vw 0;
  476. }
  477. .other {
  478. display: flex;
  479. flex-direction: row;
  480. justify-content: space-between;
  481. .money {
  482. color: var(--ff0Color);
  483. text:nth-child(1) {
  484. font-size: var(--font12Size);
  485. }
  486. }
  487. .btn {
  488. button {
  489. border-radius: 25px;
  490. color: var(--fffColor);
  491. background-color: var(--ff0Color);
  492. font-size: var(--font12Size);
  493. }
  494. }
  495. }
  496. }
  497. }
  498. }
  499. }
  500. .one_2 {
  501. height: 91vh;
  502. display: flex;
  503. flex-direction: row;
  504. padding: 2vw;
  505. .first_1 {
  506. position: relative;
  507. width: 25vw;
  508. background-color: #fafafa;
  509. display: flex;
  510. flex-direction: column;
  511. .list {
  512. text-align: center;
  513. padding: 2.5vw 0;
  514. border-bottom: 1px solid var(--f1Color);
  515. text {
  516. font-size: var(--font14Size);
  517. }
  518. }
  519. .listActive {
  520. background-color: var(--fffColor);
  521. }
  522. }
  523. .first_2 {
  524. padding: 2vw;
  525. flex-grow: 1;
  526. position: relative;
  527. display: flex;
  528. flex-direction: column;
  529. .list {
  530. margin: 0 0 2vw 0;
  531. padding: 2vw;
  532. .title {
  533. font-size: var(--font16Size);
  534. margin: 0 0 2vw 0;
  535. }
  536. .market {
  537. display: flex;
  538. flex-direction: row;
  539. flex-wrap: wrap;
  540. .marketList {
  541. text-align: center;
  542. margin: 0 2vw 2vw 0;
  543. width: 22vw;
  544. .image {
  545. width: 100%;
  546. height: 15vw;
  547. }
  548. .name {
  549. font-size: var(--font14Size);
  550. }
  551. }
  552. .marketList:nth-child(3n) {
  553. margin: 0 0 2vw 0;
  554. }
  555. }
  556. }
  557. }
  558. }
  559. .one_3 {
  560. display: flex;
  561. flex-direction: column;
  562. width: 100vw;
  563. height: 92vh;
  564. .first {
  565. border-bottom: 1px solid var(--f85Color);
  566. padding: 2vw;
  567. input {
  568. padding: 2vw;
  569. background-color: var(--f1Color);
  570. font-size: var(--font14Size);
  571. border-radius: 5px;
  572. }
  573. }
  574. .second {
  575. position: relative;
  576. flex-grow: 1;
  577. .second_1 {
  578. width: 96vw;
  579. background-color: var(--fffColor);
  580. padding: 2vw;
  581. display: flex;
  582. flex-direction: row;
  583. justify-content: space-around;
  584. .list {
  585. display: flex;
  586. flex-direction: row;
  587. .icon {
  588. position: relative;
  589. top: -5px;
  590. left: 2px;
  591. .icon_1 {
  592. height: 10px;
  593. .iconfont {
  594. font-size: 12px;
  595. }
  596. }
  597. }
  598. }
  599. .activeList {
  600. .name {
  601. color: #ff0000;
  602. }
  603. }
  604. }
  605. .second_2 {
  606. padding: 2vw;
  607. background-color: var(--f1Color);
  608. .pubu {
  609. column-count: 2;
  610. column-gap: 2vw;
  611. .list {
  612. position: relative;
  613. margin: 0 0 2vw 0;
  614. padding: 2vw;
  615. border-radius: 10px;
  616. background-color: var(--fffColor);
  617. break-inside: avoid;
  618. .image {
  619. width: 100%;
  620. height: 40vw;
  621. }
  622. .sale {
  623. position: absolute;
  624. top: 18vw;
  625. text-align: center;
  626. width: 43vw;
  627. text {
  628. background-color: #0000005f;
  629. border-radius: 90px;
  630. display: inline-block;
  631. width: 15vw;
  632. height: 15vw;
  633. color: var(--fffColor);
  634. text-align: center;
  635. line-height: 15vw;
  636. }
  637. }
  638. .name {
  639. font-size: var(--font16Size);
  640. margin: 0 0 1vw 0;
  641. }
  642. .other {
  643. display: flex;
  644. flex-direction: row;
  645. justify-content: space-between;
  646. .money {
  647. font-size: var(--font14Size);
  648. color: var(--ff0Color);
  649. text:nth-child(1) {
  650. font-size: var(--font12Size);
  651. }
  652. }
  653. .other_1 {
  654. flex-grow: 1;
  655. margin: 0 0 0 2vw;
  656. font-size: var(--font12Size);
  657. color: var(--f85Color);
  658. }
  659. .btn {
  660. button {
  661. border-radius: 25px;
  662. color: var(--fffColor);
  663. background-color: var(--ff0Color);
  664. font-size: var(--font12Size);
  665. }
  666. }
  667. }
  668. }
  669. }
  670. }
  671. }
  672. }
  673. .one_4 {
  674. .first {
  675. display: flex;
  676. flex-direction: column;
  677. align-items: center;
  678. background-color: var(--fFB1Color);
  679. border-bottom-right-radius: 10vw;
  680. border-bottom-left-radius: 10vw;
  681. .image {
  682. width: 20vw;
  683. height: 20vw;
  684. border-radius: 20vw;
  685. }
  686. .name {
  687. margin: 2vw 0;
  688. font-size: var(--font16Szie);
  689. font-weight: bold;
  690. color: var(--mainColor);
  691. }
  692. }
  693. .second {
  694. margin: 2vw 0;
  695. position: relative;
  696. .second_1 {
  697. display: flex;
  698. justify-content: space-evenly;
  699. .grade {
  700. display: flex;
  701. flex-direction: column;
  702. align-items: center;
  703. color: var(--f85Color);
  704. font-size: var(--font13Size);
  705. view {
  706. margin: 1vw 0 0 0;
  707. color: var(--ff0Color);
  708. }
  709. }
  710. }
  711. .qrcode_1 {
  712. .uqrcode {
  713. top: 10vw;
  714. left: 20%;
  715. }
  716. .txt {
  717. margin: 2vw 0 0 0;
  718. position: absolute;
  719. text-align: center;
  720. width: 100vw;
  721. bottom: -22vw;
  722. }
  723. // display: flex;
  724. // justify-content: center;
  725. // text-align: center;
  726. // margin: 5vw 0;
  727. // .qrcode_1_1 {
  728. // padding: 2vw;
  729. // .uqrcode {
  730. // display: flex;
  731. // justify-content: center;
  732. // width: 216px !important;
  733. // height: 216px !important;
  734. // .uqrcode-canvas {
  735. // -webkit-transform-origin: center;
  736. // }
  737. // }
  738. // canvas {
  739. // width: 180px !important;
  740. // height: 180px !important;
  741. // }
  742. // .txt {
  743. // margin: 2vw 0 0 0;
  744. // color: #000;
  745. // }
  746. // }
  747. }
  748. }
  749. }
  750. .collect {
  751. position: fixed;
  752. top: 0;
  753. right: 2vw;
  754. .iconfont {
  755. font-size: 25px;
  756. }
  757. }
  758. }
  759. .two {
  760. display: flex;
  761. flex-direction: row;
  762. justify-content: space-around;
  763. border-top: 1px solid #f1f1f1;
  764. .list {
  765. padding: 1vw 0;
  766. text-align: center;
  767. .icon {}
  768. .name {
  769. font-size: 12px;
  770. }
  771. .activename {
  772. color: var(--fFB1Color);
  773. }
  774. }
  775. }
  776. }
  777. .scroll-view {
  778. position: absolute;
  779. top: 0;
  780. left: 0;
  781. right: 0;
  782. bottom: 0;
  783. .list-scroll-view {
  784. display: flex;
  785. flex-direction: row;
  786. flex-wrap: wrap;
  787. }
  788. }
  789. .is_bottom {
  790. width: 100%;
  791. text-align: center;
  792. text {
  793. padding: 1vw 0;
  794. display: inline-block;
  795. }
  796. }
  797. </style>