index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. <template>
  2. <view class="content-wrap bg-color">
  3. <view class="head-wrap ">
  4. <view class="content-info ">
  5. <view class="h-bg">
  6. <!-- 轮播图 -->
  7. <u-swiper
  8. :list="bannerList"
  9. :height="340"
  10. ></u-swiper>
  11. </view>
  12. <view class="content">
  13. <!-- 通知栏 -->
  14. <view v-if="noticeList.length > 0" class="h-notice-bar">
  15. <scroll-notice :dataList="noticeList" :type="2" :interval="3000" :height="46" :fontSize="12" color="#666666" @click="handleNoticeClick"></scroll-notice>
  16. </view>
  17. <!-- 个人信息、钱包、商店 -->
  18. <view class="h-content-wrap">
  19. <!-- 欢迎语 -->
  20. <view class="welcome-wrap">
  21. <view class="logo">
  22. <image v-if="userInfo.selfPhotoUrl" :src="userInfo.selfPhotoUrl" mode=""></image>
  23. <image v-else src="../../static/logo.png" mode=""></image>
  24. </view>
  25. <view class="text">
  26. <view class="phone">{{userInfo.cellPhone}}</view>
  27. <view class="welcome">尊敬的{{userInfo.ncikName}},下午好~</view>
  28. </view>
  29. <view @click="gotoReceiveCoupons()" class="arrow-right">
  30. <!-- <image v-if="userInfo.wxQrCode" class="qrcode" :src="userInfo.qrcode" mode=""></image> -->
  31. <!-- <image class="qrcode" src="../../static/index/qrcode.png" mode=""></image>
  32. <view class="h-text">会员码</view> -->
  33. <view class="coupon-wrap">
  34. <u-icon name="coupon-fill" color="#ffb83d" size="22"></u-icon>
  35. <text>领券中心</text>
  36. </view>
  37. </view>
  38. </view>
  39. <!-- 余额信息 -->
  40. <view class="balance-info">
  41. <view @click="gotoRechargeService()" class="balance-amount">
  42. <text class="number" v-if="userInfo.balance" >¥{{userInfo.balance}}</text>
  43. <text class="number" v-else>¥0.00</text>
  44. <view class="">余额 </view>
  45. </view>
  46. <view @click="gotoIntgral()" class="score-info">
  47. <text class="number" v-if="userInfo.integral" >{{userInfo.integral}}</text>
  48. <text class="number" v-else>0</text>
  49. <view class="">积分 </view>
  50. </view>
  51. <view @click="gotoCoupon()" class="coupon-info">
  52. <text class="number" v-if="userInfo.coupon">{{userInfo.coupon}}</text>
  53. <text class="number" v-else>0</text>
  54. <view class="">优惠券 </view>
  55. </view>
  56. <view class="e-currency-info">
  57. <text class="number" v-if="userInfo.electronicCurrency">{{userInfo.electronicCurrency}}</text>
  58. <text class="number" v-else>0</text>
  59. <view class="">电子币</view>
  60. </view>
  61. </view>
  62. <view class="custom-line"></view>
  63. <view class="store-wrap">
  64. <view class="store-info">
  65. <view class="logo">
  66. <image src="../../static/index/u55.png" mode=""></image>
  67. </view>
  68. <view @click="gotoStoreChoose()" class="store-content">
  69. <view class="h-row">
  70. <view class="store-desc">
  71. <view class="store-name">
  72. <view class="">{{storeInfo.storeName}}</view>
  73. </view>
  74. </view>
  75. <view class="arrow-right">
  76. <view class="change-store">更换门店</view>
  77. <u-icon name="arrow-right" color="#333" size="16"></u-icon>
  78. </view>
  79. </view>
  80. <view class="h-row">
  81. <text class="address">地址:{{storeInfo.address}}</text>
  82. <!-- <text class="address">距你1.8km</text> -->
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. <!-- 上次订单 -->
  89. <view class="nav-wrap ">
  90. <view class="upper-order-wrap">
  91. <!-- 左边内容 -->
  92. <view @click="gotoServiceOrder()" class="left-content">
  93. <view class="title">
  94. 到店服务
  95. </view>
  96. <view class="desc">
  97. <!-- 多种服务模式任您选择-->
  98. </view>
  99. <view class="bg-img">
  100. <image src="../../static/index/u65.png" mode=""></image>
  101. </view>
  102. </view>
  103. <!-- 右边内容 -->
  104. <view class="right-content" @click="goBookService()">
  105. <view class="title">
  106. 预约服务
  107. </view>
  108. <view class="desc">
  109. <!-- 拼命研发中敬请期待...-->
  110. </view>
  111. <view class="bg-img">
  112. <image src="../../static/index/u67.png" mode=""></image>
  113. </view>
  114. </view>
  115. </view>
  116. <!-- 导航菜单 -->
  117. <view class="horizontal-dashed-line"></view>
  118. <view class="menu-tab">
  119. <view class="button-wrap">
  120. <view @click="gotoComeOrder()" class="btn">
  121. <view class="icon">
  122. <u-icon name="/static/index/u213.png" color="red" size="30"></u-icon>
  123. </view>
  124. <view class="name">
  125. 再来一单
  126. </view>
  127. </view>
  128. </view>
  129. <view class="button-wrap">
  130. <view @click="gotoRechargeService()" class="btn">
  131. <view class="icon">
  132. <u-icon name="/static/index/u215.png" color="red" size="30"></u-icon>
  133. </view>
  134. <view class="name">
  135. 储值服务
  136. </view>
  137. </view>
  138. </view>
  139. <view class="button-wrap">
  140. <view @click="gotoOrder()" class="btn">
  141. <view class="icon">
  142. <u-icon name="/static/index/u217.png" color="red" size="30"></u-icon>
  143. </view>
  144. <view class="name">
  145. 当前订单
  146. </view>
  147. </view>
  148. </view>
  149. <view class="button-wrap">
  150. <view @click="gotoReceiveCoupons()" class="btn">
  151. <view class="icon">
  152. <u-icon name="/static/index/u247.png" color="red" size="30"></u-icon>
  153. </view>
  154. <view class="name">
  155. 领优惠券
  156. </view>
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. <!-- 为你推荐 -->
  162. <view class="recommend-wrap">
  163. <view class="recommend-nav">
  164. <view class="icon">
  165. <image src="/static/index/u87.png" mode=""></image>
  166. </view>
  167. <view class="title">
  168. 为你推荐
  169. </view>
  170. </view>
  171. <!-- 分割线 -->
  172. <view class="custom-line"></view>
  173. <!-- 门店列表 -->
  174. <view class="store-wrap ">
  175. <view class="store-list" v-for="item in 1">
  176. <view class="store-content">
  177. <view class="store-img">
  178. <image src="../../static/logo.png" mode=""></image>
  179. </view>
  180. <view class="h-store-content">
  181. <view class="title">
  182. <text>{{storeInfo.storeName}}</text>
  183. </view>
  184. <view class="adress">
  185. 地址:{{storeInfo.address}}
  186. </view>
  187. <view class="desc">
  188. <view class="price">
  189. </view>
  190. <view @click="gotoGoods()" class="order-btn">
  191. <view class="btn">去下单</view>
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. </view>
  197. </view>
  198. </view>
  199. <view class="footer ">
  200. <view class="">---到底了---</view>
  201. </view>
  202. </view>
  203. </view>
  204. </view>
  205. <view class="tabBarView">
  206. <tab-bar :tabIndex="tabIndex"></tab-bar>
  207. </view>
  208. </view>
  209. </template>
  210. <script>
  211. import tabBar from "../../components/tabBar/tabBar";
  212. import ScrollNotice from '../../components/scroll-notice/ScrollNotice.vue';
  213. export default {
  214. components: {
  215. ScrollNotice,tabBar
  216. },
  217. data() {
  218. return {
  219. noticeList: [],
  220. notice: '',
  221. userInfo: {},
  222. bannerList: [],
  223. reqParm: {
  224. auth: true,
  225. appid: 46,
  226. telphone: '',
  227. longitude: 0,
  228. latitude: 0
  229. },
  230. storeList: [],
  231. storeInfo: {}
  232. };
  233. },
  234. onShow(){
  235. // 查询门店信息
  236. const data = uni.getStorageSync('storeInfo');
  237. if(!data){
  238. // 获取门店列表数据
  239. console.log('+++++++++++++++++++++++++++++++++',this.userInfo)
  240. this.getStoreListData();
  241. } else {
  242. this.storeInfo = data;
  243. }
  244. },
  245. onLoad(){
  246. uni.hideTabBar({
  247. animation:false
  248. })
  249. // 获取经纬度信息
  250. this.getLocation();
  251. //公告信息
  252. this.getNoticeListData();
  253. // 获取banner图列表
  254. this.getSlideshowList();
  255. // 用户信息
  256. this.userInfo = uni.getStorageSync('userInfo');
  257. this.getImgUrlByOssId(this.userInfo.selfPhoto);
  258. },
  259. // 分享到朋友圈
  260. onShareTimeline() {},
  261. // 分享到用户
  262. onShareAppMessage(OBJECT) {},
  263. methods: {
  264. // 去服务点单页面
  265. gotoServiceOrder(){
  266. uni.navigateTo({
  267. url:'/orderPages/storeService/index'
  268. })
  269. },
  270. goBookService(){
  271. uni.navigateTo({
  272. url:'/orderPages/bookService/index'
  273. })
  274. },
  275. //点击通知
  276. handleNoticeClick(e) {
  277. console.log(e)
  278. uni.$u.route({
  279. url: '/pages/notice/notice-detail',
  280. params: {
  281. noticeId: e.noticeId
  282. }
  283. })
  284. },
  285. // 去优惠劵大厅
  286. gotoReceiveCoupons(){
  287. uni.$u.route({
  288. url: '/pages/coupon/receive-coupons',
  289. params: {}
  290. })
  291. },
  292. // 去我的优惠劵页面
  293. gotoCoupon(){
  294. uni.navigateTo({
  295. url: '/myPages/coupon/index?name=lisa',
  296. })
  297. },
  298. // 储值服务
  299. gotoRechargeService(){
  300. uni.navigateTo({
  301. url: '/myPages/recharge/index?name=lisa',
  302. })
  303. },
  304. // 获取banner图片
  305. getSlideshowList(){
  306. let that = this;
  307. this.$api.getSlideshowList({data:this.reqParm}).then((res)=>{
  308. this.getImgUrlByBannerOssId(res.data.data);
  309. }).catch(() =>{
  310. uni.showToast({
  311. title: "操作失败"
  312. })
  313. })
  314. },
  315. async getImgUrlByBannerOssId(items){
  316. for(let i = 0; i <items.length; i++) {
  317. this.$api.getImgUrlByOssId({ossId:items[i].slideshowId}).then(res=>{
  318. this.bannerList.push(res.data.data[0].url.replace(/^http:/, "https:"))
  319. })
  320. }
  321. },
  322. // 获取门店列表数据
  323. getStoreListData(){
  324. let that = this;
  325. // 用户绑定门店
  326. this.$api.storeList(this.reqParm).then((res)=>{
  327. console.log(res.data.data[0])
  328. that.storeInfo = res.data.data[0]
  329. // 更新用户选择的门店信息
  330. uni.setStorageSync('storeInfo',res.data.data[0])
  331. }).catch(() =>{
  332. uni.showToast({
  333. title: "操作失败"
  334. })
  335. })
  336. },
  337. // 积分详细页面
  338. gotoIntgral(){
  339. uni.$u.route({
  340. url: '/pages/integral/integral',
  341. params: {
  342. name: 'lisa'
  343. }
  344. })
  345. },
  346. getNoticeListData(){
  347. let req = {
  348. auth: true,
  349. noticeType:2
  350. }
  351. this.$api.noticeList({data:req}).then((res)=>{
  352. if (res.data.rows.length === 1){
  353. this.noticeList.push(res.data.rows[0])
  354. this.noticeList.push(res.data.rows[0])
  355. }else{
  356. this.noticeList = res.data.rows;
  357. }
  358. }).catch(() =>{
  359. uni.showToast({
  360. title: "操作失败"
  361. })
  362. })
  363. },
  364. getImgUrlByOssId(ossId){
  365. if (ossId){
  366. this.$api.getImgUrlByOssId(ossId).then(res=>{
  367. console.log('++++++++用户头像+++++++++++++++',res)
  368. })
  369. this.userInfo.selfPhotoUrl = url;
  370. return url;
  371. }
  372. },
  373. // 获取经纬度信息
  374. getLocation(){
  375. uni.getLocation({
  376. type: 'gcj02',
  377. success: function(res) {
  378. var latitude = res.latitude; // 纬度
  379. var longitude = res.longitude; // 经度
  380. var speed = res.speed; // 速度
  381. var accuracy = res.accuracy; // 精确度
  382. // 在这里可以对位置信息进行处理
  383. console.log("纬度:"+latitude+";经度"+longitude)
  384. this.reqParm.latitude = latitude
  385. this.reqParm.longitude = longitude
  386. }
  387. });
  388. },
  389. // 去选择门店
  390. gotoStoreChoose(){
  391. uni.navigateTo({
  392. url: '/storePages/store/store-choose?type=1',
  393. })
  394. },
  395. // 去再来一单
  396. gotoComeOrder(){
  397. uni.$u.route({
  398. url: '/pages/index/tabbar',
  399. params: {
  400. PageCur: 'orderList',
  401. status : '4'
  402. }
  403. })
  404. },
  405. // 去订单页面
  406. gotoOrder(){
  407. uni.$u.route({
  408. url: '/pages/index/tabbar',
  409. params: {
  410. PageCur: 'orderList'
  411. }
  412. })
  413. },
  414. // 去商品下单页面
  415. gotoGoods(){
  416. uni.$u.route({
  417. url: '/pages/index/tabbar',
  418. params: {
  419. PageCur: 'goods'
  420. }
  421. })
  422. },
  423. // 用户绑定门店
  424. userBindStore(){
  425. let that = this;
  426. // 用户绑定门店
  427. this.$api.userBindStore(this.reqParm).then((res)=>{
  428. console.log(this.reqParm)
  429. }).catch(() =>{
  430. uni.showToast({
  431. title: "操作失败"
  432. })
  433. })
  434. },
  435. }
  436. };
  437. </script>
  438. <style scoped lang="scss">
  439. /* 头部内容 */
  440. .head-wrap{
  441. height: 1080px;
  442. background: #FFE05C;
  443. .content-info{
  444. position: relative;
  445. .h-bg{
  446. height: 340px;
  447. }
  448. .content{
  449. position: absolute;
  450. top: 230px;
  451. left: 12px;
  452. right: 12px;
  453. border-radius: 6px;
  454. .h-notice-bar{
  455. padding-left: 10px;
  456. height: 46px;
  457. background: #FFFFFF;
  458. box-shadow: 0px 4px 8px 0px rgba(237,86,159,0.05);
  459. border-radius: 10px;
  460. }
  461. .h-content-wrap{
  462. background: #fff;
  463. border-radius: 10px;
  464. /* 欢迎语 */
  465. .welcome-wrap{
  466. padding-top: 12px;
  467. display: flex;
  468. margin-left: 12px;
  469. margin-right: 12px;
  470. margin-top: 16px;
  471. align-items: center;
  472. .logo {
  473. width: 13%;
  474. image{
  475. border-radius: 15px;
  476. width: 36px;
  477. height: 36px;
  478. }
  479. }
  480. .text{
  481. width: 60%;
  482. font-size: 14px;
  483. .welcome-wrap{
  484. font-size: 12px;
  485. color: #999999 ;
  486. }
  487. .welcome{
  488. font-size: 12px;
  489. color: #999999 ;
  490. }
  491. }
  492. .arrow-right{
  493. width: 30%;
  494. text-align: center;
  495. cursor: pointer;
  496. display: flex;
  497. justify-content: center;
  498. background: #fff8db;
  499. // background: red;
  500. height: 32px;
  501. align-items: center;
  502. border-radius: 16px;
  503. .qrcode{
  504. height: 20px;
  505. width: 20px;
  506. }
  507. .h-text{
  508. font-size: 12px;
  509. color: #999999 ;
  510. }
  511. .coupon-wrap{
  512. display: flex;
  513. font-size: 14px;
  514. color: #666;
  515. align-items: center;
  516. }
  517. }
  518. }
  519. /* 钱包信息 */
  520. .balance-info{
  521. font-size: 12px;
  522. padding-left: 12px;
  523. margin-bottom: 16px;
  524. margin-top: 12px;
  525. color: #666;
  526. display: flex;
  527. justify-content: space-around;
  528. text-align: center;
  529. .balance-amount{padding-right: 4px;}
  530. .score-info{padding-right: 4px;}
  531. .coupon-info{padding-right: 4px;}
  532. .e-currency-info{padding-right: 4px;}
  533. .number{
  534. color: #333333;
  535. font-size: 14px;
  536. }
  537. }
  538. /* 商店信息 */
  539. .store-wrap{
  540. margin: 10px;
  541. .store-info{
  542. display: flex;
  543. .logo {
  544. width: 10%;
  545. text-align: center;
  546. display: flex;
  547. justify-content: center;
  548. align-items: center;
  549. image{
  550. width: 30px;
  551. height: 30px;
  552. }
  553. }
  554. .store-content{
  555. width: 90%;
  556. padding-bottom: 13px;
  557. .h-row{
  558. display: flex;
  559. align-items: center;
  560. justify-content: space-between;
  561. .store-desc{
  562. width: 90%;
  563. display: flex;
  564. line-height: 30px;
  565. font-size: 14px;
  566. .store-name{
  567. }
  568. }
  569. .arrow-right{
  570. text-align: right;
  571. margin: 0 auto;
  572. cursor: pointer;
  573. padding-top: 3px;
  574. width: 100px;
  575. display: flex;
  576. font-size: 14px;
  577. .change-store{
  578. text-align: right;
  579. color: #666;
  580. }
  581. image{
  582. width: 18px;
  583. height: 18px;
  584. }
  585. }
  586. .address{
  587. color: #999999;
  588. font-size: 12px;
  589. padding-right: 12px;
  590. }
  591. }
  592. }
  593. }
  594. .adress{
  595. font-size: 11px;
  596. white-space: nowrap;
  597. overflow: hidden;
  598. text-overflow: ellipsis;
  599. padding-left:40px;
  600. color: #666;
  601. }
  602. }
  603. }
  604. }
  605. }
  606. }
  607. /* 上次订单 */
  608. .nav-wrap{
  609. background: #fff;
  610. border-radius: 8px;
  611. margin-top: 16px;
  612. .upper-order-wrap{
  613. display: flex;
  614. border-radius: 6px;
  615. justify-content: center;
  616. .left-content{
  617. margin-top: 20px;
  618. width: 50%;
  619. font-size: 12px;
  620. text-align: center;
  621. border-radius: 10px;
  622. .title{
  623. font-size: 18px;
  624. text-align: center;
  625. }
  626. .desc{
  627. padding-top: 6px;
  628. color: #999999;
  629. }
  630. .bg-img{
  631. text-align: center;
  632. height: 100px;
  633. display: flex;
  634. justify-content: center;
  635. align-items: center;
  636. image{
  637. width: 78px;
  638. height: 78px;
  639. }
  640. }
  641. }
  642. .right-content{
  643. margin-top: 20px;
  644. width: 50%;
  645. font-size: 12px;
  646. text-align: center;
  647. .title{
  648. font-size: 18px;
  649. text-align: center;
  650. }
  651. .desc{
  652. padding-top: 6px;
  653. color: #999999;
  654. }
  655. .bg-img{
  656. height: 100px;
  657. text-align: center;
  658. display: flex;
  659. justify-content: center;
  660. align-items: center;
  661. image{
  662. width: 78px;
  663. height: 78px;
  664. }
  665. }
  666. }
  667. }
  668. .menu-tab{
  669. display: flex;
  670. justify-content: space-around; // 平均分布
  671. justify-content: center;
  672. padding-bottom: 8px;
  673. .button-wrap{
  674. flex: 1;
  675. display: flex;
  676. align-items: center;
  677. justify-content: center;
  678. margin-top: 16px;
  679. margin-bottom: 18px;
  680. .name{
  681. padding-top: 3px;
  682. font-size: 12px;
  683. color: #666666;
  684. }
  685. .btn{
  686. padding-left: 12px;
  687. padding-right: 12px;
  688. height: 36px;
  689. border-radius: 18px;
  690. .icon{
  691. display: flex;
  692. padding-right: 6px;
  693. align-items: center;
  694. justify-content: center;
  695. image{
  696. height: 14px;
  697. width: 14px;
  698. }
  699. }
  700. }
  701. }
  702. }
  703. }
  704. /* 为你推荐 */
  705. .recommend-wrap{
  706. margin-top: 16px;
  707. background: #fff;
  708. border-radius: 8px;
  709. .recommend-nav{
  710. display: flex;
  711. margin-left: 12px;
  712. padding-top: 8px;
  713. padding-bottom: 4px;
  714. align-items: center;
  715. .icon{
  716. padding-right: 4px;
  717. image{
  718. height: 26px;
  719. width: 26px;
  720. }
  721. }
  722. .title{
  723. font-size: 16px;
  724. }
  725. }
  726. /* 门店列表 */
  727. .store-wrap{
  728. margin: 12px;
  729. height: 100px;
  730. .store-list{
  731. margin-top: 16px;
  732. .store-content{
  733. display: flex;
  734. .store-img{
  735. width: 30%;
  736. image{
  737. width: 100%;
  738. height: 78px;
  739. border-radius: 6px;
  740. }
  741. }
  742. .h-store-content{
  743. width: 70%;
  744. padding-left: 8px;
  745. padding-top: 4px;
  746. .title{
  747. font-size: 18px;
  748. font-family: "黑体", sans-serif;
  749. }
  750. .adress{
  751. font-size: 14px;
  752. color: #666;
  753. }
  754. .price{
  755. color: #666;
  756. width: 60%;
  757. font-size: 14px;
  758. line-height: 22px;
  759. .red{
  760. color: red;
  761. font-size: 16px;
  762. }
  763. }
  764. .desc{
  765. display: flex;
  766. padding-top: 3px;
  767. .price{
  768. width: 60%;
  769. font-size: 14px;
  770. line-height: 22px;
  771. }
  772. .order-btn{
  773. width: 100%;
  774. .btn{
  775. background: #FFE05C;
  776. text-align: center;
  777. border-radius: 14px;
  778. height: 26px;
  779. line-height: 26px;
  780. color: #333;
  781. font-size: 12px;
  782. }
  783. }
  784. }
  785. }
  786. }
  787. }
  788. }
  789. }
  790. /* 底部 */
  791. .footer{
  792. margin-top: 30px;
  793. height: 60px;
  794. font-size: 12px;
  795. text-align: center;
  796. color: #666;
  797. margin-bottom: 40px;
  798. }
  799. .tabBarView{
  800. position: fixed;
  801. bottom: 0;
  802. }
  803. </style>