prescribe.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842
  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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/images/arrow4.png" mode=""></image>
  17. <view class="item">医生开方</view>
  18. <image class="arrow" src="https://kntobs.jnmyunl.com/shop/images/arrow4.png" mode=""></image>
  19. <view class="item">支付订单</view>
  20. <image class="arrow" src="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/images/del2.png"></image>
  78. </view>
  79. </view>
  80. <view class="chose-img" @tap="chooseImage(1)" v-if="imgList.length<4">
  81. <image src="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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="https://kntobs.jnmyunl.com/shop/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. import { mapGetters } from 'vuex';
  180. export default {
  181. data() {
  182. return {
  183. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  184. order:null,
  185. temps:[],
  186. imgList: [],
  187. orderId:null,
  188. patient:[],
  189. patientId:null,
  190. pickPatient:null,
  191. // 疾病列表
  192. // diseaseList: ['消化不良','心血管','呼吸系统','感染病','皮肤病','口腔','妇科','耳鼻喉'],
  193. // 选中的疾病
  194. // activeDise: 0,
  195. isAllergic: false,
  196. isLiver: false,
  197. isRenal: false,
  198. isLactation: false,
  199. chiefComplaint:null,
  200. historyIllness:null
  201. }
  202. },
  203. onLoad(option) {
  204. this.orderId=option.orderId
  205. this.getPatientList();
  206. uni.$on('refreshPatient', () => {
  207. this.getPatientList()
  208. })
  209. this.getWeixinPrescribeTemps();
  210. this.getStoreOrderById();
  211. },
  212. onShow() {
  213. this.getPatientList();
  214. },
  215. computed: {
  216. ...mapGetters(['logoimg']),
  217. },
  218. watch: {
  219. logoimg: {
  220. immediate: true, // 页面一进入就检查一次
  221. handler(val) {
  222. return val
  223. }
  224. },
  225. },
  226. //发送给朋友
  227. onShareAppMessage(res) {
  228. if(this.utils.isLogin()){
  229. var user=JSON.parse(uni.getStorageSync('userInfo'))
  230. return {
  231. title: "填写处方信息",
  232. path: "/pages/shopping/prescribe?orderId="+this.orderId,
  233. imageUrl: this.logoimg //分享图标,路径可以是本地文件路径、代码包文件路径或者网络图片路径.支持PNG及JPG。显示图片长宽比是 5:4
  234. }
  235. }
  236. },
  237. methods: {
  238. back(){
  239. // uni.showToast({
  240. // icon:'none',
  241. // title: "请填写资料提交处方,否则将无法发货"
  242. // });
  243. uni.navigateBack();
  244. },
  245. getStoreOrderById:function(){
  246. var data={orderId:this.orderId}
  247. getStoreOrderById(data).then(
  248. res => {
  249. if(res.code==200){
  250. this.order=res.order
  251. }else{
  252. }
  253. },
  254. rej => {}
  255. );
  256. },
  257. getWeixinPrescribeTemps:function(){
  258. getWeixinPrescribeTemps().then(
  259. res => {
  260. if(res.code==200){
  261. this.temps=res.temp
  262. console.log(this.temps)
  263. }else{
  264. }
  265. },
  266. rej => {}
  267. );
  268. },
  269. chiefComplaintInput(e) {
  270. this.chiefComplaint = e.detail.value
  271. },
  272. historyIllnessInput(e) {
  273. this.historyIllness = e.detail.value
  274. },
  275. // 选择图片
  276. chooseImage(type) {
  277. var that=this;
  278. uni.chooseImage({
  279. count: 4, //默认9
  280. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  281. sourceType: ['album', 'camera'], //从相册选择
  282. success: (res) => {
  283. uni.uploadFile({
  284. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS', //仅为示例,非真实的接口地址
  285. filePath: res.tempFilePaths[0],
  286. name: 'file',
  287. success: (res) => {
  288. that.imgList.push(JSON.parse( res.data).url)
  289. }
  290. });
  291. }
  292. });
  293. },
  294. //图片预览
  295. previewImage(index){
  296. //预览图片
  297. uni.previewImage({
  298. urls: this.imgList,
  299. current: this.imgList[index]
  300. });
  301. },
  302. delImg(index) {
  303. uni.showModal({
  304. title: '提示',
  305. content: '确定要删除这张图片吗?',
  306. cancelText: '取消',
  307. confirmText: '确定',
  308. success: res => {
  309. if (res.confirm) {
  310. this.imgList.splice(index, 1);
  311. }
  312. }
  313. })
  314. },
  315. submit(){
  316. var that=this;
  317. if(this.patientId==null){
  318. uni.showToast({
  319. icon:'none',
  320. title: "请选择患者"
  321. });
  322. return;
  323. }
  324. if(this.pickPatient.isAuth==0){
  325. uni.showToast({
  326. icon:'none',
  327. title: "该问诊人未实名认证"
  328. });
  329. return;
  330. }
  331. uni.showLoading({
  332. title:"正在处理中"
  333. })
  334. var data={
  335. patientId:this.patientId,
  336. orderId:this.orderId,
  337. isAllergic:this.isAllergic,
  338. isLiver:this.isLiver,
  339. isRenal:this.isRenal,
  340. isLactation:this.isLactation,
  341. chiefComplaint:this.chiefComplaint,
  342. historyIllness:this.historyIllness,
  343. recordPic:this.imgList.toString()
  344. }
  345. doPrescribe(data).then(
  346. res => {
  347. if(res.code==200){
  348. uni.hideLoading()
  349. uni.showToast({
  350. icon:'success',
  351. title:res.msg,
  352. });
  353. var order =res.order;
  354. uni.requestSubscribeMessage({
  355. tmplIds: this.temps,
  356. success(res) {
  357. setTimeout(function(){
  358. if(order.paid!=1){
  359. uni.redirectTo({
  360. url: './paymentOrder?orderId='+that.order.id
  361. })
  362. }
  363. else{
  364. uni.navigateBack({
  365. delta: 1
  366. });
  367. }
  368. },500);
  369. },
  370. fail(res) {
  371. setTimeout(function(){
  372. if(order.paid!=1){
  373. uni.redirectTo({
  374. url: './paymentOrder?orderId='+that.order.id
  375. })
  376. }
  377. else{
  378. uni.navigateBack({
  379. delta: 1
  380. });
  381. }
  382. },500);
  383. }
  384. })
  385. }else{
  386. uni.showToast({
  387. icon:'none',
  388. title: res.msg,
  389. });
  390. }
  391. },
  392. rej => {}
  393. );
  394. },
  395. getPatientList(){
  396. uni.showLoading({
  397. title:"正在加载中"
  398. })
  399. getPatientList().then(
  400. res => {
  401. uni.hideLoading()
  402. if(res.code==200){
  403. this.patient=res.data;
  404. }else{
  405. uni.showToast({
  406. icon:'none',
  407. title: "请求失败",
  408. });
  409. }
  410. },
  411. rej => {}
  412. );
  413. },
  414. // 选中问诊人
  415. chosePatient(item) {
  416. this.patientId = item.patientId;
  417. this.pickPatient=item;
  418. },
  419. // 添加问诊人
  420. addPeople() {
  421. uni.navigateTo({
  422. url:"/pages_user/user/patient"
  423. })
  424. },
  425. // 疾病选择
  426. choseDise(index) {
  427. this.activeDise = index
  428. }
  429. }
  430. }
  431. </script>
  432. <style lang="scss">
  433. .content{
  434. height: 100%;
  435. display: flex;
  436. flex-direction: column;
  437. justify-content: space-between;
  438. .fixed-top-box{
  439. width: 100%;
  440. background: linear-gradient(135deg, #66b2ef 0%, #2BC7B9 100%);
  441. position: fixed;
  442. top: 0;
  443. left: 0;
  444. z-index: 1000;
  445. .back-box{
  446. height: 88upx;
  447. padding-left: 22upx;
  448. display: flex;
  449. align-items: center;
  450. justify-content: space-between;
  451. padding: 0 20upx;
  452. image{
  453. width: 40upx;
  454. height: 40upx;
  455. }
  456. .title{
  457. font-size: 36upx;
  458. font-family: PingFang SC;
  459. font-weight: 500;
  460. color: #FFFFFF;
  461. }
  462. }
  463. }
  464. .inner{
  465. margin-top: 88rpx;
  466. .steps-box{
  467. height: 88upx;
  468. background: #FFFFFF;
  469. padding: 0 48upx;
  470. display: flex;
  471. align-items: center;
  472. justify-content: space-between;
  473. .item{
  474. font-size: 28upx;
  475. font-family: PingFang SC;
  476. font-weight: 500;
  477. color: #666666;
  478. &.active{
  479. font-weight: bold;
  480. color: #2BC7B9;
  481. }
  482. }
  483. .arrow{
  484. width: 12upx;
  485. height: 22upx;
  486. }
  487. }
  488. .tip-box{
  489. box-sizing: border-box;
  490. height: 130upx;
  491. background: #FFF4E6;
  492. padding: 26upx 0 30upx 50upx;
  493. display: flex;
  494. flex-direction: column;
  495. justify-content: space-between;
  496. .top{
  497. display: flex;
  498. align-items: center;
  499. image{
  500. width: 26upx;
  501. height: 31upx;
  502. margin-right: 10upx;
  503. }
  504. .text{
  505. font-size: 28upx;
  506. font-family: PingFang SC;
  507. font-weight: 500;
  508. color: #EF8A07;
  509. line-height: 1;
  510. }
  511. }
  512. .time-tip{
  513. padding-left: 40upx;
  514. font-size: 24upx;
  515. font-family: PingFang SC;
  516. font-weight: 500;
  517. color: #999999;
  518. line-height: 1;
  519. }
  520. }
  521. .info-box{
  522. padding: 20upx;
  523. .chose-people{
  524. box-sizing: border-box;
  525. background: #FFFFFF;
  526. border-radius: 16upx;
  527. padding: 40upx 30upx 30upx;
  528. .title-box{
  529. display: flex;
  530. align-items: center;
  531. justify-content: space-between;
  532. .title{
  533. font-size: 32upx;
  534. font-family: PingFang SC;
  535. font-weight: bold;
  536. color: #111111;
  537. }
  538. .add-box{
  539. display: flex;
  540. align-items: center;
  541. image{
  542. width: 26upx;
  543. height: 26upx;
  544. margin-right: 11upx;
  545. }
  546. text{
  547. font-size: 28upx;
  548. font-family: PingFang SC;
  549. font-weight: 500;
  550. color: #111111;
  551. }
  552. }
  553. }
  554. .peop-list{
  555. display: flex;
  556. flex-wrap: wrap;
  557. margin-top: 30upx;
  558. .item{
  559. box-sizing: border-box;
  560. padding: 18upx 30upx;
  561. width: 31.28%;
  562. height: 110upx;
  563. background: #F7F7F7;
  564. border-radius: 16upx;
  565. margin: 0 20upx 10upx 0;
  566. border: 2upx solid #F7F7F7;
  567. display: flex;
  568. flex-direction: column;
  569. justify-content: space-between;
  570. &:nth-child(3n){
  571. margin-right: 0;
  572. }
  573. &.active{
  574. background: rgba(230, 250, 247, 0);
  575. border: 2upx solid #2BC7B9;
  576. position: relative;
  577. }
  578. .active-img{
  579. width: 50upx;
  580. height: 50upx;
  581. position: absolute;
  582. right: -2upx;
  583. bottom: -2upx;
  584. }
  585. .name{
  586. font-size: 30upx;
  587. line-height: 1;
  588. font-family: PingFang SC;
  589. font-weight: bold;
  590. color: #111111;
  591. }
  592. .info{
  593. display: flex;
  594. align-items: center;
  595. .sex,
  596. .ege{
  597. font-size: 26upx;
  598. font-family: PingFang SC;
  599. line-height: 1;
  600. font-weight: 500;
  601. color: #666666;
  602. }
  603. .ege{
  604. margin-left: 19upx;
  605. }
  606. }
  607. }
  608. }
  609. }
  610. .disease-select{
  611. box-sizing: border-box;
  612. min-height: 286upx;
  613. background: #FFFFFF;
  614. border-radius: 16upx;
  615. padding: 40upx 30upx 22upx;
  616. margin-top: 20upx;
  617. .title{
  618. display: flex;
  619. align-items: center;
  620. align-items: flex-end;
  621. .black{
  622. font-size: 32upx;
  623. font-family: PingFang SC;
  624. font-weight: bold;
  625. color: #111111;
  626. line-height: 1;
  627. margin-left: 10upx;
  628. }
  629. .gray{
  630. font-size: 28upx;
  631. font-family: PingFang SC;
  632. color: #999999;
  633. line-height: 1;
  634. margin-left: 10upx;
  635. }
  636. }
  637. .dise-list{
  638. display: flex;
  639. flex-wrap: wrap;
  640. margin-top: 26upx;
  641. .item{
  642. box-sizing: border-box;
  643. height: 64upx;
  644. line-height: 64upx;
  645. font-size: 28upx;
  646. font-family: PingFang SC;
  647. font-weight: 500;
  648. color: #2BC7B9;
  649. background: #F5FFFE;
  650. border: 1px solid #8AD5CE;
  651. padding: 0 20upx;
  652. border-radius: 32upx;
  653. margin: 0 20upx 20upx 0;
  654. &.active{
  655. background: #2BC7B9;
  656. border: 1px solid #2BC7B9;
  657. color: #FFFFFF;
  658. }
  659. }
  660. }
  661. }
  662. .text-content{
  663. box-sizing: border-box;
  664. min-height: 286upx;
  665. background: #FFFFFF;
  666. border-radius: 16upx;
  667. padding: 40upx 30upx 22upx;
  668. margin-top: 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. }
  694. .img-content{
  695. box-sizing: border-box;
  696. min-height: 286upx;
  697. background: #FFFFFF;
  698. border-radius: 16upx;
  699. padding: 40upx 30upx 22upx;
  700. margin-top: 20upx;
  701. margin-bottom: 20upx;
  702. .title{
  703. display: flex;
  704. align-items: center;
  705. align-items: flex-end;
  706. .black{
  707. font-size: 32upx;
  708. font-family: PingFang SC;
  709. font-weight: bold;
  710. color: #111111;
  711. line-height: 1;
  712. margin-left: 10upx;
  713. }
  714. .gray{
  715. font-size: 28upx;
  716. font-family: PingFang SC;
  717. color: #999999;
  718. line-height: 1;
  719. margin-left: 10upx;
  720. }
  721. }
  722. .textArea{
  723. margin: 30rpx 0rpx 0rpx 0rpx;
  724. width: 100%;
  725. }
  726. .upload-img{
  727. margin: 30rpx 0rpx 0rpx 0rpx;
  728. width: 100%;
  729. display: flex;
  730. align-items: flex-start;
  731. .img{
  732. margin-right: 10rpx;
  733. width: 100rpx;
  734. height: 100rpx;
  735. position: relative;
  736. image{
  737. width: 100%;
  738. height: 100%;
  739. }
  740. .del{
  741. right:0rpx;
  742. top:0rpx;
  743. position: absolute;
  744. image{
  745. width: 30rpx;
  746. height:30rpx;
  747. }
  748. }
  749. }
  750. .chose-img{
  751. border-radius: 5rpx;
  752. border: 1px solid #eee;
  753. padding: 5rpx;
  754. display: flex;
  755. align-items: center;
  756. justify-content: center;
  757. width: 100rpx;
  758. height: 100rpx;
  759. image{
  760. width: 50rpx;
  761. height: 50rpx;
  762. }
  763. }
  764. }
  765. }
  766. .check-box{
  767. height: 88upx;
  768. background: #FFFFFF;
  769. border-radius: 16upx;
  770. padding: 0 30upx;
  771. display: flex;
  772. align-items: center;
  773. justify-content: space-between;
  774. .left{
  775. display: flex;
  776. align-items: center;
  777. image{
  778. width: 21upx;
  779. height: 27upx;
  780. margin-right: 20upx;
  781. }
  782. .text{
  783. font-size: 32upx;
  784. font-family: PingFang SC;
  785. font-weight: 500;
  786. color: #666666;
  787. }
  788. }
  789. .my-radio-text{
  790. font-size: 30upx;
  791. font-family: PingFang SC;
  792. font-weight: 500;
  793. color: #111111;
  794. line-height: 30upx;
  795. }
  796. }
  797. }
  798. }
  799. .btn-box{
  800. height: 120upx;
  801. padding: 30upx;
  802. // background: #FFFFFF;
  803. display: flex;
  804. align-items: center;
  805. justify-content: center;
  806. .btn{
  807. width: 100%;
  808. height: 88upx;
  809. line-height: 88upx;
  810. font-size: 30upx;
  811. font-family: PingFang SC;
  812. font-weight: bold;
  813. color: #FFFFFF;
  814. text-align: center;
  815. background: #2BC7B9;
  816. border-radius: 44upx;
  817. }
  818. }
  819. }
  820. </style>