index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  1. <template>
  2. <view class="border">
  3. <view class="header">
  4. </view>
  5. <view class="toast" v-show="isShow">
  6. <view class="toast-list">
  7. <view class="list-left">
  8. <view v-for="(item,index) in Province" :key='index' @click="changProvince(index,item)">
  9. <view class="name" :class="curPage==index ? 'active':''">
  10. {{item.name}}
  11. </view>
  12. </view>
  13. </view>
  14. <view class="list-right">
  15. <view v-for="(item, index1) in City" :key='index1' @click="changCity(index1,item)">
  16. <view class="name" :class="Page==index1 ? 'active':''">
  17. {{item.name}}
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="cha" @click="close">
  23. <image src="../../static/img/cha.png" mode=""></image>
  24. </view>
  25. </view>
  26. <view class="select">
  27. <view class="setcity" @click="searchSetCity">
  28. <view class="title">
  29. 出发城市
  30. </view>
  31. <view class="city">
  32. {{setName}}
  33. <image src="../../static/img/down.png" mode=""></image>
  34. </view>
  35. </view>
  36. <view class="change" @click="changeCity">
  37. <image src="../../static/img/change.png" mode=""></image>
  38. </view>
  39. <view class="reachcity" @click="searchReachCity">
  40. <view class="title">
  41. 到达城市
  42. </view>
  43. <view class="city">
  44. {{reachName}}
  45. <image src="../../static/img/down.png" mode=""></image>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="content">
  50. <view class="set">
  51. <view class="text">
  52. <image src="../../static/img/icon2.png" mode=""></image>
  53. <view class="text1">
  54. 出发地:{{setName}}
  55. </view>
  56. <view class="text2" v-if="setpoilist.high_num!=0 && setpoilist.high_num">
  57. 高风险地区
  58. <view class="num1">
  59. {{setpoilist.high_num}}
  60. </view>
  61. </view>
  62. <view class="text3" v-if="setpoilist.middle_num!=0 && setpoilist.middle_num">
  63. 中风险地区
  64. <view class="num2">
  65. {{setpoilist.middle_num}}
  66. </view>
  67. </view>
  68. </view>
  69. <view class="source">
  70. <text>数据来源:当地卫健委</text><text style="margin: 0 10upx;">|</text><text>发布时间:{{setPolicy.leave_policy_date}}</text>
  71. </view>
  72. <view class="conter">
  73. <p v-for="(item,index2) in setPolicy.leave_policy_list" :key='index2'>
  74. {{item}}
  75. </p>
  76. </view>
  77. </view>
  78. <view class="reach">
  79. <view class="text">
  80. <image src="../../static/img/icon1.png" mode=""></image>
  81. <view class="text1">
  82. 目的地:{{reachName}}
  83. </view>
  84. <view class="text2" v-if="reachpoilist.high_num && reachpoilist.high_num!=0">
  85. 高风险地区
  86. <view class="num1">
  87. {{reachpoilist.high_num}}
  88. </view>
  89. </view>
  90. <view class="text3" v-if="reachpoilist.middle_num && reachpoilist.middle_num!=0">
  91. 中风险地区
  92. <view class="num2">
  93. {{reachpoilist.middle_num}}
  94. </view>
  95. </view>
  96. </view>
  97. <view class="source">
  98. <text>数据来源:当地卫健委</text><text style="margin: 0 10upx;">|</text><text>发布时间:{{reachPolicy.back_policy_date}}</text>
  99. </view>
  100. <view class="conter">
  101. <p v-for="(item,index2) in reachPolicy.back_policy_list" :key='index2'>
  102. {{item}}
  103. </p>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="bottom-bt">
  108. <view class="left" @click="shareImage">
  109. 分享
  110. </view>
  111. <view class="right" @click="feedBack">
  112. 信息反馈
  113. </view>
  114. </view>
  115. </view>
  116. </template>
  117. <script>
  118. import jcAddressPicker from '@/components/easy-select/easy-select.vue'
  119. export default {
  120. data() {
  121. return {
  122. Page: 0,
  123. curPage: 0,
  124. isShow: false,
  125. setProvinceCode: '', //出发地省份索引
  126. reachProvinceCode: '', //目的地省份索引
  127. setCityCode: '', //出发地省份索引
  128. reachCityCode: '', //目的地省份索引
  129. Province: '', //省份
  130. City: '', //城市
  131. setName: "请选择", //出发城市名称
  132. reachName: "请选择", //到达城市名称
  133. status: '', //判断当前为出发地还是目的地0出发,1目的
  134. index: 0,
  135. index1: 0,
  136. setPolicy: "",
  137. reachPolicy: "",
  138. setName1: "",
  139. reachpoilist: "",
  140. setpoilist: '',
  141. City1:''
  142. }
  143. },
  144. onLoad() {
  145. var that = this
  146. uni.showLoading({})
  147. uni.request({
  148. url: 'http://epidemic.site.ximengnaikang.com/api/v1/area/provinces', //仅为示例,并非真实接口地址。
  149. method: 'GET',
  150. success: (res) => {
  151. if (res.data.code == 200) {
  152. console.log(res.data.data)
  153. this.Province = res.data.data
  154. this.setProvinceCode = res.data.data[0].code
  155. this.reachProvinceCode = res.data.data[0].code
  156. uni.request({
  157. url: 'http://epidemic.site.ximengnaikang.com/api/v1/area/provinces/' + this.setProvinceCode, //仅为示例,并非真实接口地址。
  158. method: 'GET',
  159. success: (res) => {
  160. if (res.data.code == 200) {
  161. console.log(res, 'res')
  162. this.City = res.data.data
  163. this.City1=res.data.data
  164. uni.request({
  165. url: 'http://epidemic.site.ximengnaikang.com/api/v1/city/policy', //仅为示例,并非真实接口地址。
  166. method: 'POST',
  167. data: {
  168. city_code: this.City[0].code
  169. },
  170. success: (res) => {
  171. uni.hideLoading()
  172. if (res.data.code == 200) {
  173. this.setCityCode = this.City[0].code
  174. this.reachCityCode = this.City[0].code
  175. console.log(res.data.data)
  176. this.setName = this.City[0].name
  177. this.reachName = this.City[0].name
  178. this.setPolicy = res.data.data
  179. this.reachPolicy = res.data.data
  180. this.reachpoilist = res.data.data.poi_list
  181. that.setpoilist = res.data.data.poi_list
  182. uni.setStorageSync('setCity', this.setName)
  183. uni.setStorageSync('reachCity', this.reachName)
  184. uni.setStorageSync('policy', res.data.data.back_policy_list)
  185. } else {
  186. uni.showToast({
  187. title: res.data.message,
  188. icon: 'none'
  189. })
  190. }
  191. }
  192. })
  193. } else {
  194. uni.showToast({
  195. title: res.data.message,
  196. icon: 'none'
  197. })
  198. }
  199. }
  200. })
  201. } else {
  202. uni.showToast({
  203. title: res.data.message,
  204. icon: 'none'
  205. })
  206. }
  207. }
  208. })
  209. var ua = window.navigator.userAgent.toLowerCase();
  210. if (ua.match(/MicroMessenger/i) == 'micromessenger') {
  211. //自定义分享
  212. const script = document.createElement('script')
  213. script.style = 'text/javascript';
  214. script.src = 'http://res.wx.qq.com/open/js/jweixin-1.6.0.js';
  215. const script1 = document.createElement('script1')
  216. script1.style = 'text/javascript';
  217. script1.src = 'http://map.qq.com/api/js?v=2.exp';
  218. document.getElementsByTagName('head')[0].appendChild(script);
  219. script.onload = () => {
  220. uni.request({
  221. url: 'http://epidemic.site.ximengnaikang.com/api/v1/wechat/share',
  222. method: 'POST',
  223. data: {
  224. url: 'http://h5.epidemic.site.ximengnaikang.com/#/',
  225. apis: 'updateAppMessageShareData,getLocation'
  226. },
  227. success: (res) => {
  228. wx.config({
  229. debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
  230. appId: res.data.data.appId, // 必填,公众号的唯一标识
  231. timestamp: res.data.data.timestamp, // 必填,生成签名的时间戳
  232. nonceStr: res.data.data.nonceStr, // 必填,生成签名的随机串
  233. signature: res.data.data.signature, // 必填,签名
  234. jsApiList: res.data.data.jsApiList // 必填,需要使用的JS接口列表
  235. })
  236. setTimeout(function() {
  237. wx.ready(function() { //需在用户可能点击分享按钮前就先调用
  238. wx.updateAppMessageShareData({
  239. title: '疫情隔离政策查询', // 分享标题
  240. desc: '足不出户即可查询,隔离政策最新情况信息', // 分享描述
  241. link: location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
  242. imgUrl: 'https://resource.bike.hanyiyun.com/index.jpg', // 分享图标网络图片
  243. success: function() {
  244. // 设置成功
  245. }
  246. })
  247. });
  248. }, 1000)
  249. // uni.showLoading({
  250. // title:"位置加载中",
  251. // })
  252. wx.ready(function() {
  253. wx.getLocation({
  254. type: 'wgs84', // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
  255. success: function(res) {
  256. var latitude = res.latitude; // 纬度,浮点数,范围为90 ~ -90
  257. var longitude = res.longitude; // 经度,浮点数,范围为180 ~ -180。
  258. var speed = res.speed; // 速度,以米/每秒计
  259. var accuracy = res.accuracy; // 位置精度
  260. console.log('89898')
  261. uni.request({
  262. url: 'http://epidemic.site.ximengnaikang.com/api/v1/area/location2CityCode', //仅为示例,并非真实接口地址。
  263. method: 'POST',
  264. data: {
  265. lat: latitude,
  266. lng: longitude
  267. },
  268. success: (res) => {
  269. if (res.data.code == 200) {
  270. console.log(res, '地址解析')
  271. var date = res.data.data
  272. uni.request({
  273. url: 'http://epidemic.site.ximengnaikang.com/api/v1/city/policy', //仅为示例,并非真实接口地址。
  274. method: 'POST',
  275. data: {
  276. city_code: date.code
  277. },
  278. success: (res) => {
  279. // uni.hideLoading()
  280. if (res.data.code == 200) {
  281. // uni.hideLoading()
  282. // this.setName='郑州市1'
  283. that.setCityCode = date.code
  284. // this.reachCityCode = this.City[0].code
  285. console.log(res.data.data)
  286. that.setName = res.data.data.city
  287. console.log(that, 'that')
  288. // that.$set(that,'setName',res.data.data.city)
  289. // this.setName='郑州市'
  290. console.log(that.setName, 'this.setName')
  291. // this.reachName = this.City[0].name
  292. that.setPolicy = res.data.data
  293. that.setpoilist = res.data.data.poi_list
  294. // this.reachPolicy = res.data.data
  295. uni.setStorageSync('setCity', that.setName)
  296. // uni.setStorageSync('reachCity', this.reachName)
  297. // uni.setStorageSync('policy', res.data.data.back_policy_list)
  298. } else {
  299. uni.showToast({
  300. title: res.data.message,
  301. icon: 'none'
  302. })
  303. }
  304. }
  305. })
  306. } else {
  307. uni.showToast({
  308. title: res.data.message,
  309. icon: 'none'
  310. })
  311. }
  312. }
  313. })
  314. },
  315. })
  316. })
  317. },
  318. })
  319. }
  320. }
  321. },
  322. methods: {
  323. //出发地搜索
  324. searchSetCity: function() {
  325. this.City=this.City1
  326. this.curPage = 0
  327. this.Page = 0
  328. this.isShow = true
  329. this.status = 0
  330. },
  331. //目的地搜索
  332. searchReachCity: function() {
  333. this.isShow = true
  334. this.City=this.City1
  335. this.curPage = 0
  336. this.Page = 0
  337. this.status = 1
  338. },
  339. //关闭遮罩层
  340. close: function() {
  341. this.isShow = false
  342. },
  343. changProvince: function(index, e) {
  344. uni.showLoading()
  345. var result = e
  346. this.curPage = index
  347. uni.request({
  348. url: 'http://epidemic.site.ximengnaikang.com/api/v1/area/provinces/' + result.code, //仅为示例,并非真实接口地址。
  349. method: 'GET',
  350. success: (res) => {
  351. uni.hideLoading()
  352. if (res.data.code == 200) {
  353. console.log(res, 'res1')
  354. this.City = res.data.data
  355. } else {
  356. uni.showToast({
  357. title: res.data.message,
  358. icon: "none"
  359. })
  360. }
  361. }
  362. })
  363. },
  364. //修改城市
  365. changCity: function(index1, item) {
  366. this.isShow = false
  367. uni.showLoading()
  368. var city_code = item.code
  369. uni.request({
  370. url: 'http://epidemic.site.ximengnaikang.com/api/v1/city/policy', //仅为示例,并非真实接口地址。
  371. method: 'POST',
  372. data: {
  373. city_code: city_code
  374. },
  375. success: (res) => {
  376. uni.hideLoading()
  377. console.log(res, 'pppp')
  378. if (res.data.code == 200) {
  379. if (this.status == 0) {
  380. this.setCityCode = city_code
  381. this.setName = item.name
  382. this.setPolicy = res.data.data
  383. this.setpoilist = res.data.data.poi_list
  384. uni.setStorageSync('setCity', this.setName)
  385. } else if (this.status == 1) {
  386. this.reachName = item.name
  387. this.reachCityCode = city_code
  388. this.reachPolicy = res.data.data
  389. this.reachpoilist = res.data.data.poi_list
  390. uni.setStorageSync('setCity', this.setName)
  391. uni.setStorageSync('reachCity', this.reachName)
  392. uni.setStorageSync('policy', res.data.data.back_policy_list)
  393. }
  394. } else {
  395. uni.showToast({
  396. title: res.data.message,
  397. icon: "none"
  398. })
  399. }
  400. }
  401. })
  402. },
  403. //修改出发地和目的地
  404. changeCity: function() {
  405. // uni.showLoading()
  406. var setname = this.setName
  407. var reachname = this.reachName
  408. this.setName = reachname
  409. this.reachName = setname
  410. var setCityCode = this.setCityCode
  411. var reachCityCode = this.reachCityCode
  412. console.log(this.setCityCode, 'this.setCityCode')
  413. console.log(this.reachCityCode, 'this.reachCityCode')
  414. uni.request({
  415. url: 'http://epidemic.site.ximengnaikang.com/api/v1/city/policy', //仅为示例,并非真实接口地址。
  416. method: 'POST',
  417. data: {
  418. city_code: reachCityCode
  419. },
  420. success: (res) => {
  421. // uni.hideLoading()
  422. if (res.data.code == 200) {
  423. this.setCityCode = reachCityCode
  424. this.setPolicy = res.data.data
  425. this.setpoilist = res.data.data.poi_list
  426. uni.setStorageSync('setCity', this.setName)
  427. } else {
  428. uni.showToast({
  429. title: res.data.message,
  430. icon: "none"
  431. })
  432. }
  433. }
  434. })
  435. uni.request({
  436. url: 'http://epidemic.site.ximengnaikang.com/api/v1/city/policy', //仅为示例,并非真实接口地址。
  437. method: 'POST',
  438. data: {
  439. city_code: setCityCode
  440. },
  441. success: (res) => {
  442. if (res.data.code == 200) {
  443. this.reachCityCode = setCityCode
  444. this.reachPolicy = res.data.data
  445. this.reachpoilist = res.data.data.poi_list
  446. uni.setStorageSync('reachCity', this.reachName)
  447. uni.setStorageSync('policy', res.data.data.back_policy_list)
  448. } else {
  449. uni.showToast({
  450. title: res.data.message,
  451. icon: "none"
  452. })
  453. }
  454. }
  455. })
  456. },
  457. //信息反馈
  458. feedBack: function() {
  459. uni.navigateTo({
  460. url: './feedBack'
  461. })
  462. },
  463. //分享
  464. shareImage() {
  465. uni.navigateTo({
  466. url: './share'
  467. })
  468. },
  469. //关注公众号
  470. subscribe: function() {
  471. uni.navigateTo({
  472. url: './follow'
  473. })
  474. },
  475. },
  476. }
  477. </script>
  478. <style>
  479. page {
  480. height: 100vh;
  481. width: 100%;
  482. background-color: #f4f4f4;
  483. }
  484. .toast {
  485. position: fixed;
  486. top: 0;
  487. right: 0;
  488. background-color: rgba(0, 0, 0, 0.7);
  489. height: 100vh;
  490. z-index: 9999999999;
  491. width: 100%;
  492. }
  493. .toast-list {
  494. background-color: #FFFFFF;
  495. height: 75%;
  496. width: 90%;
  497. margin: 0 auto;
  498. margin-top: 25%;
  499. display: flex;
  500. border-radius: 15upx;
  501. overflow: hidden;
  502. /* padding: 20upx 0; */
  503. }
  504. .list-left {
  505. flex: 0 0 45%;
  506. font-size: 32upx;
  507. overflow-y: scroll;
  508. text-align: center;
  509. background-color: #f0f0f0;
  510. }
  511. .cha {
  512. margin: 0 auto;
  513. margin-top: 30upx;
  514. width: 100%;
  515. }
  516. .cha image {
  517. height: 60upx;
  518. width: 60upx;
  519. margin: 0 auto;
  520. display: block;
  521. }
  522. /* ::-webkit-scrollbar {
  523. display: none;
  524. } */
  525. .list-right {
  526. flex: 1;
  527. font-size: 32upx;
  528. overflow-y: scroll;
  529. /* height: 100upx; */
  530. overflow-y: scroll;
  531. line-height: 100upx;
  532. text-align: left;
  533. padding-left: 60upx;
  534. /* background-color: #23459D; */
  535. }
  536. .name {
  537. padding: 0 10upx;
  538. min-height: 100upx;
  539. line-height: 100upx;
  540. /* background-color: #f0f0f0; */
  541. /* padding: 20upx 30upx; */
  542. }
  543. .active {
  544. background-color: #FFFFFF;
  545. color: #23459D;
  546. }
  547. .province {
  548. background-color: #F7F7F7;
  549. margin: 0 10upx;
  550. text-align: center;
  551. background-image: url(../../static/img/down.png);
  552. background-repeat: no-repeat;
  553. background-size: 30upx;
  554. background-position: 95% center;
  555. }
  556. .province view {
  557. width: 85%;
  558. /* text-align: left; */
  559. word-break: keep-all;
  560. white-space: nowrap;
  561. overflow: hidden;
  562. text-overflow: ellipsis;
  563. white-space: nowrap;
  564. }
  565. .border {
  566. height: 100vh;
  567. /* position: relative; */
  568. }
  569. .header {
  570. width: 100%;
  571. height: 396upx;
  572. background-image: url(../../static/img/header6.png);
  573. background-size: 100% auto;
  574. background-repeat: no-repeat;
  575. }
  576. .header image {
  577. width: 100%;
  578. height: 198px;
  579. }
  580. .select {
  581. display: flex;
  582. padding: 30upx;
  583. width: 85%;
  584. margin: 0 auto;
  585. background-color: #FFFFFF;
  586. border-radius: 20upx;
  587. margin-top: -100upx;
  588. }
  589. .setcity,
  590. .reachcity {
  591. flex: 1;
  592. width: 100%;
  593. text-align: center;
  594. }
  595. .change{
  596. flex: 0 0 70upx;
  597. }
  598. .title {
  599. font-size: 28upx;
  600. height: 50upx;
  601. line-height: 50upx;
  602. color: #3B4144;
  603. text-align: center;
  604. }
  605. .city {
  606. font-size: 36upx;
  607. font-weight: bold;
  608. height: 70upx;
  609. line-height: 70upx;
  610. text-align: center;
  611. }
  612. .city image {
  613. height: 30upx;
  614. width: 30upx;
  615. display: inline-block;
  616. vertical-align: middle;
  617. margin-left: 10upx;
  618. }
  619. .change image {
  620. height: 60upx;
  621. width: 60upx;
  622. margin-top: 30upx;
  623. }
  624. .content {
  625. /* width: 85%; */
  626. margin: 0 auto;
  627. margin-top: 10upx;
  628. padding: 30upx;
  629. padding-bottom: 110upx;
  630. }
  631. .reach,
  632. .set {
  633. padding: 30upx;
  634. background-color: #FFFFFF;
  635. border-radius: 20upx;
  636. }
  637. .reach {
  638. margin-top: 30upx;
  639. }
  640. .text {
  641. height: 70upx;
  642. line-height: 70upx;
  643. }
  644. .text1,
  645. .text2,
  646. .text3 {
  647. display: inline-block;
  648. margin-right: 10upx;
  649. }
  650. .text image {
  651. height: 32upx;
  652. width: 30upx;
  653. margin-right: 10upx;
  654. display: inline-block;
  655. vertical-align: middle;
  656. }
  657. .text1 {
  658. font-size: 28upx;
  659. font-weight: bold;
  660. }
  661. .text2,
  662. .text3 {
  663. font-size: 20upx;
  664. height: 35upx;
  665. line-height: 35upx;
  666. padding-left: 5upx;
  667. border-radius: 10upx;
  668. text-align: center;
  669. }
  670. .num1,
  671. .num2 {
  672. width: 35upx;
  673. heigh: 35upx;
  674. display: inline-block;
  675. vertical-align: top;
  676. color: #FFFFFF;
  677. margin-left: 5upx;
  678. }
  679. .num1 {
  680. background-color: #ff6164;
  681. }
  682. .num2 {
  683. background-color: #ffa657;
  684. }
  685. .text2 {
  686. color: #ff6164;
  687. background-color: rgba(255, 97, 100, 0.1);
  688. border: solid 2upx #ff6164;
  689. }
  690. .text3 {
  691. color: #ffa657;
  692. background-color: rgba(255, 166, 87, 0.1);
  693. border: solid 2upx #ffa657;
  694. }
  695. .source {
  696. height: 50upx;
  697. line-height: 50upx;
  698. font-size: 24upx;
  699. color: #9f9d9e;
  700. }
  701. .conter {
  702. line-height: 42upx;
  703. font-size: 26upx;
  704. color: #4b4a4a;
  705. margin-top: 20upx;
  706. }
  707. .conter p{
  708. padding: 2upx 0 8upx 0;
  709. line-height: 40upx;
  710. /* color: #4b4a4a; */
  711. color: #666;
  712. font-size: 28upx;
  713. text-align:justify;
  714. }
  715. .tip {
  716. margin-top: 42upx;
  717. font-size: 26upx;
  718. font-weight: 400;
  719. line-height: 36upx;
  720. color: #999999;
  721. opacity: 1;
  722. }
  723. .bottom-bt {
  724. padding: 10upx 0;
  725. width: 100%;
  726. position: fixed;
  727. bottom: 0;
  728. height: 80upx;
  729. display: flex;
  730. background-color: #FFFFFF;
  731. z-index: 999;
  732. border-top: solid 4upx #EEEEEE;
  733. }
  734. .left,
  735. .right {
  736. flex: 0 0 30%;
  737. height: 80upx;
  738. line-height: 80upx;
  739. background-color: #23459D;
  740. color: #FFFFFF;
  741. font-size: 32upx;
  742. text-align: center;
  743. border-radius: 40upx;
  744. }
  745. .left {
  746. margin-left: 15%;
  747. margin-right: 5%;
  748. }
  749. .right {
  750. margin-left: 5%;
  751. margin-right: 15%;
  752. }
  753. </style>