diff --git a/src/assets/css/index.css b/src/assets/css/index.css index f128908..f45dec4 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -43,8 +43,8 @@ body { /* 模块化背景色及透明度 */ .background-opacity { - /*background: var(--background);*/ - /*opacity: 0.88;*/ + background-color: var(--background); + opacity: 0.88; } .my-el-image { diff --git a/src/components/index.vue b/src/components/index.vue index 104cc9f..34a8464 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -73,7 +73,7 @@
- +
@@ -88,13 +88,11 @@ - - - - - - - - - - - - -
-
+
{ diff --git a/src/components/myAside.vue b/src/components/myAside.vue index afe12ff..f0e8222 100644 --- a/src/components/myAside.vue +++ b/src/components/myAside.vue @@ -98,7 +98,7 @@ style="margin-top: 30px;padding: 25px 25px 5px;border-radius: 10px;animation: hideToShow 1s ease-in-out">
- 药品详情 + 药品简述
@@ -127,7 +127,8 @@
- {{ item.admire }}元 + + 500元
@@ -191,6 +192,10 @@ this.getAdmire(); }, methods: { + updateDrugName(drugName) { + this.drugName = drugName; + this.selectDrugDetails(); + }, selectDrugDetails(){ selectDetails(this.drugName).then(response => { this.drugDetails = response;