index.vue 19 KB

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