index.vue 19 KB

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