detail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. <template>
  2. <mobile-frame>
  3. <view class="main">
  4. <view class="onemain">
  5. <scroll-view scroll-y="true" class="scroll-view" scroll-with-animation :scroll-into-view="topItem" @scroll="handleScroll">
  6. <view class="list-scroll-view" id="top">
  7. <view class="one">
  8. <swiper class="swiper" circular :indicator-dots="true" indicator-color="#ffffff" indicator-active-color="#FB1438" :autoplay="true" :interval="3000" :duration="1000">
  9. <swiper-item class="list" v-for="(item,index) in bannerList" :key="index">
  10. <image class="image" :src="item.url" mode="">
  11. </image>
  12. </swiper-item>
  13. </swiper>
  14. </view>
  15. <view class="two">
  16. <view class="two_1">
  17. <view class="money_1">
  18. <text>¥</text>
  19. <text>{{specs&&specs.length>0?specs[0].sell_money:''}}</text>
  20. </view>
  21. <view class="money_2">
  22. <text>¥</text>
  23. <text>{{specs&&specs.length>0?specs[0].flow_money:''}}</text>
  24. </view>
  25. </view>
  26. <view class="two_2">{{info.name}}</view>
  27. <view class="two_3">{{info.shot_brief}}</view>
  28. <view class="two_4">
  29. <text>运费{{specs&&specs.length>0?specs[0].freight:''}}元</text>
  30. <text>{{info.send_time}}内发货</text>
  31. </view>
  32. </view>
  33. <view class="thr">
  34. <view class="thr_1" @click="toChoose">
  35. <view class="title">选择规格</view>
  36. <text class="iconfont icon-jiantouyou"></text>
  37. </view>
  38. <view class="thr_1">
  39. <view class="title">商品评价({{info.comment||0}})</view>
  40. <text class="iconfont icon-jiantouyou"></text>
  41. </view>
  42. </view>
  43. <view class="four">
  44. <view class="four_1">
  45. <image class="image" :src="shop.logo&&shop.logo.length>0?shop.logo[0].url:''"></image>
  46. <view class="other">
  47. <view class="name">{{shop.name}}</view>
  48. <view class="other_1"><text>宝贝数</text>{{shop.num||0}}</view>
  49. </view>
  50. </view>
  51. <view class="four_2">
  52. <view class="grade">商品:<text>{{shop.goods_score||0}}</text></view>|
  53. <view class="grade">发货:<text>{{shop.send_score||0}}</text></view>|
  54. <view class="grade">服务:<text>{{shop.service_score||0}}</text></view>
  55. </view>
  56. <view class="four_2">
  57. <view class="btn" @tap="toShop('pagesHome/shop/index')">进入店铺</view>
  58. <view class="btn" @tap="shopCollect">{{shop_collect==true?'已关注':'关注'}}</view>
  59. </view>
  60. </view>
  61. <view class="five">
  62. <view class="five_1">{{info.brief}}</view>
  63. <view class="five_2" v-for="(item,index) in bannerList" :key="index">
  64. <image class="image" :src="item.url"></image>
  65. </view>
  66. </view>
  67. </view>
  68. </scroll-view>
  69. </view>
  70. <view class="foot">
  71. <uni-goods-nav :options="options" :button-group="buttonGroup" @click="onClick" @buttonClick="buttonClick" />
  72. </view>
  73. </view>
  74. <view class="collect">
  75. <text v-if="!collection" @click="toCollect" class="iconfont icon-yduishoucangkongxin"></text>
  76. <text v-else @click="toCollect" class="iconfont icon-yduishoucangshixin-copy"></text>
  77. </view>
  78. <view class="menu">
  79. <text @click="toMenu" class="iconfont icon-gengduo"></text>
  80. </view>
  81. <view class="menu_1" v-if="menu">
  82. <view class="title" v-for="(item,index) in barList" :key="index" @click="toPath(item)">
  83. <image class="image" :src="item.normal"></image>
  84. <view class="name">{{item.name}}</view>
  85. </view>
  86. </view>
  87. <view class="backTop" v-if="isShow==true">
  88. <text @click="backTop" class="iconfont icon-fanhuidingbu"></text>
  89. </view>
  90. <uni-popup ref="popup" background-color="#fff" type="bottom">
  91. <view class="content">
  92. <view class="one">
  93. <image class="image" :src="info.file&&info.file.length>0?info.file[0].url:''"></image>
  94. <view class="other">
  95. <view class="money">
  96. <text>¥</text>
  97. <text>{{money}}</text>
  98. </view>
  99. <view class="other_1">
  100. 已选: <text>{{Selected}}</text>
  101. </view>
  102. </view>
  103. <view class="btn">
  104. <text @click="toClose" class="iconfont icon-shanchu"></text>
  105. </view>
  106. </view>
  107. <view class="two">
  108. <view class="two_1">规格</view>
  109. <view class="two_2">
  110. <text v-for="(item,index) in specs" :key="index" @click="toStyle(item,index)" :class="{ 'style': isActive==index}">{{item.name}}</text>
  111. </view>
  112. </view>
  113. <view class="thr">
  114. <text>数量</text>
  115. <view class="count">
  116. <uni-number-box :min="1" :max="max" :disabled="disabled" v-model="num" @change="toCount">
  117. </uni-number-box>
  118. </view>
  119. <text>库存{{max}}</text>
  120. </view>
  121. <view @click="toBuy(type)" class="button">{{type=='0'?'加入购物车':'立即购买'}}</view>
  122. </view>
  123. </uni-popup>
  124. </mobile-frame>
  125. </template>
  126. <script>
  127. export default {
  128. data() {
  129. return {
  130. barList: [{
  131. name: '首页',
  132. route: 'pages/home/index',
  133. normal: require('@/static/shouye.png'),
  134. },
  135. {
  136. name: '微店',
  137. route: 'pages/store/index',
  138. normal: require('@/static/store.png'),
  139. },
  140. {
  141. name: '周边',
  142. route: 'pages/week/index',
  143. normal: require('@/static/week.png'),
  144. },
  145. {
  146. name: '购物车',
  147. route: 'pages/market/index',
  148. normal: require('@/static/market.png'),
  149. },
  150. {
  151. name: '我的',
  152. route: 'pages/my/index',
  153. normal: require('@/static/my.png'),
  154. },
  155. ],
  156. options: [{
  157. icon: 'shop',
  158. text: '店铺',
  159. route: 'pagesHome/shop/index',
  160. },
  161. {
  162. icon: 'cart',
  163. text: '购物车',
  164. route: 'pages/market/index',
  165. },
  166. // {
  167. // icon: 'chat',
  168. // text: '客服',
  169. // }
  170. ],
  171. buttonGroup: [{
  172. text: '加入购物车',
  173. backgroundColor: 'linear-gradient(90deg, #FFCD1E, #FF8A18)',
  174. color: '#fff',
  175. type: '0'
  176. },
  177. {
  178. text: '立即购买',
  179. backgroundColor: 'linear-gradient(90deg, #FE6035, #EF1224)',
  180. color: '#fff',
  181. type: '1'
  182. }
  183. ],
  184. // 商品id
  185. id: '',
  186. user: {},
  187. // 轮播图
  188. bannerList: [],
  189. // 商品详情
  190. info: {},
  191. // 商店详情
  192. shop: {},
  193. // 规格情况
  194. specs: [],
  195. // 已选
  196. Selected: '',
  197. // 是否显示返回顶部
  198. isShow: false,
  199. topItem: '',
  200. // 商品收藏
  201. collection: false,
  202. // 店铺收藏
  203. shop_collect: false,
  204. // 菜单显示
  205. menu: false,
  206. disabled: true,
  207. // 显示文字判断
  208. type: '0',
  209. // 选择规格
  210. isActive: -1,
  211. money: 0,
  212. // 计数器
  213. num: 1,
  214. max: 0,
  215. // 分享
  216. share: {},
  217. };
  218. },
  219. onLoad: async function(e) {
  220. const that = this;
  221. that.$set(that, `id`, e.id || '');
  222. },
  223. onShow: async function() {
  224. const that = this;
  225. await that.search();
  226. await that.configShare();
  227. },
  228. methods: {
  229. //店铺,
  230. // 购物车,客服跳转
  231. onClick(e) {
  232. const that = this;
  233. if (e.index == '0' && e.content.route) {
  234. // 进入店铺
  235. that.toShop();
  236. } else {
  237. uni.reLaunch({
  238. url: `/${e.content.route}`
  239. })
  240. }
  241. },
  242. // 进入店铺
  243. toShop() {
  244. const that = this;
  245. uni.navigateTo({
  246. url: `/pagesHome/shop/index?id=${that.shop._id}`
  247. })
  248. },
  249. // 公共跳转
  250. toCommon(e) {
  251. uni.navigateTo({
  252. url: `/${e}`
  253. })
  254. },
  255. // 收藏
  256. async toCollect() {
  257. const that = this;
  258. let user = that.user;
  259. if (user) {
  260. let res = await that.$api(`/storeGoods`, `POST`, {
  261. customer: user._id,
  262. goods: that.id
  263. });
  264. if (res.errcode == '0') {
  265. uni.showToast({
  266. title: res.data.msg,
  267. icon: 'none'
  268. })
  269. that.$set(that, `collection`, res.data.result)
  270. }
  271. } else {
  272. uni.showToast({
  273. title: '无用户登录无法收藏商品',
  274. icon: 'none'
  275. })
  276. }
  277. },
  278. // 关注商铺
  279. async shopCollect() {
  280. const that = this;
  281. let user = that.user;
  282. if (user && user._id) {
  283. let res = await that.$api(`/storeShop`, `POST`, {
  284. customer: user._id,
  285. shop: that.shop._id
  286. });
  287. if (res.errcode == '0') {
  288. uni.showToast({
  289. title: res.data.msg,
  290. icon: 'none'
  291. })
  292. that.$set(that, `shop_collect`, res.data.result)
  293. }
  294. } else {
  295. uni.showToast({
  296. title: '无用户登录无法关注商铺',
  297. icon: 'none'
  298. })
  299. }
  300. },
  301. //主菜单跳转
  302. toPath(e) {
  303. if (e && e.route) uni.reLaunch({
  304. url: `/${e.route}`
  305. })
  306. },
  307. // 菜单展开
  308. toMenu() {
  309. const that = this;
  310. that.menu = !that.menu
  311. },
  312. // 计算高度
  313. handleScroll(e) {
  314. const that = this;
  315. let scrollTop = e.detail.scrollTop;
  316. that.isShow = scrollTop > 500;
  317. that.topItem = '';
  318. },
  319. // 返回顶部
  320. backTop() {
  321. const that = this;
  322. that.topItem = 'top'
  323. },
  324. //加入购物车,立即购买弹窗
  325. buttonClick(e) {
  326. const that = this;
  327. if (e && e.content) that.type = e.content.type;
  328. that.$refs.popup.open();
  329. },
  330. // 选择规格
  331. toChoose() {
  332. const that = this;
  333. that.type = '1';
  334. that.$refs.popup.open();
  335. },
  336. // 修改样式
  337. toStyle(e, index) {
  338. const that = this;
  339. that.$set(that, `isActive`, index)
  340. that.$set(that, `Selected`, e.name)
  341. that.$set(that, `max`, e.num)
  342. that.$set(that, `money`, e.sell_money)
  343. that.disabled = false;
  344. },
  345. // 计数器
  346. toCount(e) {
  347. const that = this;
  348. that.num = e;
  349. },
  350. // 立即购买
  351. toBuy(e) {
  352. const that = this;
  353. uni.getStorage({
  354. key: 'token',
  355. success: async function(res) {
  356. let user = that.$jwt(res.data);
  357. that.$set(that, `user`, user)
  358. if (that.Selected) {
  359. let specs_id;
  360. let specs = that.specs.find(i => i.name == that.Selected)
  361. if (specs) specs_id = specs._id
  362. let data = {
  363. customer: user._id,
  364. shop: that.shop._id,
  365. goods: that.info._id,
  366. goodsSpec: specs_id,
  367. num: that.num
  368. }
  369. if (e == '0') {
  370. let arr = await that.$api(`/cart`, 'POST', data)
  371. if (arr.errcode == '0') {
  372. uni.showToast({
  373. title: `加入购物车成功`,
  374. icon: 'success'
  375. })
  376. that.$refs.popup.close()
  377. } else {
  378. uni.showToast({
  379. title: arr.errmsg,
  380. icon: 'none'
  381. })
  382. }
  383. } else {
  384. let arr = await that.$api(`/util/checkCanBuy`, 'POST', data)
  385. if (arr.errcode == '0') {
  386. if (arr.data.result == true) {
  387. uni.navigateTo({
  388. url: `/pagesHome/order/order?key=${arr.data.key}`
  389. })
  390. } else {
  391. uni.showToast({
  392. title: arr.data.msg,
  393. icon: 'none'
  394. })
  395. }
  396. } else {
  397. uni.showToast({
  398. title: arr.errmsg,
  399. icon: 'none'
  400. })
  401. }
  402. }
  403. } else {
  404. uni.showModal({
  405. title: '提示',
  406. content: '请选择规格',
  407. confirmColor: '#ff0000',
  408. showCancel: false,
  409. success: function(res) {}
  410. });
  411. }
  412. },
  413. fail: function(err) {
  414. uni.navigateTo({
  415. url: `/pages/login/index`
  416. })
  417. }
  418. });
  419. },
  420. // 关闭弹框
  421. toClose() {
  422. const that = this;
  423. that.$refs.popup.close()
  424. },
  425. // 详情数据
  426. async search() {
  427. const that = this;
  428. uni.getStorage({
  429. key: 'token',
  430. success: function(res) {
  431. let user = that.$jwt(res.data);
  432. if (user) that.$set(that, `user`, user);
  433. that.searchOther();
  434. },
  435. fail: function(err) {
  436. // uni.showToast({
  437. // title: '无用户登录无法查看收藏信息',
  438. // icon: 'none'
  439. // })
  440. }
  441. });
  442. let res = await that.$api(`/viewGoods/goodsDetail`, `POST`, {
  443. id: that.id
  444. });
  445. if (res.errcode == '0') {
  446. that.$set(that, `info`, res.data.goods)
  447. that.$set(that, `specs`, res.data.specs)
  448. that.$set(that, `shop`, res.data.shop)
  449. if (res.data.specs.length > 0) that.$set(that, `money`, res.data.specs[0].sell_money)
  450. that.$set(that, `bannerList`, res.data.goods.file)
  451. }
  452. },
  453. async searchOther() {
  454. const that = this;
  455. let user = that.user;
  456. // 商品是否收藏
  457. let res = await that.$api(`/storeGoods/check`, `GET`, {
  458. customer: user._id,
  459. goods: that.id
  460. });
  461. if (res.errcode == '0') {
  462. that.$set(that, `collection`, res.data)
  463. }
  464. // 商铺是否收藏
  465. let arr = await that.$api(`/storeShop/check`, `GET`, {
  466. customer: user._id,
  467. shop: that.shop._id
  468. });
  469. if (arr.errcode == '0') {
  470. that.$set(that, `shop_collect`, arr.data)
  471. }
  472. },
  473. // 配置分享内容
  474. configShare() {
  475. const that = this;
  476. let user_id = that.user && that.user._id ? that.user._id : '';
  477. let id = that.info && that.info._id ? that.info._id : ''
  478. let obj = {
  479. title: that.info.name,
  480. path: `/pagesHome/order/detail?id=${id}&user_id=${user_id}`,
  481. imageUrl: that.info.file[0].url
  482. }
  483. that.$set(that, `share`, obj)
  484. }
  485. }
  486. }
  487. </script>
  488. <style lang="scss">
  489. .scrollView {
  490. height: 100vh;
  491. }
  492. .main {
  493. display: flex;
  494. flex-direction: column;
  495. width: 100vw;
  496. height: 100vh;
  497. .onemain {
  498. position: relative;
  499. flex-grow: 1;
  500. background-color: var(--f1Color);
  501. .one {
  502. swiper {
  503. height: 70vw;
  504. }
  505. .list {
  506. border-radius: 5px;
  507. .image {
  508. width: 100%;
  509. height: 100%;
  510. border-radius: 5px;
  511. }
  512. }
  513. }
  514. .two {
  515. padding: 0 0 2vw 0;
  516. background-color: var(--mainColor);
  517. .two_1 {
  518. display: flex;
  519. align-items: center;
  520. border-bottom: 0.5vw solid var(--f9Color);
  521. padding: 2vw;
  522. .money_1 {
  523. color: var(--ff0Color);
  524. text {
  525. margin: 0 1vw 0 0;
  526. }
  527. text:last-child {
  528. font-size: var(--font20Szie);
  529. font-weight: bold;
  530. }
  531. }
  532. .money_2 {
  533. text-decoration: line-through;
  534. color: var(--f99Color);
  535. text {
  536. margin: 0 1vw 0 0;
  537. }
  538. text:last-child {
  539. font-size: var(--font16Size);
  540. }
  541. }
  542. }
  543. .two_2 {
  544. font-size: var(--font18Szie);
  545. font-weight: bold;
  546. padding: 1vw 2vw;
  547. }
  548. .two_3 {
  549. font-size: var(--font16Szie);
  550. color: var(--f85Color);
  551. padding: 1vw 2vw;
  552. }
  553. .two_4 {
  554. font-size: var(--font12Size);
  555. color: var(--fcColor);
  556. padding: 1vw 2vw;
  557. text {
  558. margin: 0 2vw 0 0;
  559. }
  560. }
  561. }
  562. .thr {
  563. .thr_1 {
  564. display: flex;
  565. flex-direction: row;
  566. justify-content: space-between;
  567. margin: 2vw 0 2vw 0;
  568. padding: 2vw;
  569. background-color: var(--mainColor);
  570. }
  571. }
  572. .four {
  573. padding: 2vw;
  574. background-color: var(--mainColor);
  575. .four_1 {
  576. display: flex;
  577. justify-content: space-between;
  578. .image {
  579. width: 15vw;
  580. height: 15vw;
  581. border: 0.1vw solid var(--fcColor);
  582. }
  583. .other {
  584. flex-grow: 1;
  585. margin: 0 0 0 2vw;
  586. .name {
  587. font-size: var(--font16Szie);
  588. }
  589. .other_1 {
  590. font-size: var(--font12Size);
  591. text {
  592. color: var(--fcColor);
  593. margin: 0 2vw 0 0;
  594. }
  595. }
  596. }
  597. }
  598. .four_2 {
  599. display: flex;
  600. flex-direction: row;
  601. justify-content: space-evenly;
  602. padding: 2vw 0;
  603. color: var(--f99Color);
  604. .grade {
  605. font-size: var(--font14Size);
  606. color: var(--f85Color);
  607. text {
  608. color: var(--ff0Color);
  609. }
  610. }
  611. .btn {
  612. border: 0.1vw solid var(--fcColor);
  613. padding: 1vw 6vw;
  614. border-radius: 1vw;
  615. color: var(--f00Color);
  616. }
  617. .btn:last-child {
  618. padding: 1vw 10vw;
  619. }
  620. }
  621. }
  622. .five {
  623. margin: 2vw 0 0 0;
  624. .five_1 {
  625. padding: 2vw;
  626. background-color: var(--mainColor);
  627. font-size: var(--font18Szie);
  628. color: var(--f99Color);
  629. }
  630. .five_2 {
  631. padding: 0 2vw;
  632. background-color: var(--mainColor);
  633. text-align: center;
  634. }
  635. }
  636. }
  637. }
  638. .scroll-view {
  639. position: absolute;
  640. top: 0;
  641. left: 0;
  642. right: 0;
  643. bottom: 0;
  644. .list-scroll-view {
  645. display: flex;
  646. flex-direction: column;
  647. }
  648. }
  649. .scrollView {
  650. height: 100vh;
  651. }
  652. .collect {
  653. position: fixed;
  654. top: 4vw;
  655. right: 5vw;
  656. text {
  657. font-size: 30px;
  658. background-color: #0000005f;
  659. border-radius: 90px;
  660. }
  661. }
  662. .menu {
  663. position: fixed;
  664. bottom: 30vw;
  665. right: 5vw;
  666. text {
  667. font-size: 30px;
  668. background-color: #0000005f;
  669. border-radius: 90px;
  670. }
  671. }
  672. .menu_1 {
  673. position: fixed;
  674. bottom: 40vw;
  675. right: 5vw;
  676. background-color: var(--mainColor);
  677. padding: 2vw;
  678. .title {
  679. display: flex;
  680. padding: 2vw;
  681. border-bottom: 0.1vw solid var(--fcColor);
  682. .image {
  683. width: 7vw;
  684. height: 6vw;
  685. }
  686. .name {
  687. margin: 0 0 0 1vw;
  688. font-size: var(--font14Size);
  689. }
  690. }
  691. }
  692. .backTop {
  693. position: fixed;
  694. bottom: 20vw;
  695. right: 5vw;
  696. text {
  697. font-size: 30px;
  698. background-color: #0000005f;
  699. border-radius: 90px;
  700. }
  701. }
  702. uni-popup {
  703. z-index: 999999 !important;
  704. }
  705. .content {
  706. height: 100vw;
  707. .one {
  708. display: flex;
  709. flex-direction: row;
  710. justify-content: space-between;
  711. margin: 2vw;
  712. padding: 2vw 0;
  713. border-bottom: 1px solid var(--f9Color);
  714. .image {
  715. width: 25vw;
  716. height: 25vw;
  717. margin: 0 2vw 0 0;
  718. }
  719. .other {
  720. display: flex;
  721. flex-direction: column;
  722. flex-grow: 1;
  723. margin: 0 0 0 2vw;
  724. .money {
  725. color: var(--fFB1Color);
  726. font-size: var(--font20Szie);
  727. padding: 2vw 0;
  728. }
  729. .other_1 {
  730. font-size: var(--font14Size);
  731. text {
  732. padding: 0 2vw;
  733. color: var(--f85Color);
  734. }
  735. }
  736. }
  737. }
  738. .two {
  739. margin: 0 2vw;
  740. padding: 2vw 0;
  741. font-size: var(--font12Size);
  742. border-bottom: 1px solid var(--f9Color);
  743. .two_2 {
  744. padding: 1vw;
  745. text {
  746. margin: 0 2vw 0 0;
  747. padding: 1vw;
  748. border-radius: 1vw;
  749. background-color: var(--f9Color);
  750. }
  751. .style {
  752. color: var(--mainColor);
  753. background-color: var(--ff0Color);
  754. }
  755. }
  756. }
  757. .thr {
  758. display: flex;
  759. justify-content: flex-start;
  760. margin: 0 2vw;
  761. padding: 2vw 0;
  762. text {
  763. margin: 0 2vw 0 0;
  764. }
  765. text:last-child {
  766. margin: 0 0 0 2vw;
  767. font-size: var(--font12Size);
  768. color: var(--f85Color);
  769. }
  770. }
  771. .button {
  772. position: fixed;
  773. width: 100vw;
  774. padding: 4vw 0;
  775. background-color: var(--fFB1Color);
  776. bottom: 0;
  777. text-align: center;
  778. font-size: var(--font18Szie);
  779. color: var(--mainColor);
  780. }
  781. }
  782. </style>