travelDetails.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  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. // #endif
  269. methods: {
  270. initvist() {
  271. let curPage = getCurrentPages();
  272. let route = curPage[curPage.length - 1].route; //获取当前页面的路由
  273. let code = uni.getStorageSync("code")
  274. let obj = {
  275. page: route,
  276. code: code
  277. }
  278. if (code) {
  279. uni.$u.http.post('/api/visit/add', obj, {
  280. custom: {
  281. auth: true
  282. }
  283. }).then((res) => {}).catch((err) => {})
  284. }
  285. },
  286. init(id) {
  287. this.$showLoadding("加载中")
  288. uni.$u.http.post('/api/good/show', {
  289. good_id: id
  290. }, {
  291. custom: {
  292. auth: true
  293. }
  294. }).then((res) => {
  295. uni.hideLoading();
  296. this.goodsInfo = res
  297. this.tags = res.tags
  298. this.picture = JSON.parse(res.picture)
  299. let newmonth = []
  300. for (let key in res.plans) {
  301. newmonth.push({
  302. name: res.plans[key].month,
  303. days: res.plans[key].days
  304. })
  305. }
  306. this.month = newmonth
  307. this.days = newmonth[0].days
  308. }).catch((err) => {
  309. console.log(err)
  310. })
  311. },
  312. openShow() {
  313. if (this.dayindex >= 0) {
  314. this.isshow = true
  315. } else {
  316. if (this.days.length > 0) {
  317. uni.showModal({
  318. title: "提示",
  319. content: "请选择出发日期"
  320. })
  321. } else {
  322. uni.showModal({
  323. title: "提示",
  324. content: "暂无房型"
  325. })
  326. }
  327. return
  328. }
  329. },
  330. load() {
  331. this.$refs.uReadMore.init();
  332. },
  333. open() {
  334. this.show = true
  335. // console.log('open');
  336. },
  337. // 关闭popup
  338. close() {
  339. this.show = false
  340. // console.log('close');
  341. },
  342. // 添加出行人
  343. goadd() {
  344. this.isshow = false
  345. console.log(this.plans)
  346. let goodsInfo = {}
  347. goodsInfo.cover_picture = this.goodsInfo.cover_picture
  348. goodsInfo.name = this.goodsInfo.name
  349. goodsInfo.id = this.goodsInfo.id
  350. goodsInfo.subtitle = this.goodsInfo.subtitle
  351. goodsInfo.cohabit = this.goodsInfo.cohabit
  352. // uni.navigateTo({
  353. // url:`/pages/travel/travelPeople?days=${JSON.stringify(this.plans)}&goodsinfo=${JSON.stringify(goodsInfo)}`
  354. // })
  355. let obj = {
  356. days: this.plans,
  357. goodsinfo: goodsInfo
  358. }
  359. uni.navigateTo({
  360. url: "/pages/travel/travelPeople?obj=" + encodeURIComponent(JSON.stringify(obj))
  361. })
  362. },
  363. // 关闭提示框
  364. cancel() {
  365. this.zindex = 10075;
  366. this.isshow = false
  367. },
  368. // 选择当前日期
  369. dayItem(index, days) {
  370. this.price = days.min_price
  371. this.plans = days
  372. console.log(index, days)
  373. let start = days.start_at.slice(0, 10)
  374. let end = days.end_at.slice(0, 10)
  375. this.choosedays = `${start}~${end}`
  376. this.dayindex = index
  377. },
  378. // 选择日期
  379. chooseDay(item, index) {
  380. this.days = item.days
  381. },
  382. // 切换标签
  383. check(item) {
  384. // console.log(item)
  385. if (item.name == "行程") {
  386. uni.createSelectorQuery().select('.trips').boundingClientRect(data => { //目标位置的节点:类或者id
  387. uni.pageScrollTo({
  388. duration: 200, //过渡时间
  389. scrollTop: data.top + this.scrollTop - 50, //到达距离顶部的top值
  390. })
  391. }).exec();
  392. } else if (item.name == "特色") {
  393. uni.createSelectorQuery().select(".duction").boundingClientRect(res => { //目标位置的节点:类或者id
  394. uni.pageScrollTo({
  395. duration: 200, //过渡时间
  396. scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
  397. })
  398. console.log( res.top + this.scrollTop - 50,996555)
  399. }).exec()
  400. } else if (item.name == "费用") {
  401. uni.createSelectorQuery().select(".charge").boundingClientRect(res => { //目标位置的节点:类或者id
  402. uni.pageScrollTo({
  403. duration: 200, //过渡时间
  404. scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
  405. })
  406. }).exec()
  407. } else if (item.name == "须知") {
  408. uni.createSelectorQuery().select(".notice").boundingClientRect(res => { //目标位置的节点:类或者id
  409. uni.pageScrollTo({
  410. duration: 200, //过渡时间
  411. scrollTop: res.top + this.scrollTop - 50, //到达距离顶部的top值
  412. })
  413. }).exec()
  414. } else if (item.name == "置顶") {
  415. uni.pageScrollTo({
  416. duration: 200, //过渡时间
  417. scrollTop: 0, //到达距离顶部的top值
  418. })
  419. }
  420. this.cancelScroll = true;
  421. setTimeout(() =>{
  422. this.cancelScroll = null;
  423. },500);
  424. },
  425. handleScroll() {
  426. if (this.cancelScroll) {
  427. return;
  428. }
  429. // this.$refs 获取的是节点 不是数组
  430. uni.createSelectorQuery().select('.trips').boundingClientRect(data => { //目标位置的节点:类或者id
  431. that.tab1top = data.top-50 //到达距离顶部的top值
  432. }).exec();
  433. uni.createSelectorQuery().select('.duction').boundingClientRect(data => { //目标位置的节点:类或者id
  434. that.tab2top = data.top-50 //到达距离顶部的top值
  435. }).exec();
  436. uni.createSelectorQuery().select('.charge').boundingClientRect(data => { //目标位置的节点:类或者id
  437. that.tab3top = data.top-50//到达距离顶部的top值
  438. console.log(that.tab3top)
  439. }).exec();
  440. uni.createSelectorQuery().select('.notice').boundingClientRect(data => { //目标位置的节点:类或者id
  441. that.tab4top = data.top-50 //到达距离顶部的top值
  442. that.tab4bottom= data.bottom-50 //到达距离顶部的top值
  443. }).exec();
  444. // let tab2top = this.$refs['duction'][0].getBoundingClientRect().top;
  445. // let tab3top = this.$refs['charge'][0].getBoundingClientRect().top;
  446. // let tab4top = this.$refs['notice'][0].getBoundingClientRect().top;
  447. // console.log(document.documentElement.scrollTop, '页面滚出');
  448. // 86是怎么算的?也可以是0,小于0就是滚出去;(内容超出自己的高度,才会有滚动)
  449. // 第一个tab的滚动的距离
  450. if ( this.tab1top>0) {
  451. this.active = 0;
  452. }
  453. // 第二个tab的滚动的距离
  454. else if ( this.tab3top>0&&this.tab2top<0) {
  455. this.active = 1;
  456. }
  457. // 第三个tab的滚动的距离
  458. else if (this.tab3top<0&&this.tab2top<0&&this.tab4top>0) {
  459. this.active = 2;
  460. }
  461. else if ( this.tab4top<0&&this.tab4bottom<0) {
  462. this.active = 3;
  463. }
  464. },
  465. // 生成海报
  466. goposter() {
  467. uni.navigateTo({
  468. url: "/pages/travel/poster?goodsInfo=" + encodeURIComponent(JSON.stringify(this.goodsInfo))
  469. })
  470. },
  471. // 客服
  472. gomes() {
  473. uni.navigateTo({
  474. url: "/pages/customerService"
  475. })
  476. }
  477. }
  478. }
  479. </script>
  480. <style lang="less">
  481. page {
  482. background-color: #f4f4f4;
  483. }
  484. ._div {
  485. margin-left: 0 !important;
  486. padding-left: 22rpx !important;
  487. }
  488. .txtgray {
  489. color: #666666;
  490. }
  491. .model {
  492. height: 50rpx !important;
  493. }
  494. .detailsPage {
  495. width: 100%;
  496. .flex {
  497. display: flex;
  498. align-items: center;
  499. }
  500. .flex-item {
  501. display: flex;
  502. justify-content: space-between;
  503. margin: 10rpx 0;
  504. }
  505. .details {
  506. background-color: #fff;
  507. padding: 40rpx 30rpx 40rpx;
  508. margin: 24rpx 0;
  509. font-family: PingFang-SC-Medium, PingFang-SC;
  510. .title {
  511. color: #333333;
  512. font-size: 34rpx;
  513. font-weight: 600;
  514. margin-bottom: 24rpx;
  515. }
  516. .describe {
  517. font-size: 28rpx;
  518. color: #666666;
  519. margin-bottom: 40rpx;
  520. }
  521. .tags {
  522. font-size: 26rpx;
  523. color: #1E9F6A;
  524. height: 56rpx;
  525. padding: 0 28rpx;
  526. line-height: 56rpx;
  527. background: rgba(30, 159, 106, 0.06);
  528. margin-right: 24rpx;
  529. }
  530. }
  531. .detailsContent {
  532. background-color: #fff;
  533. margin-bottom: 160rpx;
  534. height: 100%;
  535. .detailsList {
  536. padding: 20rpx;
  537. }
  538. .list-item {
  539. display: flex;
  540. align-items: center;
  541. color: #1E9F6A;
  542. font-size: 36rpx;
  543. }
  544. }
  545. .navbar {
  546. background: #1E9F6A;
  547. border-radius: 16rpx 16rpx 0px 0px;
  548. color: #ffffff;
  549. display: flex;
  550. bottom: 0;
  551. left: 0;
  552. position: fixed;
  553. width: 100%;
  554. padding: 16rpx 40rpx;
  555. box-sizing: border-box;
  556. z-index: 10000;
  557. .kefu {
  558. // width: 44rpx;
  559. button::after {
  560. border: none;
  561. }
  562. image {
  563. width: 44rpx;
  564. height: 44rpx;
  565. }
  566. font-size: 20rpx;
  567. color: rgba(255, 255, 255, 0.8);
  568. text-align: center;
  569. }
  570. .haibao {
  571. image {
  572. // width: 42rpx;
  573. height: 38rpx;
  574. }
  575. }
  576. .wxin {
  577. image {
  578. // width: 42rpx;
  579. height: 42rpx;
  580. }
  581. }
  582. .want {
  583. display: flex;
  584. flex: 1;
  585. align-items: center;
  586. justify-content: center;
  587. // padding-right: 50rpx;
  588. font-size: 32rpx;
  589. font-weight: bold;
  590. }
  591. }
  592. .popupTop {
  593. padding-bottom: 24rpx;
  594. color: #333333;
  595. .image {
  596. margin: 20rpx 20rpx 0 0;
  597. }
  598. image {
  599. height: 120rpx;
  600. width: 180rpx;
  601. border-radius: 6rpx;
  602. }
  603. }
  604. .day {
  605. // height: 200rpx;
  606. margin-bottom: 180rpx;
  607. }
  608. .item {
  609. margin-top: -6rpx;
  610. border-top: 1rpx solid #E3E3E3;
  611. display: flex;
  612. overflow: auto;
  613. // flex-wrap: nowrap;
  614. }
  615. .day-item-active {
  616. display: flex;
  617. flex-direction: column;
  618. justify-content: space-between;
  619. width: 120rpx;
  620. height: 164rpx;
  621. border-radius: 0px 32rpx 0px 32rpx;
  622. background: rgba(30, 159, 106, 0.1);
  623. border: 1px solid #1E9F6A;
  624. font-size: 22rpx;
  625. color: #333333;
  626. // text-align: center;
  627. margin: 56rpx 24rpx 0 0;
  628. box-sizing: border-box;
  629. padding: 18rpx 20rpx 18rpx 20rpx;
  630. }
  631. .day-item {
  632. display: flex;
  633. flex-direction: column;
  634. justify-content: space-between;
  635. width: 122rpx;
  636. height: 166rpx;
  637. background: #F4F4F4;
  638. border-radius: 0px 32rpx 0px 32rpx;
  639. font-size: 22rpx;
  640. color: #333333;
  641. // text-align: center;
  642. margin: 56rpx 24rpx 0 0;
  643. box-sizing: border-box;
  644. padding: 18rpx 20rpx 18rpx 20rpx;
  645. }
  646. .navbars {
  647. box-sizing: border-box;
  648. width: 100%;
  649. height: 104rpx;
  650. // line-height:104rpx;
  651. display: flex;
  652. align-items: center;
  653. padding: 28rpx 0;
  654. background: #1E9F6A;
  655. border-radius: 16rpx 16rpx 0px 0px;
  656. color: #ffffff;
  657. display: flex;
  658. bottom: 0;
  659. left: 0;
  660. position: fixed;
  661. .price {
  662. border-right: 1px solid #ffffff;
  663. padding: 0 64rpx 0 30rpx;
  664. }
  665. .choose {
  666. font-size: 35rpx;
  667. margin: auto;
  668. }
  669. }
  670. }
  671. </style>