yypz.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. <template>
  2. <view class="content">
  3. <view class="top" v-if="!show">
  4. <image class="top-bg" src="../../static/img/dbbg.png" mode=""></image>
  5. </view>
  6. <scroll-view scroll-y="true" class="scrollList" :style="{ height: height }">
  7. <view class="main">
  8. <view class="info-item flex">
  9. <view class="info-left">陪诊类型</view>
  10. <view class="info-right">
  11. <picker @change="bindPickerType" :value="index" :range="pzTypelist" range-key="name">
  12. <view>{{ pzType.name }}</view>
  13. </picker>
  14. </view>
  15. </view>
  16. <view class="info-item flex">
  17. <view class="info-left">基础费用</view>
  18. <view class="info-right">¥{{ pzType.price }}</view>
  19. </view>
  20. <view class="info-item flex" v-if="cardprice > 0">
  21. <view class="info-left">优惠卡优惠</view>
  22. <view class="info-right">-¥{{ cardprice }}</view>
  23. </view>
  24. <view class="info-item flex">
  25. <view class="info-left">预约日期</view>
  26. <view class="info-right">
  27. <picker mode="date" :start="startDate" :end="endDate" :value="date" @change="bindDateChange"
  28. class="box-right">
  29. <view>{{ date }}</view>
  30. </picker>
  31. </view>
  32. </view>
  33. <view class="info-item flex">
  34. <view class="info-left">预约时间</view>
  35. <view class="info-right">
  36. <picker mode="time" :value="time" @change="bindTimeChange" class="box-right">
  37. <view>{{ time }}</view>
  38. </picker>
  39. </view>
  40. </view>
  41. <view class="info-item flex">
  42. <view class="info-left">姓名</view>
  43. <view class="info-right"><input class="list-input" type="text" v-model="name" placeholder="请填写姓名" />
  44. </view>
  45. </view>
  46. <view class="info-item flex">
  47. <view class="info-left">年龄</view>
  48. <view class="info-right"><input class="list-input" type="number" v-model="age"
  49. placeholder="请填写年龄" /></view>
  50. </view>
  51. <view class="info-item flex">
  52. <view class="info-left">性别</view>
  53. <view class="info-right">
  54. <picker @change="bindPickerSex" :value="index" :range="array">
  55. <view>{{ sex }}</view>
  56. </picker>
  57. </view>
  58. </view>
  59. <view class="info-item flex">
  60. <view class="info-left">联系电话</view>
  61. <view class="info-right"><input class="list-input" type="number" v-model="phone"
  62. placeholder="请填写联系电话" /></view>
  63. </view>
  64. <view class="info-item flex" @tap="showPicker('region')">
  65. <text class="info-left">陪诊地区</text>
  66. <!-- <view class="info-right"><input class="list-input" @focus="outFocus" v-model="addr"
  67. placeholder="请选择省市区" /></view> -->
  68. <view class="info-right">{{addr?addr:'请选择省市区'}}</view>
  69. </view>
  70. <w-picker mode="region" :value="defaultRegion" default-type="value"
  71. @confirm="onConfirm($event, 'region')" @cancel="handleCancel" ref="region"></w-picker>
  72. <view class="info-item flex" @tap="Toshow">
  73. <view class="info-left">陪诊医院</view>
  74. <view class="info-right">{{ hospital || '请选择医院名称' }}</view>
  75. </view>
  76. <zhilin-picker v-model="show" :title="title" :data="list" :initSelected="initSelected"
  77. :showSearch="true" @change="onChange" @searchInput="onSearchInput" @confirm="onConfirm1"
  78. @shua="shua" />
  79. <view class="info-item flex">
  80. <view class="info-left">紧急联系人姓名</view>
  81. <view class="info-right"><input class="list-input" type="text" v-model="jjname"
  82. placeholder="请填写紧急联系人姓名" /></view>
  83. </view>
  84. <view class="info-item flex">
  85. <view class="info-left">紧急联系人电话</view>
  86. <view class="info-right"><input class="list-input" type="number" v-model="jjphone"
  87. placeholder="请填写紧急联系人电话" /></view>
  88. </view>
  89. <view class="info-type">
  90. <view class="info-type-title flex">
  91. <view class="">
  92. 服务项目
  93. <text class="info-type-tip">(可多选)</text>
  94. </view>
  95. <view class="info-type-title-right" @click="navto('/pages/index/info?id=5')">
  96. <view class="info-type-title-right-font">查看详情</view>
  97. <image class="info-type-title-right-icon" src="../../static/icon/jt.png" mode=""></image>
  98. </view>
  99. </view>
  100. <view class="info-type-main">
  101. <view class="info-type-main-item" :class="{ current: item.chose == 2 }"
  102. v-for="(item, index) in typelist" :key="index" @click="choose(item)">
  103. {{ item.name }}
  104. <text>¥{{ item.price }}</text>
  105. </view>
  106. </view>
  107. </view>
  108. <view class="info-item flex" v-if="type == 2">
  109. <text class="info-left">上门接送地址</text>
  110. <view class="info-right">
  111. <pickerAddress class="input" @change="onCityClick">{{ addressDetail || '请选择地址' }}
  112. </pickerAddress>
  113. </view>
  114. </view>
  115. <view class="info-item flex" v-if="type == 2">
  116. <view class="info-left">详细地址</view>
  117. <view class="info-right"><input class="list-input" type="text" v-model="addressD"
  118. placeholder="请填写详细地址" /></view>
  119. </view>
  120. </view>
  121. <view class="info-bz">
  122. <view class="info-type-title">
  123. 备注说明
  124. <text class="info-type-tip">(选填)</text>
  125. </view>
  126. <textarea v-model="remarks" class="text-box" name="" id="" cols="30" rows="10"></textarea>
  127. </view>
  128. </scroll-view>
  129. <view class="btn" @click="buy()">立即下单(¥{{ price.toFixed(2) * 1 }})</view>
  130. <uni-popup ref="popup" type="center">
  131. <view class="popup-box">
  132. <view class="img">
  133. <image src="../../static/img/popup.png" mode=""></image>
  134. </view>
  135. <view class="mian">
  136. <view class="title">暂不提供跨区域接送服务</view>
  137. <view class="nocancel">您所在的地区与医院所在地区不符合请重新填写</view>
  138. <view class="comfirm-box" @click="cancel">知道了</view>
  139. </view>
  140. </view>
  141. </uni-popup>
  142. </view>
  143. </template>
  144. <script>
  145. import {
  146. cate,
  147. service,
  148. getHospitalList,
  149. equity
  150. } from '@/api/index.js';
  151. import {
  152. Diagnosisconfirm
  153. } from '@/api/order.js';
  154. import wPicker from '@/components/w-picker/w-picker.vue';
  155. import pickerAddress from '@/components/wangding-pickerAddress/wangding-pickerAddress.vue';
  156. import zhilinPicker from '@/components/zhilin-picker/zhilin-picker.vue';
  157. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  158. export default {
  159. components: {
  160. pickerAddress,
  161. wPicker,
  162. zhilinPicker,
  163. uniPopup
  164. },
  165. data() {
  166. return {
  167. type: 1,
  168. price: 0,
  169. height: '0px',
  170. id: '',
  171. cardprice: '',
  172. index: '',
  173. pzType: '', //陪诊类型
  174. pzTypelist: [],
  175. date: '请选择预约日期',
  176. time: '请选择预约时间',
  177. name: '',
  178. age: '',
  179. array: ['男', '女'],
  180. sex: '请选择你的性别',
  181. phone: '',
  182. jjname: '',
  183. jjphone: '',
  184. show: false,
  185. initSelected: [],
  186. title: '选择医院',
  187. hospital: '', //医院
  188. list: [], //医院列表
  189. addr: '', //省市区
  190. code: '', //省市区行政编码
  191. province: '',
  192. province_id: '',
  193. city: '',
  194. city_id: '',
  195. district: '',
  196. district_id: '',
  197. region: '',
  198. defaultRegion: [],
  199. typelist: [],
  200. addressD: '',
  201. addressDetail: '',
  202. addr: '',
  203. address: {
  204. province: '',
  205. city: '',
  206. district: ''
  207. },
  208. remarks: '',
  209. province: '',
  210. city: '',
  211. hospital_id: '',
  212. searchVal: '',
  213. page: 1,
  214. cardList: []
  215. };
  216. },
  217. onReady(res) {
  218. var _this = this;
  219. uni.getSystemInfo({
  220. success: resu => {
  221. const query = uni.createSelectorQuery();
  222. query.select('.scrollList').boundingClientRect();
  223. query.exec(function(res) {
  224. _this.height = resu.windowHeight - res[0].top + 'px';
  225. console.log('打印页面的剩余高度', _this.height);
  226. });
  227. },
  228. fail: res => {}
  229. });
  230. },
  231. computed: {
  232. startDate() {
  233. return this.getDate('start');
  234. },
  235. endDate() {
  236. return this.getDate('end');
  237. }
  238. },
  239. onLoad(opt) {
  240. if (opt.type) {
  241. this.id = opt.type;
  242. }
  243. this.loadData();
  244. this.ListDate();
  245. },
  246. methods: {
  247. Toshow() {
  248. this.show = true;
  249. },
  250. //加载医院列表
  251. ListDate() {
  252. let obj = this;
  253. let data = '';
  254. console.log(obj.searchVal);
  255. if (!obj.searchVal) {
  256. data = {
  257. keyword: '',
  258. province_id: obj.province_id,
  259. city_id: obj.city_id,
  260. district_id: obj.district_id,
  261. sort: 'id desc',
  262. page: obj.page,
  263. limit: 10
  264. };
  265. } else {
  266. data = {
  267. keyword: obj.searchVal,
  268. sort: 'id desc',
  269. page: obj.page,
  270. limit: 10
  271. };
  272. }
  273. console.log(data, 'info');
  274. getHospitalList(data)
  275. .then(e => {
  276. obj.list = obj.list.concat(e.data.list);
  277. console.log(obj.list);
  278. })
  279. .catch(e => {
  280. console.log(e);
  281. });
  282. },
  283. // 选择预约时间
  284. bindDateChange: function(e) {
  285. this.date = e.target.value;
  286. },
  287. // 选择预约时间
  288. bindTimeChange: function(e) {
  289. this.time = e.target.value;
  290. },
  291. // 选择性别
  292. bindPickerSex: function(e) {
  293. console.log(this.array[e.target.value]);
  294. this.sex = this.array[e.target.value];
  295. },
  296. // 选择类型
  297. bindPickerType: function(e) {
  298. if (this.cardList.indexOf(this.pzType.name) == -1) {
  299. this.price -= this.pzType.price * 1;
  300. } else {
  301. this.cardprice -= this.pzType.price * 1;
  302. }
  303. this.pzType = this.pzTypelist[e.target.value];
  304. if (this.cardList.indexOf(this.pzType.name) == -1) {
  305. this.price += this.pzType.price * 1;
  306. } else {
  307. this.cardprice += this.pzType.price * 1;
  308. }
  309. },
  310. outFocus(e) {
  311. console.log(event.target);
  312. event.target.blur();
  313. },
  314. //省市区弹窗
  315. showPicker(type) {
  316. this.$refs[type].show();
  317. },
  318. // 省市区选择确定
  319. onConfirm(res, type) {
  320. let obj = this;
  321. obj.result = res;
  322. obj.addr = res.result;
  323. if (res.name) {
  324. obj.province = res.name[0];
  325. obj.city = res.name[1];
  326. obj.district = res.name[2];
  327. } else {
  328. obj.province = '北京市';
  329. obj.city = '北京市';
  330. obj.district = '东城区';
  331. }
  332. obj.province_id = res.value[0];
  333. obj.city_id = res.value[1];
  334. obj.district_id = res.value[2];
  335. obj.hospital = ''; //重置医院
  336. obj.list = []; //重置医院列表
  337. obj.ListDate();
  338. },
  339. onChange(val) {
  340. let obj = this;
  341. console.log(val, 'onChange');
  342. let arr = val.split(',');
  343. obj.hospital = arr[1];
  344. obj.hospital_id = arr[0];
  345. obj.city = arr[2];
  346. obj.city_id = arr[3];
  347. obj.district = arr[4];
  348. obj.district_id = arr[5];
  349. obj.province = arr[6];
  350. obj.province_id = arr[7];
  351. obj.addr = obj.province + obj.city + obj.district;
  352. console.log(obj.hospital, obj.hospital_id);
  353. console.log(obj.city, obj.city_id);
  354. console.log(obj.district, obj.district_id);
  355. console.log(obj.province, obj.province_id);
  356. },
  357. shua() {
  358. this.page += 1;
  359. this.ListDate();
  360. },
  361. onConfirm1(val) {},
  362. onSearchInput(val) {
  363. this.page = 1;
  364. this.list = [];
  365. console.log('val223', this.list);
  366. this.searchVal = val;
  367. this.ListDate();
  368. },
  369. loadData() {
  370. const obj = this;
  371. equity({}).then(({
  372. data
  373. }) => {
  374. obj.cardList = data.map(e => {
  375. return e.name;
  376. });
  377. console.log(obj.cardList, '123456');
  378. cate({
  379. type: 1
  380. }).then(({
  381. data
  382. }) => {
  383. this.pzTypelist = data;
  384. data.forEach(e => {
  385. if (e.id == obj.id) {
  386. console.log(obj.cardList.indexOf(e.id));
  387. if (obj.cardList.indexOf(e.name) == -1) {
  388. obj.price += e.price * 1;
  389. } else {
  390. obj.cardprice = e.price * 1;
  391. }
  392. obj.pzType = e;
  393. }
  394. });
  395. });
  396. service({}).then(({
  397. data
  398. }) => {
  399. data.forEach(e => {
  400. e.chose = 1;
  401. });
  402. obj.typelist = data;
  403. });
  404. });
  405. },
  406. outFocus(e) {
  407. console.log(event.target);
  408. event.target.blur();
  409. },
  410. getDate(type) {
  411. const date = new Date();
  412. let year = date.getFullYear();
  413. let month = date.getMonth() + 1;
  414. let day = date.getDate();
  415. if (type === 'start') {
  416. year = year - 60;
  417. } else if (type === 'end') {
  418. year = year + 2;
  419. }
  420. month = month > 9 ? month : '0' + month;
  421. day = day > 9 ? day : '0' + day;
  422. return `${year}-${month}-${day}`;
  423. },
  424. choose(opt) {
  425. if (opt.chose == 1) {
  426. if (opt.name == '上门接送') {
  427. this.type = 2;
  428. }
  429. opt.chose = 2;
  430. this.price += opt.price * 1;
  431. } else {
  432. if (opt.name == '上门接送') {
  433. this.type = 1;
  434. }
  435. opt.chose = 1;
  436. this.price -= opt.price * 1;
  437. }
  438. console.log(this.typelist);
  439. },
  440. openPopup() {
  441. this.$refs.popup.open();
  442. },
  443. cancel() {
  444. this.$refs.popup.close();
  445. },
  446. // 选中城市切换
  447. onCityClick({
  448. data
  449. }) {
  450. let address = this.address;
  451. address.province = data[0];
  452. address.city = data[1];
  453. address.district = data[2];
  454. this.addressDetail = data.join('');
  455. },
  456. navto(url) {
  457. uni.navigateTo({
  458. url
  459. });
  460. },
  461. buy() {
  462. const obj = this;
  463. let cate = '';
  464. console.log(typeof cate);
  465. cate = obj.pzType.id + '';
  466. let service_id = '';
  467. obj.typelist.forEach(e => {
  468. if (e.chose == 2) {
  469. if (service_id != '') {
  470. service_id = service_id + ',' + e.id;
  471. } else {
  472. service_id = e.id;
  473. }
  474. }
  475. });
  476. if (obj.date == '请选择预约日期') {
  477. return this.$api.msg('请选择预约日期');
  478. }
  479. if (obj.time == '请选择预约时间') {
  480. return this.$api.msg('请选择预约时间');
  481. }
  482. let time = obj.date + ' ' + obj.time + ':00';
  483. if (obj.name == '') {
  484. return this.$api.msg('请填写你的姓名');
  485. }
  486. if (obj.sex == '请选择你的性别') {
  487. return this.$api.msg('请选择你的性别');
  488. }
  489. if (obj.age == '') {
  490. return this.$api.msg('请填写你的年龄');
  491. }
  492. if (obj.phone == '') {
  493. return this.$api.msg('请填写你的联系电话');
  494. }
  495. if (this.phone.length != 11) {
  496. this.$api.msg('请输入正确的联系方式');
  497. return;
  498. }
  499. if (obj.hospital == '') {
  500. return this.$api.msg('请选择医院');
  501. }
  502. if (obj.jjname == '') {
  503. return this.$api.msg('请填写紧急联系人姓名');
  504. }
  505. if (obj.jjphone == '') {
  506. return this.$api.msg('请填写紧急联系人电话');
  507. }
  508. if (obj.jjphone.length != 11) {
  509. this.$api.msg('请输入正确的紧急联系人电话');
  510. return;
  511. }
  512. // if (obj.addressDetail == '') {
  513. // return this.$api.msg('请选择上门接送地址');
  514. // }
  515. // if (obj.addressD == '') {
  516. // return this.$api.msg('请填写详细地址');
  517. // }
  518. console.log(cate, service_id, '1111');
  519. console.log(typeof cate, typeof service_id, '2222');
  520. Diagnosisconfirm({
  521. type: 1,
  522. cate: cate,
  523. service_id: service_id,
  524. time: time,
  525. name: obj.name,
  526. sex: obj.sex == '男' ? 1 : 2,
  527. age: obj.age,
  528. phone: obj.phone,
  529. province: obj.province,
  530. city: obj.city,
  531. hospital_id: obj.hospital_id,
  532. hospital: obj.addr + ':' + obj.hospital,
  533. urgent_name: obj.jjname,
  534. urgent_phone: obj.jjphone,
  535. transfer_address: obj.addressDetail + obj.addressD,
  536. remarks: obj.remarks
  537. })
  538. .then(e => {
  539. console.log(e, '1111');
  540. uni.navigateTo({
  541. url: '/pages/money/pay?orderId=' + e.data.cache + '&money=' + e.data.pay_price
  542. });
  543. })
  544. .catch(e => {
  545. this.openPopup();
  546. });
  547. }
  548. }
  549. };
  550. </script>
  551. <style lang="scss">
  552. .content,
  553. page {
  554. min-height: 100%;
  555. height: auto;
  556. background: #f8f8f8;
  557. }
  558. .top {
  559. position: relative;
  560. z-index: 0;
  561. width: 750rpx;
  562. height: 287rpx;
  563. .top-bg {
  564. width: 750rpx;
  565. height: 287rpx;
  566. }
  567. }
  568. .main {
  569. height: auto;
  570. background: #ffffff;
  571. }
  572. .info-item {
  573. padding: 40rpx 0 38rpx;
  574. margin: 0 24rpx;
  575. border-bottom: 1px solid #ececec;
  576. .info-left {
  577. font-size: 30rpx;
  578. font-family: PingFang SC;
  579. font-weight: 500;
  580. color: #222222;
  581. }
  582. .info-right {
  583. font-size: 28rpx;
  584. font-family: PingFang SC;
  585. font-weight: 500;
  586. color: #999999;
  587. }
  588. }
  589. .list-input {
  590. text-align: right;
  591. font-size: 28rpx;
  592. font-family: PingFang SC;
  593. font-weight: 500;
  594. color: #999999;
  595. }
  596. .info-type-title {
  597. font-size: 30rpx;
  598. font-family: PingFang SC;
  599. font-weight: 500;
  600. color: #222222;
  601. .info-type-title-right {
  602. display: flex;
  603. align-items: center;
  604. .info-type-title-right-font {
  605. font-size: 24rpx;
  606. font-family: PingFang SC;
  607. font-weight: 500;
  608. color: #d0cece;
  609. margin-right: 10rpx;
  610. }
  611. .info-type-title-right-icon {
  612. width: 18rpx;
  613. height: 22rpx;
  614. }
  615. }
  616. .info-type-tip {
  617. font-size: 24rpx;
  618. font-family: PingFang SC;
  619. font-weight: 500;
  620. color: #666666;
  621. }
  622. }
  623. .info-type {
  624. border-bottom: 1px solid #ececec;
  625. padding: 38rpx 24rpx 50rpx;
  626. .info-type-main {
  627. display: flex;
  628. flex-wrap: wrap;
  629. .current {
  630. background: #24a17d !important;
  631. color: #ffffff !important;
  632. text {
  633. color: #ffffff !important;
  634. }
  635. }
  636. .info-type-main-item {
  637. margin: 30rpx 10rpx 0 0;
  638. padding: 10rpx 20rpx;
  639. background: #ffffff;
  640. border: 2rpx solid #e7e7e7;
  641. border-radius: 15rpx;
  642. font-size: 26rpx;
  643. font-family: PingFang SC;
  644. font-weight: 500;
  645. color: #333333;
  646. text {
  647. color: #ff6f0f;
  648. }
  649. }
  650. }
  651. }
  652. .info-bz {
  653. margin: 15rpx 0 0;
  654. padding: 40rpx 30rpx;
  655. background: #ffffff;
  656. .text-box {
  657. margin: 10rpx 0 0;
  658. width: 690rpx;
  659. height: 100rpx;
  660. font-size: 30rpx;
  661. font-family: PingFang SC;
  662. font-weight: 500;
  663. color: #666666;
  664. }
  665. }
  666. .btn {
  667. position: absolute;
  668. bottom: 40rpx;
  669. left: 50%;
  670. margin-left: -311rpx;
  671. width: 622rpx;
  672. height: 85rpx;
  673. background: #24a17d;
  674. border-radius: 15rpx;
  675. text-align: center;
  676. line-height: 85rpx;
  677. font-size: 32rpx;
  678. font-family: PingFang SC;
  679. font-weight: bold;
  680. color: #ffffff;
  681. }
  682. .popup-box {
  683. width: 527rpx;
  684. height: 602rpx;
  685. background: #ffffff;
  686. border-radius: 28rpx;
  687. position: relative;
  688. .img {
  689. position: relative;
  690. top: -56rpx;
  691. left: 0;
  692. width: 527rpx;
  693. height: 280rpx;
  694. display: flex;
  695. justify-content: center;
  696. image {
  697. border-radius: 20rpx 20rpx 0 0;
  698. width: 477rpx;
  699. height: 280rpx;
  700. }
  701. }
  702. .mian {
  703. margin-top: -44rpx;
  704. display: flex;
  705. flex-direction: column;
  706. align-items: center;
  707. // padding: 32rpx 32rpx;
  708. background-color: #ffffff;
  709. border-radius: 0 0 20rpx 20rpx;
  710. padding: 0 42rpx;
  711. text-align: center;
  712. .title {
  713. font-size: 33rpx;
  714. font-family: PingFang SC;
  715. font-weight: 800;
  716. color: #333333;
  717. }
  718. .nocancel {
  719. font-size: 28rpx;
  720. font-family: PingFang SC;
  721. font-weight: 500;
  722. color: #7b95a9;
  723. }
  724. .comfirm-box {
  725. margin: 52rpx auto;
  726. width: 403rpx;
  727. height: 83rpx;
  728. background: #24a17d;
  729. border-radius: 42rpx;
  730. text-align: center;
  731. line-height: 83rpx;
  732. font-size: 32rpx;
  733. font-family: PingFang SC;
  734. font-weight: bold;
  735. color: #ffffff;
  736. }
  737. }
  738. }
  739. .scrollList {
  740. padding-bottom: 150rpx;
  741. }
  742. </style>