Shan9312 пре 2 месеци
родитељ
комит
7818d63b58
3 измењених фајлова са 14 додато и 12 уклоњено
  1. 2 1
      env/.env
  2. 1 4
      src/pages/disease/disease.vue
  3. 11 7
      src/pages/treatMent/treatMent.vue

+ 2 - 1
env/.env

@@ -10,7 +10,8 @@ VITE_APP_PUBLIC_BASE= /unibest/
 # VITE_SERVER_BASEURL = 'http://kpttest.kptyun.com'
 VITE_SERVER_BASEURL = 'http://192.168.1.244:8091'
 # VITE_SERVER_BASEURL = 'https://ukw0y1.laf.run' 
-VITE_UPLOAD_BASEURL = 'https://ukw0y1.laf.run/upload'
+VITE_UPLOAD_BASEURL ='http://tmrwatch.cn:8082/authdata/uploaderimage' 
+# // 'https://ukw0y1.laf.run/upload'
 
 # h5是否需要配置代理
 VITE_APP_PROXY='true'

+ 1 - 4
src/pages/disease/disease.vue

@@ -49,7 +49,7 @@ import { reactive, ref } from 'vue'
 import { useDiseaseStore } from '@/store'
 
 defineOptions({
-  name: 'Terat',
+  name: 'Disease',
 })
 
 // pina 管里
@@ -81,8 +81,6 @@ const diseaseCategories = ref([
   },
 ])
 
-
-
 const handleSelect = (ids) => {
   selectSubIds.value = ids.value
   diseaseStore.setSelectedSubCategoryIds(selectSubIds.value)
@@ -96,7 +94,6 @@ const submitSelection = () => {
 }
 
 // 二位数组拍平转一数组
-function handleChoose{}
 
 let serchObj = reactive({
   searchNum: '',

+ 11 - 7
src/pages/treatMent/treatMent.vue

@@ -5,10 +5,11 @@
 </route>
 
 <template>
-  <view class="text-center">
+  <view class="container">
     <view>
       <!-- 卡片 -->
-      <view class="mx-2 rpx-2 left card">
+      <view class="mx-2 left card">
+        <view class="center mb-3">处方名字</view>
         <view>
           方案名称:
           <text class="not">治疗感冒</text>
@@ -57,14 +58,19 @@ defineOptions({
 
 <style lang="scss" scoped>
 //
+.container {
+  padding-top: 10rpx;
+}
 .card {
   display: flex;
   flex-direction: column;
   padding: 20rpx;
   margin: 20rpx;
+  font-size: 28rpx;
+  color: #333;
   text-align: left;
   background-color: #fff;
-  border-radius: 10rpx;
+  border-radius: 20rpx;
   box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.1);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
 }
@@ -76,13 +82,11 @@ defineOptions({
 
 .not {
   padding-left: 6rpx;
-  font-size: 26rpx;
-  color: #333;
 }
 .card-title {
   margin-bottom: 10rpx;
-  font-size: 18rpx;
-  font-weight: bold;
+  font-size: 28rpx;
+  // font-weight: bold;
   color: #333;
 }
 .card-selected {