inquiryForm2_2.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <template>
  2. <view class="content">
  3. <view>
  4. <u-navbar
  5. title="症状描述"
  6. @leftClick="leftClick"
  7. >
  8. </u-navbar>
  9. </view>
  10. <view class="main">
  11. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  12. <u-alert fontSize="16" description = "尊敬的用户,您好!
  13. 为了您的健康,请认真填写以下内容,以便更好地为您提供咨询建议"></u-alert>
  14. <view class="chose-patient">
  15. <view class="title-box" @click="addPatient()" v-if="patient==null">
  16. <text class="title">选择就诊人</text>
  17. <view class="right" >
  18. <text class="value">请点击添加</text>
  19. <image src="/static/images/arrow_gray.png" mode=""></image>
  20. </view>
  21. </view>
  22. <view class="patient" @click="addPatient()" v-if="patient!=null">
  23. <view class="left">
  24. <view class="name">{{patient.patientName}}</view>
  25. <view class="info">
  26. <text class="text" v-if="patient.sex==1">男</text>
  27. <text class="text" v-if="patient.sex==2">女</text>
  28. <text class="text">{{$getAge(patient.birthday)}}岁</text>
  29. <text class="text">{{$parseIdCard(patient.idCard)}}</text>
  30. </view>
  31. </view>
  32. <view class="right" >
  33. <image src="/static/images/arrow_gray.png" mode=""></image>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="cont">
  38. <u-form :rules="rules" :model="form" ref="uForm" labelPosition="left">
  39. <view class="title-box">
  40. <view class="line"></view>
  41. <view class="title">请描述您的病情</view>
  42. </view>
  43. <view class="form">
  44. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="描述您的病情" prop="title">
  45. <u--textarea maxlength="500" v-model="form.title" placeholder="请输入内容" count ></u--textarea>
  46. </u-form-item>
  47. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="正在服用药品" prop="drugs">
  48. <u--textarea maxlength="500" v-model="form.drugs" placeholder="请输入内容" count ></u--textarea>
  49. </u-form-item>
  50. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="本次患病多久了" prop="duration">
  51. <u-radio-group
  52. v-model="form.duration"
  53. iconPlacement="left">
  54. <u-radio :customStyle="{marginRight: '5px'}"
  55. v-for="(item, index) in durations"
  56. :key="index"
  57. :label="item.name"
  58. :name="item.name" activeColor="#C39A58"
  59. ></u-radio>
  60. </u-radio-group>
  61. </u-form-item>
  62. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="此次病情是否去医院就诊过" prop="isVisit">
  63. <u-radio-group
  64. v-model="form.isVisit"
  65. iconPlacement="left">
  66. <u-radio :customStyle="{marginRight: '5px'}"
  67. v-for="(item, index) in isVisits"
  68. :key="index"
  69. :label="item.name"
  70. :name="item.name" activeColor="#C39A58"
  71. ></u-radio>
  72. </u-radio-group>
  73. </u-form-item>
  74. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="上传检测报告或患处照片" >
  75. <view class="form-item">
  76. <view class="icon"></view>
  77. <u-upload
  78. :fileList="fileList1"
  79. @afterRead="afterRead"
  80. @delete="deletePic"
  81. name="1"
  82. multiple
  83. :maxCount="4"
  84. >
  85. </u-upload>
  86. </view>
  87. </u-form-item>
  88. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="上传舌苔照片" >
  89. <view class="form-item">
  90. <image @click="showImg(1)" class="icon" src="/static/images/question.png"></image>
  91. <u-upload
  92. :fileList="fileList2"
  93. @afterRead="afterRead"
  94. @delete="deletePic"
  95. name="2"
  96. multiple
  97. :maxCount="4"
  98. >
  99. </u-upload>
  100. </view>
  101. </u-form-item>
  102. <u-form-item :required="true" labelWidth="200rpx" label="上传面部照片" >
  103. <view class="form-item">
  104. <image @click="showImg(2)" class="icon" src="/static/images/question.png"></image>
  105. <u-upload
  106. :fileList="fileList3"
  107. @afterRead="afterRead"
  108. @delete="deletePic"
  109. name="3"
  110. multiple
  111. :maxCount="4"
  112. >
  113. </u-upload>
  114. </view>
  115. </u-form-item>
  116. </view>
  117. <view class="title-box">
  118. <view class="line"></view>
  119. <view class="title">您的头面部健康状况自我检查</view>
  120. </view>
  121. <view class="form">
  122. <view class="option-box">
  123. <view class="option-item" v-for="(item,index) in temps" >
  124. <view v-if="item.tempType==1" class="title">{{index+1}} {{item.title}}</view>
  125. <view class="options">
  126. <u-checkbox-group
  127. v-if="item.tempType==1"
  128. v-model="item.checks"
  129. placement="column"
  130. >
  131. <u-checkbox
  132. size="28"
  133. shape="circle"
  134. activeColor="#C39A58"
  135. v-for="(option, subIndex) in item.options"
  136. :key="option.name"
  137. :label="option.name"
  138. :name="option.name"
  139. >
  140. </u-checkbox>
  141. </u-checkbox-group>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="title-box">
  147. <view class="line"></view>
  148. <view class="title">您的四肢肩颈健康状况自我检查</view>
  149. </view>
  150. <view class="form">
  151. <view class="option-box">
  152. <view class="option-item" v-for="(item,index) in temps" >
  153. <view v-if="item.tempType==2" class="title">{{index+1}} {{item.title}}</view>
  154. <view class="options">
  155. <u-checkbox-group
  156. v-if="item.tempType==2"
  157. v-model="item.checks"
  158. placement="column"
  159. >
  160. <u-checkbox
  161. size="28"
  162. shape="circle"
  163. activeColor="#C39A58"
  164. v-for="(option, subIndex) in item.options"
  165. :key="option.name"
  166. :label="option.name"
  167. :name="option.name"
  168. >
  169. </u-checkbox>
  170. </u-checkbox-group>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. <view class="title-box">
  176. <view class="line"></view>
  177. <view class="title">您的胸腹部健康状况自我检查</view>
  178. </view>
  179. <view class="form">
  180. <view class="option-box">
  181. <view class="option-item" v-for="(item,index) in temps" >
  182. <view v-if="item.tempType==3" class="title">{{index+1}} {{item.title}}</view>
  183. <view class="options">
  184. <u-checkbox-group
  185. v-if="item.tempType==3"
  186. v-model="item.checks"
  187. placement="column"
  188. >
  189. <u-checkbox
  190. size="28"
  191. shape="circle"
  192. activeColor="#C39A58"
  193. v-for="(option, subIndex) in item.options"
  194. :key="option.name"
  195. :label="option.name"
  196. :name="option.name"
  197. >
  198. </u-checkbox>
  199. </u-checkbox-group>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="title-box">
  205. <view class="line"></view>
  206. <view class="title">其他身体状况自我检查</view>
  207. </view>
  208. <view class="form">
  209. <view class="option-box">
  210. <view class="option-item" v-for="(item,index) in temps" >
  211. <view v-if="item.tempType==4" class="title">{{index+1}} {{item.title}}</view>
  212. <view class="options">
  213. <u-checkbox-group
  214. v-if="item.tempType==4"
  215. v-model="item.checks"
  216. placement="column"
  217. >
  218. <u-checkbox
  219. size="28"
  220. shape="circle"
  221. activeColor="#C39A58"
  222. v-for="(option, subIndex) in item.options"
  223. :key="option.name"
  224. :label="option.name"
  225. :name="option.name"
  226. >
  227. </u-checkbox>
  228. </u-checkbox-group>
  229. </view>
  230. </view>
  231. </view>
  232. </view>
  233. </u-form>
  234. </view>
  235. </view>
  236. <view class="btn-box">
  237. <view class="btn" @click="submitOrder()">提交订单</view>
  238. </view>
  239. </view>
  240. </template>
  241. <script>
  242. import {bindCompanyUser} from '@/api/companyUser.js'
  243. import {create,confirm,getInquiryTemp} from '@/api/inquiryOrder.js'
  244. export default {
  245. data() {
  246. return {
  247. companyId:null,
  248. companyUserId:null,
  249. temps:[],
  250. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  251. orderKey:null,
  252. patient:null,
  253. durations: [
  254. {
  255. name: '一周内',
  256. disabled: false
  257. },
  258. {
  259. name: '一个月内',
  260. disabled: false
  261. },
  262. {
  263. name: '半年内',
  264. disabled: false
  265. }, {
  266. name: '半年以上',
  267. disabled: false
  268. }
  269. ],
  270. isVisits: [
  271. {
  272. name: '未就诊',
  273. disabled: false
  274. },
  275. {
  276. name: '就诊过',
  277. disabled: false
  278. }
  279. ],
  280. form:{
  281. title:"",
  282. drug:"",
  283. isVisit:"就诊过",
  284. duration:"一周内",
  285. },
  286. rules: {
  287. title: [
  288. {
  289. required: true,
  290. message: '请输入您的病情',
  291. // 可以单个或者同时写两个触发验证方式
  292. trigger: ['change','blur'],
  293. }
  294. ],
  295. drugs: [
  296. {
  297. required: true,
  298. message: '请输入正在服用药品',
  299. // 可以单个或者同时写两个触发验证方式
  300. trigger: ['change','blur'],
  301. }
  302. ],
  303. durations: [
  304. {
  305. required: true,
  306. message: '请选择本次患病多久',
  307. // 可以单个或者同时写两个触发验证方式
  308. trigger: ['change','blur'],
  309. }
  310. ],
  311. isVisit: [
  312. {
  313. required: true,
  314. message: '请选择是否去医院就诊过',
  315. // 可以单个或者同时写两个触发验证方式
  316. trigger: ['change','blur'],
  317. }
  318. ],
  319. },
  320. inquiryType:null,
  321. inquirySubType:null,
  322. orderType:null,
  323. doctorId:null,
  324. fileList1: [],
  325. fileList2: [],
  326. fileList3: [],
  327. isShare:null
  328. }
  329. },
  330. onLoad(options) {
  331. if(!this.$isEmpty(options.isShare)){
  332. this.isShare=options.isShare
  333. }
  334. else{
  335. uni.hideShareMenu()
  336. }
  337. console.log(options)
  338. if(!this.$isEmpty(options.companyId)){
  339. this.companyId=options.companyId
  340. }
  341. if(!this.$isEmpty(options.companyUserId)){
  342. this.companyUserId=options.companyUserId
  343. }
  344. console.log(this.companyId)
  345. console.log(this.companyUserId)
  346. this.inquiryType=options.inquiryType;
  347. this.inquirySubType=options.inquirySubType;
  348. this.orderType=options.orderType;
  349. this.doctorId=options.doctorId;
  350. console.log(this.inquiryType)
  351. console.log(this.orderType)
  352. console.log(this.doctorId)
  353. this.getInquiryTemp();
  354. },
  355. onShow() {
  356. if(this.$isLogin()){
  357. if(!this.$isEmpty(this.companyUserId)){
  358. let data = {companyUserId:this.companyUserId};
  359. bindCompanyUser(data).then(
  360. res => {
  361. if(res.code==200){
  362. }
  363. },
  364. rej => {}
  365. );
  366. }
  367. }
  368. var that=this;
  369. uni.$on('refreshOrderPatient', (res) => {
  370. that.patient=res
  371. })
  372. this.confirm();
  373. },
  374. onReady() {
  375. this.$refs.uForm.setRules(this.rules);
  376. },
  377. onShareAppMessage(res) {
  378. //禁止二次转发--
  379. uni.showShareMenu({
  380. withShareTicket: true
  381. });
  382. wx.updateShareMenu({
  383. isPrivateMessage: true,
  384. withShareTicket: false,
  385. success(res) {
  386. console.log('updateShareMenu: ', res);
  387. },
  388. fail() {}
  389. }); //禁止二次转发--end
  390. return {
  391. title: "御君方互联网医院--健康会诊",
  392. path: "/pages_order/inquiryForm2_2?inquiryType=2&orderType=2&inquirySubType="+this.inquirySubType+"&companyId="+this.companyId+"&companyUserId="+this.companyUserId
  393. }
  394. },
  395. methods: {
  396. leftClick() {
  397. console.log('leftClick');
  398. uni.showModal({
  399. title: '提示',
  400. content: '确认关闭吗',
  401. success: function (res) {
  402. if (res.confirm) {
  403. uni.navigateBack()
  404. } else if (res.cancel) {
  405. }
  406. }
  407. });
  408. },
  409. showImg(type){
  410. if(type==1){
  411. var imgs=[
  412. "https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/0640bd4b80ba4491842b9d20d7238616.png"
  413. ];
  414. uni.previewImage({
  415. current: 0,
  416. urls: imgs
  417. });
  418. }
  419. else if(type==2){
  420. var imgs=[
  421. "https://fs-1319721001.cos.ap-chongqing.myqcloud.com/fs/20240229/2c9f24e5c3fc458f8bcb30a4fb0619be.png"
  422. ];
  423. uni.previewImage({
  424. current: 0,
  425. urls: imgs
  426. });
  427. }
  428. },
  429. getInquiryTemp(){
  430. let data = {};
  431. getInquiryTemp(data).then(
  432. res => {
  433. if(res.code==200){
  434. this.temps=res.data;
  435. this.temps.forEach(function(element) {
  436. element.options=JSON.parse(element.itemJson)
  437. });
  438. // this.temps1=temps.filter((item) => {
  439. // return item.tempType==1;
  440. // });
  441. // this.temps2=temps.filter((item) => {
  442. // return item.tempType==2;
  443. // });
  444. // this.temps3=temps.filter((item) => {
  445. // return item.tempType==3;
  446. // });
  447. // this.temps4=temps.filter((item) => {
  448. // return item.tempType==4;
  449. // });
  450. console.log(this.temps1)
  451. }
  452. },
  453. rej => {}
  454. );
  455. },
  456. submitOrder(){
  457. if(this.patient==null){
  458. uni.showToast({
  459. icon:'none',
  460. title: '请选择就诊人',
  461. });
  462. return;
  463. }
  464. if(this.orderKey==null){
  465. this.confirm();
  466. }
  467. var reportImages=[];
  468. this.fileList1.forEach(function(element) {
  469. reportImages.push(element.url)
  470. });
  471. var tongueImages=[];
  472. this.fileList2.forEach(function(element) {
  473. tongueImages.push(element.url)
  474. });
  475. var faceImages=[];
  476. this.fileList3.forEach(function(element) {
  477. faceImages.push(element.url)
  478. });
  479. var forms=[];
  480. this.temps.forEach(function(element) {
  481. var item={
  482. title:element.title,
  483. option:element.checks,
  484. }
  485. forms.push(item)
  486. });
  487. var that=this;
  488. this.$refs.uForm.validate().then(res => {
  489. var data={
  490. companyId:that.companyId,
  491. companyUserId:that.companyUserId,
  492. orderKey:this.orderKey,
  493. patientId:this.patient.patientId,
  494. title:this.form.title,
  495. drugs:this.form.drugs,
  496. isVisit:this.form.isVisit,
  497. duration:this.form.duration,
  498. inquiryType:this.inquiryType,
  499. inquirySubType:this.inquirySubType,
  500. orderType:this.orderType,
  501. doctorId:this.doctorId,
  502. reportImages:reportImages.toString(),
  503. tongueImages:tongueImages.toString(),
  504. faceImages:faceImages.toString(),
  505. formJson:JSON.stringify(forms)
  506. }
  507. uni.showLoading({
  508. title: '正在处理中...'
  509. });
  510. create(data).then(
  511. res => {
  512. uni.hideLoading()
  513. if(res.code==200){
  514. var temps=['YyaBF62vH1GPKY0tume8C2C5UETxcKrVsaTKdBW5eok']
  515. uni.requestSubscribeMessage({
  516. tmplIds: temps,
  517. success(e) {
  518. setTimeout(function(){
  519. uni.redirectTo({
  520. url: './inquiryPay?orderId='+res.order.orderId
  521. })
  522. },200);
  523. },
  524. fail(e) {
  525. setTimeout(function(){
  526. uni.redirectTo({
  527. url: './inquiryPay?orderId='+res.order.orderId
  528. })
  529. },200);
  530. }
  531. })
  532. return;
  533. }
  534. else{
  535. uni.showToast({
  536. icon:'none',
  537. title: res.msg,
  538. });
  539. }
  540. },
  541. rej => {}
  542. );
  543. }).catch(errors => {
  544. })
  545. },
  546. confirm(){
  547. let data = {};
  548. confirm(data).then(
  549. res => {
  550. if(res.code==200){
  551. this.orderKey=res.orderKey
  552. }
  553. },
  554. rej => {}
  555. );
  556. },
  557. addPatient(){
  558. uni.navigateTo({
  559. url: '/pages_user/patient'
  560. })
  561. },
  562. deletePic(event) {
  563. this[`fileList${event.name}`].splice(event.index, 1)
  564. },
  565. async afterRead(event) {
  566. // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
  567. let lists = [].concat(event.file)
  568. let fileListLen = this[`fileList${event.name}`].length
  569. lists.map((item) => {
  570. this[`fileList${event.name}`].push({
  571. ...item,
  572. status: 'uploading',
  573. message: '上传中'
  574. })
  575. })
  576. for (let i = 0; i < lists.length; i++) {
  577. const result = await this.uploadFilePromise(lists[i].url)
  578. let item = this[`fileList${event.name}`][fileListLen]
  579. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  580. status: 'success',
  581. message: '',
  582. url: result
  583. }))
  584. fileListLen++
  585. }
  586. },
  587. uploadFilePromise(url) {
  588. return new Promise((resolve, reject) => {
  589. let a = uni.uploadFile({
  590. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS', // 仅为示例,非真实的接口地址
  591. filePath: url,
  592. name: 'file',
  593. formData: {
  594. user: 'test'
  595. },
  596. success: (res) => {
  597. setTimeout(() => {
  598. console.log(JSON.parse(res.data).url)
  599. resolve(JSON.parse(res.data).url)
  600. }, 1000)
  601. }
  602. });
  603. })
  604. }
  605. }
  606. }
  607. </script>
  608. <style lang="scss">
  609. page{
  610. background: #f1f6fc;
  611. }
  612. </style>
  613. <style scoped lang="scss">
  614. .content{
  615. position: relative;
  616. .main{
  617. margin-top: 44px;
  618. .cont{
  619. padding: 0rpx 0rpx 160rpx;
  620. .title-box{
  621. margin: 15rpx;
  622. display: flex;
  623. flex-direction: row;
  624. align-items: center;
  625. justify-content: flex-start;
  626. .title{
  627. font-size: 32upx;
  628. font-family: PingFang SC;
  629. font-weight: bold;
  630. color: #111111;
  631. }
  632. .line{
  633. margin-right: 15rpx;
  634. height: 30rpx;
  635. width: 6rpx;
  636. background-color: #C39A58;
  637. }
  638. }
  639. .form{
  640. border-radius: 15rpx;
  641. margin: 0rpx 15rpx;
  642. padding: 0rpx 30rpx;
  643. background-color: #fff;
  644. .option-box{
  645. padding: 15rpx;
  646. .option-item{
  647. .title{
  648. font-size: 32upx;
  649. font-family: PingFang SC;
  650. font-weight: bold;
  651. color: #111111;
  652. }
  653. .options{
  654. }
  655. }
  656. }
  657. }
  658. }
  659. .chose-patient{
  660. margin: 15rpx;
  661. padding: 30rpx 40rpx;
  662. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  663. background-color: #fff;
  664. border-radius: 15rpx;
  665. .title-box{
  666. display: flex;
  667. align-items: center;
  668. justify-content: space-between;
  669. .title{
  670. font-size: 32upx;
  671. font-family: PingFang SC;
  672. font-weight: bold;
  673. color: #111111;
  674. }
  675. .right{
  676. height: 100%;
  677. display: flex;
  678. align-items: center;
  679. justify-content: center;
  680. .value{
  681. font-size: 28upx;
  682. font-family: PingFang SC;
  683. color: #999;
  684. margin-right: 10rpx;
  685. }
  686. image{
  687. width: 15upx;
  688. height: 30upx;
  689. }
  690. }
  691. }
  692. .patient{
  693. display: flex;
  694. align-items: center;
  695. justify-content: space-between;
  696. height: 110upx;
  697. .left{
  698. .name{
  699. font-size: 30upx;
  700. line-height: 1;
  701. font-family: PingFang SC;
  702. font-weight: bold;
  703. color: #111111;
  704. }
  705. .info{
  706. margin-top: 30rpx;
  707. display: flex;
  708. align-items: center;
  709. .text{
  710. font-size: 26upx;
  711. font-family: PingFang SC;
  712. line-height: 1;
  713. font-weight: 500;
  714. color: #999;
  715. margin-right: 19upx;
  716. }
  717. }
  718. }
  719. .right{
  720. display: flex;
  721. align-items: center;
  722. image{
  723. width: 15upx;
  724. height: 30upx;
  725. }
  726. }
  727. }
  728. }
  729. }
  730. .btn-box{
  731. height: 140upx;
  732. z-index: 9999;
  733. width: 100%;
  734. padding: 0rpx 30upx;
  735. position: fixed;
  736. bottom: 0;
  737. left: 0;
  738. box-sizing: border-box;
  739. background-color: #ffffff;
  740. display: flex;
  741. align-items: center;
  742. justify-content: center;
  743. .btn{
  744. width: 100%;
  745. height: 88upx;
  746. line-height: 88upx;
  747. text-align: center;
  748. font-size: 34upx;
  749. font-family: PingFang SC;
  750. font-weight: 400;
  751. color: #FFFFFF;
  752. background: #C39A58;
  753. border-radius: 10upx;
  754. }
  755. }
  756. }
  757. .form-item{
  758. display: flex;
  759. align-items: center;
  760. justify-content: flex-start;
  761. .icon{
  762. min-width: 30rpx;
  763. margin-right: 15rpx;
  764. width: 30rpx;
  765. height:30rpx;
  766. }
  767. }
  768. </style>