prescribe.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. <template>
  2. <view class="content">
  3. <view class="fixed-top-box">
  4. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  5. <view class="back-box" @click="back">
  6. <image src="../../static/images/back_white.png" mode=""></image>
  7. <text class="title">填写处方信息</text>
  8. <text></text>
  9. </view>
  10. </view>
  11. <view class="inner">
  12. <view :style="{height: statusBarHeight}"></view>
  13. <!-- 步骤 -->
  14. <view class="steps-box">
  15. <view class="item active">填写信息</view>
  16. <image class="arrow" src="../../static/images/arrow4.png" mode=""></image>
  17. <view class="item">医生开方</view>
  18. <image class="arrow" src="../../static/images/arrow4.png" mode=""></image>
  19. <view class="item">支付订单</view>
  20. <image class="arrow" src="../../static/images/arrow4.png" mode=""></image>
  21. <view class="item">厂家发货</view>
  22. </view>
  23. <!-- 提示 -->
  24. <view class="tip-box">
  25. <view class="top">
  26. <image src="../../static/images/safe2.png" mode=""></image>
  27. <text class="text">依据国家规定、处方药需凭处方购买</text>
  28. </view>
  29. <view class="time-tip">填写问诊人信息、处方信息</view>
  30. </view>
  31. <view class="info-box">
  32. <!-- 选择问诊人 -->
  33. <view class="chose-people">
  34. <view class="title-box">
  35. <text class="title">选择问诊人</text>
  36. <view class="add-box" @click="addPeople()">
  37. <image src="../../static/images/add26.png" mode=""></image>
  38. <text >添加</text>
  39. </view>
  40. </view>
  41. <view class="peop-list" v-if="patient.length>0">
  42. <view v-for="(item,index) in patient" :key="index" :class="patientId == item.patientId?'item active':'item'" @click="chosePatient(item)">
  43. <view class="name">{{ item.patientName }}</view>
  44. <view class="info">
  45. <text class="sex" v-if="item.gender==1">男</text>
  46. <text class="sex" v-if="item.gender==2">女</text>
  47. <text class="ege">{{utils.getAge(item.birthday)}}岁</text>
  48. </view>
  49. <!-- 选中的对号角标 -->
  50. <image v-if="patientId == item.patientId" class="active-img" src="../../static/images/sel_right50.png" mode=""></image>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="text-content">
  55. <view class="title">
  56. <text class="black">主诉</text>
  57. <text class="gray">(选填)</text>
  58. </view>
  59. <textarea class="textArea" maxlength="200" @input="chiefComplaintInput" placeholder="请填写主诉内容"></textarea>
  60. </view>
  61. <view class="text-content">
  62. <view class="title">
  63. <text class="black">既往病史</text>
  64. <text class="gray">(选填)</text>
  65. </view>
  66. <textarea class="textArea" maxlength="200" @input="historyIllnessInput" placeholder="请填写既往病史内容"></textarea>
  67. </view>
  68. <view class="img-content">
  69. <view class="title">
  70. <text class="black">复诊凭证</text>
  71. <text class="gray">(选填) {{imgList.length}}/4</text>
  72. </view>
  73. <view class="upload-img">
  74. <view class="img" v-for="(item,index) in imgList" :key="index" >
  75. <image :src="item" mode="aspectFill" @click="previewImage(index)"></image>
  76. <view class="del" @click="delImg(index)" >
  77. <image src="/static/images/del2.png"></image>
  78. </view>
  79. </view>
  80. <view class="chose-img" @tap="chooseImage(1)" v-if="imgList.length<4">
  81. <image src="/static/images/adds.png"></image>
  82. </view>
  83. </view>
  84. </view>
  85. <!-- 疾病选择 -->
  86. <!-- <view class="disease-select">
  87. <view class="title">
  88. <text class="black">本次用药的确诊疾病</text>
  89. <text class="gray">(可多选)</text>
  90. </view>
  91. <view class="dise-list">
  92. <view
  93. v-for="(item,index) in diseaseList"
  94. :key="index"
  95. :class="activeDise == index?'item active':'item'"
  96. @click="choseDise(index)"
  97. >
  98. {{ item }}
  99. </view>
  100. </view>
  101. </view> -->
  102. <!-- 是否使用过此药 -->
  103. <view class="check-box">
  104. <view class="left">
  105. <image src="../../static/images/yao.png" mode=""></image>
  106. <text class="text">是否有过敏史</text>
  107. </view>
  108. <radio-group style="display: flex;align-items: center;">
  109. <label style="margin-right: 50upx;">
  110. <radio value="1" :checked="isAllergic==true" style="margin-right: 16upx;" />
  111. <text class="my-radio-text">是</text>
  112. </label>
  113. <label>
  114. <radio value="0" :checked="isAllergic==false" style="margin-right: 16upx;" />
  115. <text class="my-radio-text">否</text>
  116. </label>
  117. </radio-group>
  118. </view>
  119. <view class="check-box">
  120. <view class="left">
  121. <image src="../../static/images/yao.png" mode=""></image>
  122. <text class="text">肝功能是否异常</text>
  123. </view>
  124. <radio-group style="display: flex;align-items: center;">
  125. <label style="margin-right: 50upx;">
  126. <radio value="1" :checked="isLiver==true" style="margin-right: 16upx;" />
  127. <text class="my-radio-text">是</text>
  128. </label>
  129. <label>
  130. <radio value="0" :checked="isLiver==false" style="margin-right: 16upx;" />
  131. <text class="my-radio-text">否</text>
  132. </label>
  133. </radio-group>
  134. </view>
  135. <view class="check-box">
  136. <view class="left">
  137. <image src="../../static/images/yao.png" mode=""></image>
  138. <text class="text">肾功能是否异常</text>
  139. </view>
  140. <radio-group style="display: flex;align-items: center;">
  141. <label style="margin-right: 50upx;">
  142. <radio value="1" :checked="isRenal==true" style="margin-right: 16upx;" />
  143. <text class="my-radio-text">是</text>
  144. </label>
  145. <label>
  146. <radio value="0" :checked="isRenal==false" style="margin-right: 16upx;" />
  147. <text class="my-radio-text">否</text>
  148. </label>
  149. </radio-group>
  150. </view>
  151. <view class="check-box">
  152. <view class="left">
  153. <image src="../../static/images/yao.png" mode=""></image>
  154. <text class="text">是否是备孕/怀孕/哺乳期</text>
  155. </view>
  156. <radio-group style="display: flex;align-items: center;">
  157. <label style="margin-right: 50upx;">
  158. <radio value="1" :checked="isLactation==true" style="margin-right: 16upx;" />
  159. <text class="my-radio-text">是</text>
  160. </label>
  161. <label>
  162. <radio value="0" :checked="isLactation==false" style="margin-right: 16upx;" />
  163. <text class="my-radio-text">否</text>
  164. </label>
  165. </radio-group>
  166. </view>
  167. </view>
  168. </view>
  169. <view class="btn-box">
  170. <view class="btn" @click="submit()">去开处方</view>
  171. </view>
  172. </view>
  173. </template>
  174. <script>
  175. import {getStoreOrderById} from '@/api/storeOrder'
  176. import {getWeixinPrescribeTemps} from '@/api/common'
  177. import {doPrescribe} from '@/api/prescribe'
  178. import {getPatientList,delPatient} from '@/api/patient'
  179. export default {
  180. data() {
  181. return {
  182. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  183. order:null,
  184. temps:[],
  185. imgList: [],
  186. orderId:null,
  187. patient:[],
  188. patientId:null,
  189. // 疾病列表
  190. // diseaseList: ['消化不良','心血管','呼吸系统','感染病','皮肤病','口腔','妇科','耳鼻喉'],
  191. // 选中的疾病
  192. // activeDise: 0,
  193. isAllergic: false,
  194. isLiver: false,
  195. isRenal: false,
  196. isLactation: false,
  197. chiefComplaint:null,
  198. historyIllness:null,
  199. }
  200. },
  201. onLoad(option) {
  202. this.orderId=option.orderId
  203. this.getPatientList();
  204. uni.$on('refreshPatient', () => {
  205. this.getPatientList()
  206. })
  207. this.getWeixinPrescribeTemps();
  208. this.getStoreOrderById();
  209. },
  210. onShow() {
  211. this.getPatientList();
  212. },
  213. methods: {
  214. back(){
  215. uni.showToast({
  216. icon:'none',
  217. title: "请填写资料提交处方,否则将无法发货"
  218. });
  219. },
  220. getStoreOrderById:function(){
  221. var data={orderId:this.orderId}
  222. getStoreOrderById(data).then(
  223. res => {
  224. if(res.code==200){
  225. this.order=res.order
  226. }else{
  227. }
  228. },
  229. rej => {}
  230. );
  231. },
  232. getWeixinPrescribeTemps:function(){
  233. getWeixinPrescribeTemps().then(
  234. res => {
  235. if(res.code==200){
  236. this.temps=res.temp
  237. console.log(this.temps)
  238. }else{
  239. }
  240. },
  241. rej => {}
  242. );
  243. },
  244. chiefComplaintInput(e) {
  245. this.chiefComplaint = e.detail.value
  246. },
  247. historyIllnessInput(e) {
  248. this.historyIllness = e.detail.value
  249. },
  250. // 选择图片
  251. chooseImage(type) {
  252. var that=this;
  253. uni.chooseImage({
  254. count: 4, //默认9
  255. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  256. sourceType: ['album', 'camera'], //从相册选择
  257. success: (res) => {
  258. uni.uploadFile({
  259. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS', //仅为示例,非真实的接口地址
  260. filePath: res.tempFilePaths[0],
  261. name: 'file',
  262. success: (res) => {
  263. that.imgList.push(JSON.parse( res.data).url)
  264. }
  265. });
  266. }
  267. });
  268. },
  269. //图片预览
  270. previewImage(index){
  271. //预览图片
  272. uni.previewImage({
  273. urls: this.imgList,
  274. current: this.imgList[index]
  275. });
  276. },
  277. delImg(index) {
  278. uni.showModal({
  279. title: '提示',
  280. content: '确定要删除这张图片吗?',
  281. cancelText: '取消',
  282. confirmText: '确定',
  283. success: res => {
  284. if (res.confirm) {
  285. this.imgList.splice(index, 1);
  286. }
  287. }
  288. })
  289. },
  290. submit(){
  291. var that=this;
  292. if(this.patientId==null){
  293. uni.showToast({
  294. icon:'none',
  295. title: "请选择患者"
  296. });
  297. return;
  298. }
  299. uni.showLoading({
  300. title:"正在处理中"
  301. })
  302. var data={
  303. patientId:this.patientId,
  304. orderId:this.orderId,
  305. isAllergic:this.isAllergic,
  306. isLiver:this.isLiver,
  307. isRenal:this.isRenal,
  308. isLactation:this.isLactation,
  309. chiefComplaint:this.chiefComplaint,
  310. historyIllness:this.historyIllness,
  311. recordPic:this.imgList.toString()
  312. }
  313. doPrescribe(data).then(
  314. res => {
  315. if(res.code==200){
  316. uni.hideLoading()
  317. uni.showToast({
  318. icon:'success',
  319. title:res.msg,
  320. });
  321. var order =res.order;
  322. uni.requestSubscribeMessage({
  323. tmplIds: this.temps,
  324. success(res) {
  325. setTimeout(function(){
  326. if(order.paid!=1){
  327. uni.redirectTo({
  328. url: './paymentOrder?orderId='+that.order.id
  329. })
  330. }
  331. else{
  332. uni.navigateBack({
  333. delta: 1
  334. });
  335. }
  336. },500);
  337. },
  338. fail(res) {
  339. setTimeout(function(){
  340. if(order.paid!=1){
  341. uni.redirectTo({
  342. url: './paymentOrder?orderId='+that.order.id
  343. })
  344. }
  345. else{
  346. uni.navigateBack({
  347. delta: 1
  348. });
  349. }
  350. },500);
  351. }
  352. })
  353. }else{
  354. uni.showToast({
  355. icon:'none',
  356. title: res.msg,
  357. });
  358. }
  359. },
  360. rej => {}
  361. );
  362. },
  363. getPatientList(){
  364. uni.showLoading({
  365. title:"正在加载中"
  366. })
  367. getPatientList().then(
  368. res => {
  369. uni.hideLoading()
  370. if(res.code==200){
  371. this.patient=res.data;
  372. }else{
  373. uni.showToast({
  374. icon:'none',
  375. title: "请求失败",
  376. });
  377. }
  378. },
  379. rej => {}
  380. );
  381. },
  382. // 选中问诊人
  383. chosePatient(item) {
  384. this.patientId = item.patientId
  385. },
  386. // 添加问诊人
  387. addPeople() {
  388. uni.navigateTo({
  389. url:"/pages_user/user/patient"
  390. })
  391. },
  392. // 疾病选择
  393. choseDise(index) {
  394. this.activeDise = index
  395. }
  396. }
  397. }
  398. </script>
  399. <style lang="scss">
  400. .content{
  401. height: 100%;
  402. display: flex;
  403. flex-direction: column;
  404. justify-content: space-between;
  405. .fixed-top-box{
  406. width: 100%;
  407. background: linear-gradient(135deg, #2BC7B9 0%, #60CDC3 100%);
  408. position: fixed;
  409. top: 0;
  410. left: 0;
  411. z-index: 1000;
  412. .back-box{
  413. height: 88upx;
  414. padding-left: 22upx;
  415. display: flex;
  416. align-items: center;
  417. justify-content: space-between;
  418. padding: 0 20upx;
  419. image{
  420. width: 40upx;
  421. height: 40upx;
  422. }
  423. .title{
  424. font-size: 36upx;
  425. font-family: PingFang SC;
  426. font-weight: 500;
  427. color: #FFFFFF;
  428. }
  429. }
  430. }
  431. .inner{
  432. margin-top: 88rpx;
  433. .steps-box{
  434. height: 88upx;
  435. background: #FFFFFF;
  436. padding: 0 48upx;
  437. display: flex;
  438. align-items: center;
  439. justify-content: space-between;
  440. .item{
  441. font-size: 28upx;
  442. font-family: PingFang SC;
  443. font-weight: 500;
  444. color: #666666;
  445. &.active{
  446. font-weight: bold;
  447. color: #2BC7B9;
  448. }
  449. }
  450. .arrow{
  451. width: 12upx;
  452. height: 22upx;
  453. }
  454. }
  455. .tip-box{
  456. box-sizing: border-box;
  457. height: 130upx;
  458. background: #FFF4E6;
  459. padding: 26upx 0 30upx 50upx;
  460. display: flex;
  461. flex-direction: column;
  462. justify-content: space-between;
  463. .top{
  464. display: flex;
  465. align-items: center;
  466. image{
  467. width: 26upx;
  468. height: 31upx;
  469. margin-right: 10upx;
  470. }
  471. .text{
  472. font-size: 28upx;
  473. font-family: PingFang SC;
  474. font-weight: 500;
  475. color: #EF8A07;
  476. line-height: 1;
  477. }
  478. }
  479. .time-tip{
  480. padding-left: 40upx;
  481. font-size: 24upx;
  482. font-family: PingFang SC;
  483. font-weight: 500;
  484. color: #999999;
  485. line-height: 1;
  486. }
  487. }
  488. .info-box{
  489. padding: 20upx;
  490. .chose-people{
  491. box-sizing: border-box;
  492. background: #FFFFFF;
  493. border-radius: 16upx;
  494. padding: 40upx 30upx 30upx;
  495. .title-box{
  496. display: flex;
  497. align-items: center;
  498. justify-content: space-between;
  499. .title{
  500. font-size: 32upx;
  501. font-family: PingFang SC;
  502. font-weight: bold;
  503. color: #111111;
  504. }
  505. .add-box{
  506. display: flex;
  507. align-items: center;
  508. image{
  509. width: 26upx;
  510. height: 26upx;
  511. margin-right: 11upx;
  512. }
  513. text{
  514. font-size: 28upx;
  515. font-family: PingFang SC;
  516. font-weight: 500;
  517. color: #111111;
  518. }
  519. }
  520. }
  521. .peop-list{
  522. display: flex;
  523. flex-wrap: wrap;
  524. margin-top: 30upx;
  525. .item{
  526. box-sizing: border-box;
  527. padding: 18upx 30upx;
  528. width: 31.28%;
  529. height: 110upx;
  530. background: #F7F7F7;
  531. border-radius: 16upx;
  532. margin: 0 20upx 10upx 0;
  533. border: 2upx solid #F7F7F7;
  534. display: flex;
  535. flex-direction: column;
  536. justify-content: space-between;
  537. &:nth-child(3n){
  538. margin-right: 0;
  539. }
  540. &.active{
  541. background: rgba(230, 250, 247, 0);
  542. border: 2upx solid #2BC7B9;
  543. position: relative;
  544. }
  545. .active-img{
  546. width: 50upx;
  547. height: 50upx;
  548. position: absolute;
  549. right: -2upx;
  550. bottom: -2upx;
  551. }
  552. .name{
  553. font-size: 30upx;
  554. line-height: 1;
  555. font-family: PingFang SC;
  556. font-weight: bold;
  557. color: #111111;
  558. }
  559. .info{
  560. display: flex;
  561. align-items: center;
  562. .sex,
  563. .ege{
  564. font-size: 26upx;
  565. font-family: PingFang SC;
  566. line-height: 1;
  567. font-weight: 500;
  568. color: #666666;
  569. }
  570. .ege{
  571. margin-left: 19upx;
  572. }
  573. }
  574. }
  575. }
  576. }
  577. .disease-select{
  578. box-sizing: border-box;
  579. min-height: 286upx;
  580. background: #FFFFFF;
  581. border-radius: 16upx;
  582. padding: 40upx 30upx 22upx;
  583. margin-top: 20upx;
  584. .title{
  585. display: flex;
  586. align-items: center;
  587. align-items: flex-end;
  588. .black{
  589. font-size: 32upx;
  590. font-family: PingFang SC;
  591. font-weight: bold;
  592. color: #111111;
  593. line-height: 1;
  594. margin-left: 10upx;
  595. }
  596. .gray{
  597. font-size: 28upx;
  598. font-family: PingFang SC;
  599. color: #999999;
  600. line-height: 1;
  601. margin-left: 10upx;
  602. }
  603. }
  604. .dise-list{
  605. display: flex;
  606. flex-wrap: wrap;
  607. margin-top: 26upx;
  608. .item{
  609. box-sizing: border-box;
  610. height: 64upx;
  611. line-height: 64upx;
  612. font-size: 28upx;
  613. font-family: PingFang SC;
  614. font-weight: 500;
  615. color: #2BC7B9;
  616. background: #F5FFFE;
  617. border: 1px solid #8AD5CE;
  618. padding: 0 20upx;
  619. border-radius: 32upx;
  620. margin: 0 20upx 20upx 0;
  621. &.active{
  622. background: #2BC7B9;
  623. border: 1px solid #2BC7B9;
  624. color: #FFFFFF;
  625. }
  626. }
  627. }
  628. }
  629. .text-content{
  630. box-sizing: border-box;
  631. min-height: 286upx;
  632. background: #FFFFFF;
  633. border-radius: 16upx;
  634. padding: 40upx 30upx 22upx;
  635. margin-top: 20upx;
  636. .title{
  637. display: flex;
  638. align-items: center;
  639. align-items: flex-end;
  640. .black{
  641. font-size: 32upx;
  642. font-family: PingFang SC;
  643. font-weight: bold;
  644. color: #111111;
  645. line-height: 1;
  646. margin-left: 10upx;
  647. }
  648. .gray{
  649. font-size: 28upx;
  650. font-family: PingFang SC;
  651. color: #999999;
  652. line-height: 1;
  653. margin-left: 10upx;
  654. }
  655. }
  656. .textArea{
  657. margin: 30rpx 0rpx 0rpx 0rpx;
  658. width: 100%;
  659. }
  660. }
  661. .img-content{
  662. box-sizing: border-box;
  663. min-height: 286upx;
  664. background: #FFFFFF;
  665. border-radius: 16upx;
  666. padding: 40upx 30upx 22upx;
  667. margin-top: 20upx;
  668. margin-bottom: 20upx;
  669. .title{
  670. display: flex;
  671. align-items: center;
  672. align-items: flex-end;
  673. .black{
  674. font-size: 32upx;
  675. font-family: PingFang SC;
  676. font-weight: bold;
  677. color: #111111;
  678. line-height: 1;
  679. margin-left: 10upx;
  680. }
  681. .gray{
  682. font-size: 28upx;
  683. font-family: PingFang SC;
  684. color: #999999;
  685. line-height: 1;
  686. margin-left: 10upx;
  687. }
  688. }
  689. .textArea{
  690. margin: 30rpx 0rpx 0rpx 0rpx;
  691. width: 100%;
  692. }
  693. .upload-img{
  694. margin: 30rpx 0rpx 0rpx 0rpx;
  695. width: 100%;
  696. display: flex;
  697. align-items: flex-start;
  698. .img{
  699. margin-right: 10rpx;
  700. width: 100rpx;
  701. height: 100rpx;
  702. position: relative;
  703. image{
  704. width: 100%;
  705. height: 100%;
  706. }
  707. .del{
  708. right:0rpx;
  709. top:0rpx;
  710. position: absolute;
  711. image{
  712. width: 30rpx;
  713. height:30rpx;
  714. }
  715. }
  716. }
  717. .chose-img{
  718. border-radius: 5rpx;
  719. border: 1px solid #eee;
  720. padding: 5rpx;
  721. display: flex;
  722. align-items: center;
  723. justify-content: center;
  724. width: 100rpx;
  725. height: 100rpx;
  726. image{
  727. width: 50rpx;
  728. height: 50rpx;
  729. }
  730. }
  731. }
  732. }
  733. .check-box{
  734. height: 88upx;
  735. background: #FFFFFF;
  736. border-radius: 16upx;
  737. padding: 0 30upx;
  738. display: flex;
  739. align-items: center;
  740. justify-content: space-between;
  741. .left{
  742. display: flex;
  743. align-items: center;
  744. image{
  745. width: 21upx;
  746. height: 27upx;
  747. margin-right: 20upx;
  748. }
  749. .text{
  750. font-size: 32upx;
  751. font-family: PingFang SC;
  752. font-weight: 500;
  753. color: #666666;
  754. }
  755. }
  756. .my-radio-text{
  757. font-size: 30upx;
  758. font-family: PingFang SC;
  759. font-weight: 500;
  760. color: #111111;
  761. line-height: 30upx;
  762. }
  763. }
  764. }
  765. }
  766. .btn-box{
  767. height: 120upx;
  768. padding: 30upx;
  769. // background: #FFFFFF;
  770. display: flex;
  771. align-items: center;
  772. justify-content: center;
  773. .btn{
  774. width: 100%;
  775. height: 88upx;
  776. line-height: 88upx;
  777. font-size: 30upx;
  778. font-family: PingFang SC;
  779. font-weight: bold;
  780. color: #FFFFFF;
  781. text-align: center;
  782. background: #2BC7B9;
  783. border-radius: 44upx;
  784. }
  785. }
  786. }
  787. </style>