prescribe.vue 21 KB

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