travelDetails.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. <template>
  2. <view class="detailsPage">
  3. <u-swiper height=900 :list="picture" keyName="image" showTitle :autoplay="false" circular autoplay></u-swiper>
  4. <view class="details">
  5. <view class="title flex-item">
  6. <view class="">
  7. {{goodsInfo.name?goodsInfo.name:''}}
  8. <!-- 深林康养 -->
  9. </view>
  10. <view>
  11. ¥{{minprice}}
  12. <!-- ¥300 -->
  13. </view>
  14. </view>
  15. <view class="describe">
  16. {{goodsInfo.subtitle?goodsInfo.subtitle:''}}
  17. <!-- 夏日的森林,雨水充沛了山林,鲜花盛放,溪水潺潺。漫步于自然之中,感受清新的空气,放空心灵,沉醉于山雾之中,感受不同于城市的静谧与轻松 -->
  18. </view>
  19. <view class="flex">
  20. <view class="tags" v-for="item in tags">
  21. {{item}}
  22. </view>
  23. <!-- <view class="tags">
  24. 康养
  25. </view> -->
  26. </view>
  27. </view>
  28. <view class="detailsContent">
  29. <u-sticky bgColor="#fff">
  30. <view class="" style="box-shadow: 0px 2rpx 8rpx 0px rgba(0, 0, 0, 0.06);">
  31. <u-tabs :list="list1" :activeStyle="{color: '#1E9F6A','font-weight': 'bold'}"
  32. :inactiveStyle="{color: 'rgba(51, 51, 51, 0.5)'}" lineColor="#1E9F6A" lineWidth=50
  33. :scrollable="false" @click="check" :current="active"></u-tabs>
  34. </view>
  35. </u-sticky>
  36. <view class="detailsList">
  37. <!-- {{goodsInfo.description}} -->
  38. <view class="duction list-item">
  39. <u-icon name="tags" size="50" color="#1E9F6A"></u-icon>
  40. <view style="margin-left: 20rpx;">套餐特色</view>
  41. </view>
  42. <u-parse :content="goodsInfo.description"></u-parse>
  43. <view class="trips list-item">
  44. <u-icon name="calendar" size="50" color="#1E9F6A"></u-icon>
  45. <view style="margin-left: 20rpx;">行程简介</view>
  46. </view>
  47. <view style="margin: 20rpx 0;" v-for="item,index in goodsInfo.trips" :key="index">
  48. <view style="color:#1E9F6A;margin: 20rpx 0;">
  49. Day{{item.day?item.day:''}}
  50. </view>
  51. <u-parse :content="item.content"></u-parse>
  52. </view>
  53. <view class="charge list-item">
  54. <u-icon name="edit-pen" size="50" color="#1E9F6A"></u-icon>
  55. <view style="margin-left: 20rpx;">费用详情</view>
  56. </view>
  57. <u-parse :content="goodsInfo.cost_description"></u-parse>
  58. <view class="notice list-item">
  59. <u-icon name="bookmark" size="50" color="#1E9F6A"></u-icon>
  60. <view style="margin-left: 20rpx;">须知说明</view>
  61. </view>
  62. <u-parse :content="goodsInfo.instruction"></u-parse>
  63. </view>
  64. </view>
  65. <!-- <view class="" style="padding-top: 100rpx;width: 100%;"></view> -->
  66. <view class="navbar footer">
  67. <view class="kefu flex">
  68. <view class="">
  69. <button open-type="contact"
  70. style="background-color: transparent;border-style:none;border:0;padding: 0;line-height: 30rpx;">
  71. <image src="../../static/travelD/service.png" mode="aspectFit"></image>
  72. <view class="" style="font-size: 20rpx;color: rgba(255, 255, 255, 0.8);">
  73. 客服
  74. </view>
  75. </button>
  76. </view>
  77. <view style="height: 50rpx;width: 1px;background-color:rgba(255, 255, 255, 0.5);margin:0 40rpx;"></view>
  78. </view>
  79. <view class="kefu haibao flex" @click="share=true">
  80. <view class="" @click="goposter">
  81. <image src="../../static/travelD/share.png" mode="aspectFit" class="icon"></image>
  82. <view class="" style="padding-top: 0rpx;">
  83. 生成海报
  84. </view>
  85. </view>
  86. <view style="height: 50rpx;width: 1px;background-color:rgba(255, 255, 255, 0.5);margin:0 40rpx;"></view>
  87. </view>
  88. <view class="kefu wxin flex">
  89. <view class="">
  90. <button open-type="share"
  91. style="background-color: transparent;border-style:none;border:0;padding: 0;line-height: 30rpx;">
  92. <image src="../../static/travelD/share2.png" mode="aspectFit" class="icon"></image>
  93. <view class="" style="margin-top: 0rpx;font-size: 20rpx;color: rgba(255, 255, 255, 0.8);">
  94. 分享
  95. </view>
  96. </button>
  97. </view>
  98. <view style="height: 50rpx;width: 1px;background-color:rgba(255, 255, 255, 0.5);margin:0 40rpx;"></view>
  99. </view>
  100. <view class="want" @click="open">
  101. 我要报名
  102. </view>
  103. </view>
  104. <u-popup :show="show" mode="bottom" @close="close" @open="open" closeIconPos
  105. :customStyle="{padding:'30rpx',borderRadius:'0px 56rpx 0px 0px'}" :zIndex="zindex"
  106. :safeAreaInsetBottom="true">
  107. <view class="flex popupTop">
  108. <view class="image">
  109. <image :src="goodsInfo.cover_picture"></image>
  110. </view>
  111. <view class="">
  112. <view class="" style="font-size: 36rpx;font-weight: 600;color: #333333;margin-bottom: 18rpx;">
  113. {{goodsInfo.name?goodsInfo.name:''}}
  114. </view>
  115. <view class="" style="font-size: 28rpx;color: #333333;">
  116. {{choosedays?'已选':'请选择出发日期'}}:{{choosedays}}
  117. </view>
  118. </view>
  119. </view>
  120. <view class="day">
  121. <view class="" style="font-size: 30rpx;font-weight: bold;color: #333333;">
  122. 出发日期
  123. </view>
  124. <view class="" style="">
  125. <u-tabs :list="month" @change="chooseDay" :activeStyle="{color: '#1E9F6A','font-weight': 'bold'}"
  126. :inactiveStyle="{color: 'rgba(51, 51, 51, 0.5)'}" lineColor="#1E9F6A" :scrollable="true"
  127. :key="index" lineWidth="48" lineHeight="4">
  128. </u-tabs>
  129. </view>
  130. <view class="item">
  131. <view class="more" v-if="days.length==0">暂无房型</view>
  132. <view :class="dayindex==index?'day-item-active':'day-item'" v-for="item,index in days"
  133. @click="dayItem(index,item)">
  134. <view>
  135. <view class="txtgray">
  136. {{item.start_at.slice(5,10)?item.start_at.slice(5,10):''}}
  137. </view>
  138. <view class="txtgray">
  139. {{item.week?item.week:''}}
  140. </view>
  141. </view>
  142. <view class="" style="font-size: 26rpx;font-weight: 600;">
  143. ¥{{item.min_price}}
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. <view class="navbars" @click="openShow()">
  149. <view class="price">
  150. ¥{{price}}
  151. </view>
  152. <view class="choose">
  153. 选择房型
  154. </view>
  155. </view>
  156. </u-popup>
  157. <!-- 模态框 -->
  158. <!-- <view class="model">
  159. <u-modal :show="isshow" title="报名前必看" :content='content' showCancelButton @confirm="goadd" @cancel="cancel" confirmColor="#ffffff"></u-modal>
  160. </view> -->
  161. <!-- <scroll-view scroll-y="true" style="height: 90vh;" scroll-with-animation="true"> -->
  162. <view class="model">
  163. <u-modal :show="isshow" title="报名前必看" showCancelButton @confirm="goadd" @cancel="cancel"
  164. confirmColor="#ffffff" style="margin-left: 0;padding-left: 22rpx;">
  165. <view style="height: 560rpx;overflow: auto;">
  166. <u-parse :content="content"></u-parse>
  167. </view>
  168. </u-modal>
  169. </view>
  170. <!-- </scroll-view> -->
  171. </view>
  172. </template>
  173. <script>
  174. let that
  175. export default {
  176. data() {
  177. return {
  178. share: false,
  179. // 标签
  180. tags: [],
  181. // 出行时间
  182. days: [],
  183. // 选择状态
  184. dayindex: -1,
  185. choosedays: '',
  186. list2: [{
  187. image: "https:\/\/t38.9026.com\/uploads\/golf\/images\/2022-05-31\/20220531739250.png",
  188. }, {
  189. image: "https:\/\/t38.9026.com\/uploads\/golf\/images\/2022-05-31\/20220531739250.png",
  190. }, {
  191. image: "https:\/\/t38.9026.com\/uploads\/golf\/images\/2022-05-31\/20220531739250.png",
  192. }],
  193. list1: [{
  194. name: '特色'
  195. },
  196. {
  197. name: '行程'
  198. },
  199. {
  200. name: '费用'
  201. },
  202. {
  203. name: '须知'
  204. },
  205. {
  206. name: '置顶'
  207. }
  208. ],
  209. month: [],
  210. // 弹出层
  211. show: false,
  212. // 层级
  213. zindex: 10075,
  214. // 模态框
  215. isshow: false,
  216. // 模态框内容
  217. content: "",
  218. // 套餐内容
  219. goodsInfo: {},
  220. // 房间选择
  221. plans: {},
  222. //
  223. scrollTop: 0,
  224. price: 0,
  225. picture: [],
  226. active: 0,
  227. tab1top:'',
  228. tab2top:'',
  229. tab3top:'',
  230. tab4top:'',
  231. tab4bottom:'',
  232. cancelScroll:false,
  233. }
  234. },
  235. onLoad(options) {
  236. that = this
  237. if (options.id) {
  238. this.init(options.id)
  239. }
  240. let data = uni.getStorageSync("data")
  241. this.content = data[3].value
  242. },
  243. onShow() {
  244. this.initvist()
  245. },
  246. computed: {
  247. minprice() {
  248. let pr = 0
  249. if (this.goodsInfo.min_price) {
  250. pr = this.goodsInfo.min_price
  251. }
  252. return pr
  253. }
  254. },
  255. onPageScroll(e) {
  256. // console.log(e,"<==============距离顶部的距离")
  257. this.scrollTop = e.scrollTop
  258. this.handleScroll()
  259. },
  260. // #ifdef MP
  261. onShareAppMessage(s = false) {
  262. return this.$shareAppMessage({
  263. title: that.goodsInfo.name,
  264. imageUrl: "",
  265. path: "/pages/travel/travelDetails?id=" + this.id,
  266. });
  267. },
  268. onShareTimeline() {
  269. return {
  270. title: that.goodsInfo.name,
  271. path: "/pages/travel/travelDetails?id=" + this.id,
  272. }
  273. },
  274. // #endif
  275. methods: {
  276. initvist() {
  277. let curPage = getCurrentPages();
  278. let route = curPage[curPage.length - 1].route; //获取当前页面的路由
  279. let code = uni.getStorageSync("code")
  280. let obj = {
  281. page: route,
  282. code: code
  283. }
  284. if (code) {
  285. uni.$u.http.post('/api/visit/add', obj, {
  286. custom: {
  287. auth: true
  288. }
  289. }).then((res) => {}).catch((err) => {})
  290. }
  291. },
  292. init(id) {
  293. this.$showLoadding("加载中")
  294. uni.$u.http.post('/api/good/show', {
  295. good_id: id
  296. }, {
  297. custom: {
  298. auth: true
  299. }
  300. }).then((res) => {
  301. uni.hideLoading();
  302. this.goodsInfo = res
  303. this.tags = res.tags
  304. this.picture = JSON.parse(res.picture)
  305. let newmonth = []
  306. for (let key in res.plans) {
  307. newmonth.push({
  308. name: res.plans[key].month,
  309. days: res.plans[key].days
  310. })
  311. }
  312. this.month = newmonth
  313. this.days = newmonth[0].days
  314. }).catch((err) => {
  315. console.log(err)
  316. })
  317. },
  318. openShow() {
  319. if (this.dayindex >= 0) {
  320. this.isshow = true
  321. } else {
  322. if (this.days.length > 0) {
  323. uni.showModal({
  324. title: "提示",
  325. content: "请选择出发日期"
  326. })
  327. } else {
  328. uni.showModal({
  329. title: "提示",
  330. content: "暂无房型"
  331. })
  332. }
  333. return
  334. }
  335. },
  336. load() {
  337. this.$refs.uReadMore.init();
  338. },
  339. open() {
  340. this.show = true
  341. // console.log('open');
  342. },
  343. // 关闭popup
  344. close() {
  345. this.show = false
  346. // console.log('close');
  347. },
  348. // 添加出行人
  349. goadd() {
  350. this.isshow = false
  351. console.log(this.plans)
  352. let goodsInfo = {}
  353. goodsInfo.cover_picture = this.goodsInfo.cover_picture
  354. goodsInfo.name = this.goodsInfo.name
  355. goodsInfo.id = this.goodsInfo.id
  356. goodsInfo.subtitle = this.goodsInfo.subtitle
  357. goodsInfo.cohabit = this.goodsInfo.cohabit
  358. // uni.navigateTo({
  359. // url:`/pages/travel/travelPeople?days=${JSON.stringify(this.plans)}&goodsinfo=${JSON.stringify(goodsInfo)}`
  360. // })
  361. let obj = {
  362. days: this.plans,
  363. goodsinfo: goodsInfo
  364. }
  365. uni.navigateTo({
  366. url: "/pages/travel/travelPeople?obj=" + encodeURIComponent(JSON.stringify(obj))
  367. })
  368. },
  369. // 关闭提示框
  370. cancel() {
  371. this.zindex = 10075;
  372. this.isshow = false
  373. },
  374. // 选择当前日期
  375. dayItem(index, days) {
  376. this.price = days.min_price
  377. this.plans = days
  378. console.log(index, days)
  379. let start = days.start_at.slice(0, 10)
  380. let end = days.end_at.slice(0, 10)
  381. this.choosedays = `${start}~${end}`
  382. this.dayindex = index
  383. },
  384. // 选择日期
  385. chooseDay(item, index) {
  386. this.days = item.days
  387. },
  388. // 切换标签
  389. check(item) {
  390. // console.log(item)
  391. if (item.name == "行程") {
  392. uni.createSelectorQuery().select('.trips').boundingClientRect(data => { //目标位置的节点:类或者id
  393. uni.pageScrollTo({
  394. duration: 200, //过渡时间
  395. scrollTop: data.top + this.scrollTop - 50, //到达距离顶部的top值
  396. })
  397. }).exec();
  398. } else if (item.name == "特色") {
  399. uni.createSelectorQuery().select(".duction").boundingClientRect(res => { //目标位置的节点:类或者id
  400. uni.pageScrollTo({
  401. duration: 200, //过渡时间
  402. scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
  403. })
  404. }).exec()
  405. } else if (item.name == "费用") {
  406. uni.createSelectorQuery().select(".charge").boundingClientRect(res => { //目标位置的节点:类或者id
  407. uni.pageScrollTo({
  408. duration: 200, //过渡时间
  409. scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
  410. })
  411. }).exec()
  412. } else if (item.name == "须知") {
  413. uni.createSelectorQuery().select(".notice").boundingClientRect(res => { //目标位置的节点:类或者id
  414. uni.pageScrollTo({
  415. duration: 200, //过渡时间
  416. scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
  417. })
  418. }).exec()
  419. } else if (item.name == "置顶") {
  420. uni.pageScrollTo({
  421. duration: 200, //过渡时间
  422. scrollTop: 0, //到达距离顶部的top值
  423. })
  424. }
  425. this.cancelScroll = true;
  426. setTimeout(() =>{
  427. this.cancelScroll = null;
  428. },500);
  429. },
  430. handleScroll() {
  431. if (this.cancelScroll) {
  432. return;
  433. }
  434. // this.$refs 获取的是节点 不是数组
  435. uni.createSelectorQuery().select('.trips').boundingClientRect(data => { //目标位置的节点:类或者id
  436. that.tab1top = data.top-50 //到达距离顶部的top值
  437. }).exec();
  438. uni.createSelectorQuery().select('.duction').boundingClientRect(data => { //目标位置的节点:类或者id
  439. that.tab2top = data.top-50 //到达距离顶部的top值
  440. }).exec();
  441. uni.createSelectorQuery().select('.charge').boundingClientRect(data => { //目标位置的节点:类或者id
  442. that.tab3top = data.top-50//到达距离顶部的top值
  443. console.log(that.tab3top)
  444. }).exec();
  445. uni.createSelectorQuery().select('.notice').boundingClientRect(data => { //目标位置的节点:类或者id
  446. that.tab4top = data.top-50 //到达距离顶部的top值
  447. that.tab4bottom= data.bottom-50 //到达距离顶部的top值
  448. }).exec();
  449. // let tab2top = this.$refs['duction'][0].getBoundingClientRect().top;
  450. // let tab3top = this.$refs['charge'][0].getBoundingClientRect().top;
  451. // let tab4top = this.$refs['notice'][0].getBoundingClientRect().top;
  452. // console.log(document.documentElement.scrollTop, '页面滚出');
  453. // 86是怎么算的?也可以是0,小于0就是滚出去;(内容超出自己的高度,才会有滚动)
  454. // 第一个tab的滚动的距离
  455. if ( this.tab1top>0) {
  456. this.active = 0;
  457. }
  458. // 第二个tab的滚动的距离
  459. else if ( this.tab3top>0&&this.tab2top<0) {
  460. this.active = 1;
  461. }
  462. // 第三个tab的滚动的距离
  463. else if (this.tab3top<0&&this.tab2top<0&&this.tab4top>0) {
  464. this.active = 2;
  465. }
  466. else if ( this.tab4top<0&&this.tab4bottom<0) {
  467. this.active = 3;
  468. }
  469. },
  470. // 生成海报
  471. goposter() {
  472. uni.navigateTo({
  473. url: "/pages/travel/poster?goodsInfo=" + encodeURIComponent(JSON.stringify(this.goodsInfo))
  474. })
  475. },
  476. // 客服
  477. gomes() {
  478. uni.navigateTo({
  479. url: "/pages/customerService"
  480. })
  481. }
  482. }
  483. }
  484. </script>
  485. <style lang="less">
  486. page {
  487. background-color: #f4f4f4;
  488. }
  489. ._div {
  490. margin-left: 0 !important;
  491. padding-left: 22rpx !important;
  492. }
  493. .txtgray {
  494. color: #666666;
  495. }
  496. .model {
  497. height: 50rpx !important;
  498. }
  499. .detailsPage {
  500. width: 100%;
  501. .flex {
  502. display: flex;
  503. align-items: center;
  504. }
  505. .flex-item {
  506. display: flex;
  507. justify-content: space-between;
  508. margin: 10rpx 0;
  509. }
  510. .details {
  511. background-color: #fff;
  512. padding: 40rpx 30rpx 40rpx;
  513. margin: 24rpx 0;
  514. font-family: PingFang-SC-Medium, PingFang-SC;
  515. .title {
  516. color: #333333;
  517. font-size: 34rpx;
  518. font-weight: 600;
  519. margin-bottom: 24rpx;
  520. }
  521. .describe {
  522. font-size: 28rpx;
  523. color: #666666;
  524. margin-bottom: 40rpx;
  525. }
  526. .tags {
  527. font-size: 26rpx;
  528. color: #1E9F6A;
  529. height: 56rpx;
  530. padding: 0 28rpx;
  531. line-height: 56rpx;
  532. background: rgba(30, 159, 106, 0.06);
  533. margin-right: 24rpx;
  534. }
  535. }
  536. .detailsContent {
  537. background-color: #fff;
  538. margin-bottom: 160rpx;
  539. height: 100%;
  540. .detailsList {
  541. padding: 20rpx;
  542. }
  543. .list-item {
  544. display: flex;
  545. align-items: center;
  546. color: #1E9F6A;
  547. font-size: 36rpx;
  548. }
  549. }
  550. .navbar {
  551. background: #1E9F6A;
  552. border-radius: 16rpx 16rpx 0px 0px;
  553. color: #ffffff;
  554. display: flex;
  555. bottom: 0;
  556. left: 0;
  557. position: fixed;
  558. width: 100%;
  559. padding: 16rpx 40rpx;
  560. box-sizing: border-box;
  561. z-index: 10000;
  562. .kefu {
  563. // width: 44rpx;
  564. button::after {
  565. border: none;
  566. }
  567. image {
  568. width: 44rpx;
  569. height: 44rpx;
  570. }
  571. font-size: 20rpx;
  572. color: rgba(255, 255, 255, 0.8);
  573. text-align: center;
  574. }
  575. .haibao {
  576. image {
  577. // width: 42rpx;
  578. height: 38rpx;
  579. }
  580. }
  581. .wxin {
  582. image {
  583. // width: 42rpx;
  584. height: 42rpx;
  585. }
  586. }
  587. .want {
  588. display: flex;
  589. flex: 1;
  590. align-items: center;
  591. justify-content: center;
  592. // padding-right: 50rpx;
  593. font-size: 32rpx;
  594. font-weight: bold;
  595. }
  596. }
  597. .popupTop {
  598. padding-bottom: 24rpx;
  599. color: #333333;
  600. .image {
  601. margin: 20rpx 20rpx 0 0;
  602. }
  603. image {
  604. height: 120rpx;
  605. width: 180rpx;
  606. border-radius: 6rpx;
  607. }
  608. }
  609. .day {
  610. // height: 200rpx;
  611. margin-bottom: 180rpx;
  612. }
  613. .item {
  614. margin-top: -6rpx;
  615. border-top: 1rpx solid #E3E3E3;
  616. display: flex;
  617. overflow: auto;
  618. // flex-wrap: nowrap;
  619. }
  620. .day-item-active {
  621. display: flex;
  622. flex-direction: column;
  623. justify-content: space-between;
  624. width: 120rpx;
  625. height: 164rpx;
  626. border-radius: 0px 32rpx 0px 32rpx;
  627. background: rgba(30, 159, 106, 0.1);
  628. border: 1px solid #1E9F6A;
  629. font-size: 22rpx;
  630. color: #333333;
  631. // text-align: center;
  632. margin: 56rpx 24rpx 0 0;
  633. box-sizing: border-box;
  634. padding: 18rpx 20rpx 18rpx 20rpx;
  635. }
  636. .day-item {
  637. display: flex;
  638. flex-direction: column;
  639. justify-content: space-between;
  640. width: 122rpx;
  641. height: 166rpx;
  642. background: #F4F4F4;
  643. border-radius: 0px 32rpx 0px 32rpx;
  644. font-size: 22rpx;
  645. color: #333333;
  646. // text-align: center;
  647. margin: 56rpx 24rpx 0 0;
  648. box-sizing: border-box;
  649. padding: 18rpx 20rpx 18rpx 20rpx;
  650. }
  651. .navbars {
  652. box-sizing: border-box;
  653. width: 100%;
  654. height: 104rpx;
  655. // line-height:104rpx;
  656. display: flex;
  657. align-items: center;
  658. padding: 28rpx 0;
  659. background: #1E9F6A;
  660. border-radius: 16rpx 16rpx 0px 0px;
  661. color: #ffffff;
  662. display: flex;
  663. bottom: 0;
  664. left: 0;
  665. position: fixed;
  666. .price {
  667. border-right: 1px solid #ffffff;
  668. padding: 0 64rpx 0 30rpx;
  669. }
  670. .choose {
  671. font-size: 35rpx;
  672. margin: auto;
  673. }
  674. }
  675. }
  676. </style>