model.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. <template>
  2. <view class="content mone" v-if="baseURL">
  3. <model :modelId='mtype' :templateData='templateData' :isShare='isShare' :isLook='isLook'></model>
  4. <view class="bottom_padding" v-if="type!=1">
  5. </view>
  6. <view class="fxmp flex bottom" v-if="type==2">
  7. <button class="share" type="default" open-type="share">
  8. 分享名片
  9. </button>
  10. </view>
  11. <view class="fxmp flex bottom" v-if="type==3">
  12. <button class="share" type="default" open-type="share">
  13. 分享名片
  14. </button>
  15. <view class="nav-model " @click="navto('/pages/user/model/modelrz?type=1&modelid=' + mtype)">
  16. 修改名片
  17. </view>
  18. </view>
  19. <block v-if="type==0">
  20. <view class="ljrz bottom" v-if="userInfo.work_type_id <=0"
  21. @click="navto('/pages/user/model/modelrz?modelid=' + mtype + '&type=2')">
  22. 生成我的名片
  23. </view>
  24. <view v-else class="create-model flex bottom">
  25. <view class="price-show">
  26. 模板费用:<text>{{modelInfo.price*1}}</text>
  27. </view>
  28. <view class="to-show" @click="preview">
  29. 模板预览
  30. </view>
  31. <view class="by-now" @click="gobuy">
  32. 购买使用
  33. </view>
  34. </view>
  35. </block>
  36. <view class="yl bottom" v-if="previewShow" @click="outPreview">
  37. 结束预览
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. import {
  43. mapState,
  44. mapMutations
  45. } from 'vuex';
  46. import {
  47. getUserCardInfo,
  48. getCommonUserCardInfo,
  49. getShowTemplateItem,
  50. subShowTemplateOrder
  51. } from '@/api/model.js'
  52. import {
  53. getUser
  54. } from '@/api/user.js';
  55. import model from '@/pages/modelData/index.vue';
  56. export default {
  57. components: {
  58. model
  59. },
  60. data() {
  61. return {
  62. mtype: 1, //modelid
  63. shareId: '', //保存分享uid
  64. // 默认显示数据
  65. cardInfo: {
  66. name: '佚名',
  67. avatar: 'https://api.myjie.cn/resource/icon/base/f.png',
  68. age: '41',
  69. twelve: '鼠',
  70. work_year: '10',
  71. constellation: '处女座',
  72. ancestral_place: '浙江',
  73. minority: '汉族',
  74. education: '本科',
  75. service_area_all: ['浙江省台州市路桥区'],
  76. service_min_price: 100,
  77. service_max_price: 200,
  78. service_time_type_title: '每小时',
  79. service_intro_content: '高级育婴师证|高级催乳师证|早产儿护理师母婴护理证|金牌月嫂证|产后恢复师证|公共营养师证|月子药膳调理师证|国际宝宝睡眠咨询师证|普通话二级甲等|中央广播电视大学学历|学前教育专业,深耕幼教十年,技能全面,性格活泼,有亲和力,做事干净利落,有很强的责任心。对宝宝有爱心,体贴新手妈妈。专业技能熟练。应急能力强。让家人放心、产妇舒心的坐好月子。',
  80. service_intro_imgs: ['https://api.myjie.cn/resource/icon/base/pj1.png',
  81. 'https://api.myjie.cn/resource/icon/base/pj2.png',
  82. 'https://api.myjie.cn/resource/icon/base/pj3.png',
  83. 'https://api.myjie.cn/resource/icon/base/pj4.png'
  84. ],
  85. service_audit_imgs: ['https://api.myjie.cn/resource/icon/base/zs1.png',
  86. 'https://api.myjie.cn/resource/icon/base/zs2.png',
  87. 'https://api.myjie.cn/resource/icon/base/zs3.png',
  88. 'https://api.myjie.cn/resource/icon/base/zs4.png'
  89. ],
  90. service_imgs: ['https://api.myjie.cn/resource/icon/base/pj1.png',
  91. 'https://api.myjie.cn/resource/icon/base/pj2.png',
  92. 'https://api.myjie.cn/resource/icon/base/pj3.png',
  93. 'https://api.myjie.cn/resource/icon/base/pj4.png'
  94. ],
  95. service_project_ar: [{
  96. title: '婴幼儿睡眠管理',
  97. content: '如:日夜颠倒、睡眠不规律、乳头混淆、奶睡、抱睡等问题,帮助宝爸宝妈规律孩子作息、解决婴幼儿喂养困扰,培养良好的生活、学习习惯。'
  98. }, {
  99. title: '特色月子餐',
  100. content: '套用客户的一句话“养眼、养心更养胃”!家常菜、面食、点心、甜品、靓汤、五谷杂粮粥、婴幼儿花样辅食等。'
  101. },
  102. {
  103. title: '早产儿特殊护理',
  104. content: '包括早产儿基础护理、安全喂养方法、追赶性生长、消化与免疫系统等技能,根据宝宝具体情况给予早产儿家长的科学入户指导。'
  105. },
  106. {
  107. title: '0-6岁早期教育',
  108. content: '在婴孩最敏感最能接受的时期进行事半功倍的适时教育,针对不同年龄段的孩子,开发婴幼儿潜能的教育,为孩子多元化和健康人格打下良好基础。'
  109. }
  110. ],
  111. is_type_audit: 1
  112. },
  113. userTemplate: {}, //用户展示数据
  114. templateData: {}, //模板查看数据
  115. modelInfo: {}, //当前模板信息
  116. payType: 'wxpay',
  117. type: 0, //0为商品页面进入1为个人中心进入修改预览2为分享查看预览,3为已购模板进入查看分享
  118. isShare: false, //是否显示分享按钮
  119. isLook: 0, //1为平台浏览量2为用户浏览量0为不显示
  120. previewShow: false, //是否显示预览
  121. }
  122. },
  123. onLoad(opt) {
  124. // #ifndef MP
  125. if (opt.spread) {
  126. // 存储其他邀请人
  127. uni.setStorageSync('spread', opt.spread);
  128. }
  129. // #endif
  130. // #ifdef MP
  131. if (opt.scene) {
  132. // 存储小程序邀请人
  133. uni.setStorage({
  134. key: 'spread_code',
  135. data: opt.scene
  136. });
  137. }
  138. uni.hideShareMenu();
  139. // #endif
  140. // 获取模板id
  141. this.mtype = opt.mtype
  142. // 获取查看类型
  143. this.type = +opt.type
  144. // 是否首页进入
  145. if (this.type === 0) {
  146. this.templateData = this.cardInfo;
  147. this.isLook = 1;
  148. this.getShowTemplateItem();
  149. this.getCommonUserCardInfo(this.userInfo.uid);
  150. return
  151. }
  152. //个人中心提交数据预览
  153. if (this.type === 1) {
  154. this.templateData = uni.getStorageSync('modeldata');
  155. return
  156. }
  157. //分享预览
  158. if (this.type === 2) {
  159. console.log(opt.type,'opt.type');
  160. this.isLook = 2;
  161. this.getCommonUserCardInfo(opt.uid);
  162. return
  163. }
  164. //我的模板页进入预览
  165. if (this.type === 3) {
  166. console.log(opt.type,'opt.type');
  167. this.isShare = true;
  168. this.isLook = 2;
  169. this.shareId = this.userInfo.uid;
  170. this.getCommonUserCardInfo(this.userInfo.uid);
  171. return
  172. }
  173. // if(opt.look && opt.look == 2) {
  174. // this.islook = opt.look
  175. // this.cardInfo = uni.getStorageSync('modeldata')
  176. // this.is_yl = true
  177. // }else {
  178. // if (opt.look && opt.look == 1) {
  179. // uni.showShareMenu();
  180. // this.look = false
  181. // }
  182. // if (opt.uid) {
  183. // this.shareId = opt.uid
  184. // this.getCommonUserCardInfo(opt.uid)
  185. // } else {
  186. // this.getShowTemplateItem()
  187. // }
  188. // }
  189. },
  190. computed: {
  191. ...mapState(['baseURL']),
  192. ...mapState('user', ['userInfo']),
  193. },
  194. onShow() {
  195. // this.getUser()
  196. },
  197. // #ifdef MP
  198. onShareAppMessage(options) {
  199. // 设置菜单中的转发按钮触发转发事件时的转发内容
  200. let pages = getCurrentPages(); //获取加载的页面
  201. let currentPage = pages[pages.length - 1]; //获取当前页面的对象
  202. let url = currentPage.route; //当前页面url
  203. let item = currentPage.options; //如果要获取url中所带的参数可以查看options
  204. let shareObj = {}
  205. shareObj = {
  206. title: this.templateData.name + '母婴界数字名片', // 默认是小程序的名称(可以写slogan等)
  207. path: url + '?uid=' + this.shareId + '&mtype=' + this.mtype + '&type=2', // 默认是当前页面,必须是以‘/’开头的完整路径
  208. imageUrl: '',
  209. success: function(res) {
  210. // 转发成功之后的回调
  211. if (res.errMsg == 'shareAppMessage:ok') {}
  212. },
  213. fail: function() {
  214. // 转发失败之后的回调
  215. if (res.errMsg == 'shareAppMessage:fail cancel') {
  216. // 用户取消转发
  217. } else if (res.errMsg == 'shareAppMessage:fail') {
  218. // 转发失败,其中 detail message 为详细失败信息
  219. }
  220. }
  221. };
  222. console.log(shareObj)
  223. return shareObj;
  224. },
  225. // #endif
  226. onUnload() {
  227. let pages = getCurrentPages(); //获取加载的页面
  228. let currentPage = pages[pages.length - 2]; //获取当前页面的对象
  229. // console.log(currentPage.route)
  230. if (currentPage.route == 'pages/public/wxLogin') {
  231. uni.switchTab({
  232. url: '/pages/index/index'
  233. })
  234. }
  235. },
  236. methods: {
  237. ...mapMutations('user', ['setUserInfo']),
  238. // 模板预览
  239. preview() {
  240. this.templateData = this.userTemplate.id ? this.userTemplate : this.cardInfo;
  241. this.previewShow = true;
  242. // 隐藏浏览数量
  243. this.isLook = 0;
  244. },
  245. // 结束预览
  246. outPreview() {
  247. this.templateData = this.cardInfo;
  248. this.previewShow = false;
  249. if (this.type == 0) {
  250. this.isLook = 1;
  251. return
  252. }
  253. if (this.type == 3) {
  254. this.isLook = 2;
  255. return
  256. }
  257. },
  258. // 监听web视图反馈
  259. changeDate(base) {
  260. console.log(base, 'mss');
  261. },
  262. navto(url) {
  263. uni.navigateTo({
  264. url
  265. })
  266. },
  267. getUser() {
  268. const that = this;
  269. getUser({}).then((e) => {
  270. that.setUserInfo(e.data)
  271. if (e.data.work_type_id > 0 && that.shareId == '') {
  272. that.getUserCardInfo()
  273. } else {
  274. that.cardInfo = {}
  275. }
  276. }).catch((e) => {})
  277. },
  278. gobuy() {
  279. let that = this
  280. subShowTemplateOrder({
  281. id: that.mtype,
  282. pay_type: that.payType
  283. }).then(res => {
  284. if (res.data.status == 1) {
  285. uni.showModal({
  286. title: '提示',
  287. content: '支付成功!',
  288. cancelText: '关闭',
  289. confirmText: '查看模板',
  290. success: res => {
  291. if (res.confirm) {
  292. uni.reLaunch({
  293. url: '/pages/user/model/model?mtype=' +
  294. that.mtype,
  295. });
  296. }
  297. },
  298. fail: () => {},
  299. complete: () => {}
  300. });
  301. } else {
  302. let da = res.data.jsApiParameters;
  303. let data = {
  304. appId: da.appId,
  305. // #ifdef H5
  306. timestamp: da.timeStamp,
  307. // #endif
  308. // #ifdef MP
  309. timeStamp: da.timeStamp + '',
  310. // #endif
  311. nonceStr: da.nonceStr,
  312. package: da.package,
  313. signType: da.signType,
  314. paySign: da.paySign,
  315. success: function(res) {
  316. // obj.paySuccessTo();
  317. // alert('支付成功')
  318. uni.showModal({
  319. title: '提示',
  320. content: '支付成功!',
  321. cancelText: '关闭',
  322. confirmText: '查看模板',
  323. success: res => {
  324. if (res.confirm) {
  325. uni.reLaunch({
  326. url: '/pages/user/model/model?mtype=' +
  327. that.mtype,
  328. });
  329. }
  330. },
  331. fail: () => {},
  332. complete: () => {}
  333. });
  334. console.log('支付成功')
  335. },
  336. fail: (err) => {
  337. console.log(err)
  338. // alert('支付失败')
  339. // uni.navigateTo({
  340. // url: '/pages/order/order?state=0'
  341. // });
  342. }
  343. };
  344. console.log(data, 'timeStamp')
  345. if (that.payType == 'wxpay') {
  346. console.log('到这里')
  347. wx.requestPayment(data)
  348. }
  349. }
  350. })
  351. },
  352. // 获取模板详情
  353. getShowTemplateItem() {
  354. let that = this
  355. getShowTemplateItem({
  356. id: that.mtype
  357. }).then(res => {
  358. that.modelInfo = res.data;
  359. if (that.type == 0) {
  360. that.cardInfo.look_count = res.data.look_count
  361. }
  362. })
  363. },
  364. // 加载用户模板数据
  365. getCommonUserCardInfo(uid) {
  366. let that = this
  367. getCommonUserCardInfo({
  368. uid: uid
  369. }).then(res => {
  370. let arr = []
  371. let basearr = res.data.service_area_all
  372. basearr.forEach(item => {
  373. arr.push(item[0].name + item[1].name + item[2].name)
  374. })
  375. res.data.service_area_all = arr
  376. // 保存用户模板数据
  377. that.userTemplate = res.data
  378. if (that.type == 3||that.type == 2) {
  379. that.templateData = res.data
  380. }
  381. })
  382. },
  383. getUserCardInfo() {
  384. let that = this
  385. getUserCardInfo().then(res => {
  386. console.log(res)
  387. let arr = []
  388. let basearr = res.data.service_area_all
  389. basearr.forEach(item => {
  390. arr.push(item[0].name + item[1].name + item[2].name)
  391. })
  392. res.data.service_area_all = arr
  393. that.cardInfo = res.data
  394. })
  395. }
  396. }
  397. }
  398. </script>
  399. <style lang="scss" scoped>
  400. .bottom_padding {
  401. height: 45px;
  402. width: 100%;
  403. }
  404. .m-card {
  405. width: 640rpx;
  406. background: #fcf4f1;
  407. border-radius: 20rpx;
  408. position: relative;
  409. // min-height: 270rpx;
  410. margin: 0 auto 46rpx;
  411. .card-tit {
  412. width: 219rpx;
  413. height: 57rpx;
  414. background: #F46C85;
  415. border-radius: 20rpx 28rpx 29rpx 0rpx;
  416. justify-content: flex-start;
  417. align-items: center;
  418. padding: 0 20rpx;
  419. font-size: 32rpx;
  420. font-weight: bold;
  421. color: #FFFFFF;
  422. .tit-logo {
  423. width: 32rpx;
  424. height: 32rpx;
  425. margin-right: 18rpx;
  426. }
  427. }
  428. .card-bg {
  429. width: 100%;
  430. height: 270rpx;
  431. position: absolute;
  432. bottom: 0rpx;
  433. }
  434. .card-content {
  435. padding: 25rpx 35rpx;
  436. font-size: 26rpx;
  437. font-weight: 500;
  438. color: #2C2E35;
  439. position: relative;
  440. }
  441. .img-list {
  442. justify-content: space-between;
  443. flex-wrap: wrap;
  444. margin: auto;
  445. padding: 30rpx 30rpx 0;
  446. position: relative;
  447. image {
  448. width: 270rpx;
  449. height: 270rpx;
  450. background-color: #fff;
  451. margin-bottom: 30rpx;
  452. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.6);
  453. }
  454. }
  455. .fw {
  456. font-size: 26rpx;
  457. font-weight: 500;
  458. color: #2C2E35;
  459. padding: 10rpx 0;
  460. .fw-tit {
  461. color: #F46C85;
  462. display: flex;
  463. align-items: center;
  464. .yg {
  465. background-color: #F46C85;
  466. display: inline-block;
  467. width: 10rpx;
  468. height: 10rpx;
  469. border-radius: 50%;
  470. margin-right: 10rpx;
  471. }
  472. }
  473. .fw-content {
  474. padding-top: 10rpx;
  475. padding-left: 18rpx;
  476. text-align: justify;
  477. }
  478. }
  479. .user-info {
  480. flex-wrap: wrap;
  481. font-size: 26rpx;
  482. font-weight: 500;
  483. color: #000000;
  484. position: relative;
  485. .info-item-b,
  486. .info-item-q {
  487. padding: 10rpx 0;
  488. color: #000000;
  489. position: relative;
  490. padding-left: 20rpx;
  491. &::before {
  492. display: inline-block;
  493. content: '';
  494. width: 10rpx;
  495. height: 10rpx;
  496. border-radius: 50%;
  497. background-color: #F46C85;
  498. position: absolute;
  499. top: 22rpx;
  500. left: 0;
  501. }
  502. .qianger {
  503. width: 2em;
  504. display: inline-block;
  505. }
  506. .laner {
  507. width: 0.5em;
  508. display: inline-block;
  509. }
  510. }
  511. .info-item-b {
  512. width: 50%;
  513. }
  514. .info-item-q {
  515. width: 100%;
  516. display: flex;
  517. align-items: flex-start;
  518. justify-content: start;
  519. .fwdz {
  520. flex-direction: column;
  521. align-items: flex-start;
  522. }
  523. .gzt {
  524. width: 312rpx;
  525. height: 24rpx;
  526. padding-top: 10rpx;
  527. position: relative;
  528. image {
  529. width: 312rpx;
  530. height: 24rpx;
  531. position: relative;
  532. }
  533. .gzt-price,
  534. .gzt-price-b {
  535. width: 200rpx;
  536. text-align: center;
  537. position: absolute;
  538. padding-top: 20rpx;
  539. &::after {
  540. content: '';
  541. width: 0px;
  542. height: 0rpx;
  543. // background: #FEB8C6;
  544. border: 14rpx solid;
  545. border-color: transparent transparent #FEB8C6;
  546. // border-top:transparent;
  547. // border-left: transparent;
  548. // border-right: transparent;
  549. position: absolute;
  550. top: -14rpx;
  551. left: 0;
  552. right: 0;
  553. margin: auto;
  554. }
  555. text {
  556. color: #F46C85;
  557. }
  558. }
  559. .gzt-price {
  560. left: -100rpx;
  561. }
  562. .gzt-price-b {
  563. right: -100rpx;
  564. }
  565. }
  566. .rz {
  567. margin-top: 10rpx;
  568. margin-left: 10rpx;
  569. width: 87rpx;
  570. height: 26rpx;
  571. }
  572. }
  573. }
  574. }
  575. .m-btm {
  576. width: 660rpx;
  577. height: 384rpx;
  578. }
  579. .hua2 {
  580. position: relative;
  581. &::before {
  582. content: '';
  583. width: 199rpx;
  584. height: 298rpx;
  585. background: url($base-url + '/resource/icon/model1/hua2.png') no-repeat;
  586. position: absolute;
  587. bottom: -100rpx;
  588. right: 0;
  589. background-size: 100% 100%;
  590. }
  591. }
  592. .hua3 {
  593. position: relative;
  594. &::before {
  595. content: '';
  596. width: 192rpx;
  597. height: 223rpx;
  598. background: url($base-url + '/resource/icon/model1/hua3.png') no-repeat;
  599. position: absolute;
  600. top: 0;
  601. bottom: 0;
  602. left: 0;
  603. margin: auto;
  604. background-size: 100% 100%;
  605. }
  606. }
  607. .hua4 {
  608. position: relative;
  609. &::before {
  610. content: '';
  611. width: 128rpx;
  612. height: 145rpx;
  613. background: url($base-url + '/resource/icon/model1/hua4.png') no-repeat;
  614. position: absolute;
  615. bottom: -70rpx;
  616. right: 0;
  617. background-size: 100% 100%;
  618. }
  619. }
  620. .hua5 {
  621. position: relative;
  622. &::before {
  623. content: '';
  624. width: 199rpx;
  625. height: 298rpx;
  626. background: url($base-url + '/resource/icon/model1/hua2.png') no-repeat;
  627. position: absolute;
  628. bottom: -100rpx;
  629. left: 0;
  630. background-size: 100% 100%;
  631. transform: rotateY(180deg);
  632. }
  633. }
  634. .hua6 {
  635. position: relative;
  636. &::before {
  637. content: '';
  638. width: 192rpx;
  639. height: 223rpx;
  640. background: url($base-url + '/resource/icon/model1/hua3.png') no-repeat;
  641. position: absolute;
  642. bottom: -110rpx;
  643. right: 0;
  644. background-size: 100% 100%;
  645. transform: rotateY(180deg);
  646. }
  647. }
  648. .fxmp {
  649. width: 750rpx;
  650. .share {
  651. width: 50%;
  652. padding: 0;
  653. border-radius: 0;
  654. flex-grow: 1;
  655. &::after {
  656. border: none;
  657. }
  658. }
  659. .nav-model {
  660. background-color: #FFF;
  661. color: $base-color;
  662. width: 50%;
  663. }
  664. }
  665. .fxmp {
  666. position: fixed;
  667. width: 750rpx;
  668. bottom: 0;
  669. padding: 0;
  670. background: #f65486;
  671. // border-radius: 5rpx;
  672. font-size: 30rpx;
  673. font-weight: 500;
  674. color: #FFFFFF;
  675. text-align: center;
  676. }
  677. .create-model {
  678. position: fixed;
  679. width: 750rpx;
  680. bottom: 0;
  681. // border-radius: 5rpx;
  682. font-size: 32rpx;
  683. font-weight: 500;
  684. text-align: center;
  685. .price-show {
  686. font-size: 32rpx;
  687. font-weight: 500;
  688. color: #333333;
  689. background-color: #fff;
  690. flex-grow: 1;
  691. text {
  692. font-size: 48rpx;
  693. font-weight: 500;
  694. color: #FC6F6D;
  695. }
  696. }
  697. .to-show,
  698. .by-now {
  699. width: 223rpx;
  700. background: #fa98b6;
  701. flex-shrink: 0;
  702. font-size: 34rpx;
  703. color: #fff;
  704. }
  705. .by-now {
  706. background: #f65486;
  707. }
  708. }
  709. .yl {
  710. position: fixed;
  711. bottom: 0;
  712. width: 750rpx;
  713. font-size: 32rpx;
  714. font-weight: 500;
  715. text-align: center;
  716. color: #fff;
  717. text-align: center;
  718. font-size: 34rpx;
  719. background-color: #f65486;
  720. }
  721. .ljrz {
  722. position: fixed;
  723. width: 750rpx;
  724. bottom: 0;
  725. font-size: 32rpx;
  726. font-weight: 500;
  727. text-align: center;
  728. background-color: #f65486;
  729. color: #fff;
  730. }
  731. .bottom {
  732. line-height: 45px;
  733. height: 45px;
  734. }
  735. </style>