index.vue 23 KB

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