prescribe.vue 21 KB

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