index.vue 19 KB

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