Browse Source

修改bug

Jing 9 giờ trước cách đây
mục cha
commit
2432c4913c

+ 1 - 1
.nuxt/manifest/latest.json

@@ -1 +1 @@
-{"id":"0f416e61-3820-48db-970d-81dbcf093fc1","timestamp":1752199797724}
+{"id":"cc086619-7479-4e90-b1f8-ed7335b5c719","timestamp":1752634428946}

+ 0 - 1
.nuxt/manifest/meta/0f416e61-3820-48db-970d-81dbcf093fc1.json

@@ -1 +0,0 @@
-{"id":"0f416e61-3820-48db-970d-81dbcf093fc1","timestamp":1752199797724,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 1 - 0
.nuxt/manifest/meta/cc086619-7479-4e90-b1f8-ed7335b5c719.json

@@ -0,0 +1 @@
+{"id":"cc086619-7479-4e90-b1f8-ed7335b5c719","timestamp":1752634428946,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

+ 1 - 1
.nuxt/nuxt.d.ts

@@ -1,6 +1,6 @@
 // Generated by nuxi
-/// <reference types="@nuxt/telemetry" />
 /// <reference types="@nuxt/devtools" />
+/// <reference types="@nuxt/telemetry" />
 /// <reference path="types/builder-env.d.ts" />
 /// <reference types="nuxt" />
 /// <reference path="types/app-defaults.d.ts" />

+ 1 - 1
.nuxt/tsconfig.json

@@ -102,7 +102,7 @@
         "./imports"
       ],
       "#app-manifest": [
-        "./manifest/meta/0f416e61-3820-48db-970d-81dbcf093fc1.json"
+        "./manifest/meta/cc086619-7479-4e90-b1f8-ed7335b5c719.json"
       ],
       "#components": [
         "./components"

+ 3 - 5
assets/css/shukan.less

@@ -1,8 +1,6 @@
 @charset "utf-8";
 
 * {
-    margin: 0;
-    padding: 0;
     font-family: "微软雅黑", "microsoft yahei";
 }
 
@@ -121,7 +119,7 @@ section {
 .index_main {
     width: 1200px;
     margin: 0 auto;
-    margin-bottom: 222px;
+    margin-bottom: 30px;
 }
 
 .slow_6 {
@@ -254,7 +252,7 @@ section {
 }
 
 .book_1_img_ul {
-    height: 590px;
+    height: 640px;
 
     .book_1_img_li {
         width: 350px;
@@ -423,7 +421,7 @@ section {
 
 .book_2_img_ul {
     margin-top: 30px;
-    height: 530px;
+    height: 590px;
 }
 
 .book_2_img_li {

+ 6 - 6
pages/shukanyinxiangcheng/[dir]/[id].vue

@@ -21,14 +21,14 @@
                                 <div class="book_detail_price_box_in clearfix">
                                     <span class="book_detail_price_red">¥</span>
                                     <span class="book_detail_price_num"
-                                        v-if="newsDetail.price == '' || newsDetail.price != 0">
-                                        {{ newsDetail.price }}
+                                        v-if="newsDetail.market_price == '' || newsDetail.market_price != 0">
+                                        {{ newsDetail.market_price }}
                                     </span>
                                 </div>
                                 <span class="book_detail_price_text">市场价:</span>
                                 <span class="book_detail_price_delete"
-                                    v-if="newsDetail.market_price == '' || newsDetail.market_price != 0">
-                                    {{ newsDetail.market_price }}
+                                    v-if="newsDetail.price == '' || newsDetail.price != 0">
+                                    {{ newsDetail.price }}
                                 </span>
                             </div>
                             <div class="book_detail_right_ul clearfix">
@@ -218,7 +218,7 @@ onMounted(async () => {
     //从客户端获取行政职能部门 加快打开速度
     const { $webUrl, $CwebUrl } = useNuxtApp();
     //广告1
-    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_detail_0001`
+    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_detail_0001`
     const responseAd1 = await fetch(url, {
         headers: {
             'Content-Type': 'application/json',
@@ -230,7 +230,7 @@ onMounted(async () => {
     adImg1.value = resultAd1.data[0];
 
     //广告2
-    let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_detail_0002`
+    let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_detail_0002`
     const responseAd2 = await fetch(url2, {
         headers: {
             'Content-Type': 'application/json',

+ 2 - 2
pages/shukanyinxiangcheng/[dir]/list-[id].vue

@@ -230,7 +230,7 @@ onMounted(async () => {
     //从客户端获取行政职能部门 加快打开速度
     const { $webUrl, $CwebUrl } = useNuxtApp();
     //广告1
-    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_list_0001`
+    let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_list_0001`
     const responseAd1 = await fetch(url, {
         headers: {
             'Content-Type': 'application/json',
@@ -242,7 +242,7 @@ onMounted(async () => {
     adImg1.value = resultAd1.data[0];
 
     //广告2
-    let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_list_0002`
+    let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_list_0002`
     const responseAd2 = await fetch(url2, {
         headers: {
             'Content-Type': 'application/json',

+ 2 - 2
pages/shukanyinxiangcheng/index.html.vue

@@ -202,9 +202,9 @@
                                     <div class="book_5_img_li_dot2 dot2">{{ item.title }}</div>
                                     <div class="book_5_img_li_foot clearfix">
                                         <span class="book_5_img_li_foot_red">¥</span>
-                                        <span class="book_5_img_li_foot_num">{{ item.price }}</span>
+                                        <span class="book_5_img_li_foot_num">{{ item.market_price}}</span>
                                         <span class="book_5_img_li_foot_text">市场价:</span>
-                                        <span class="book_5_img_li_foot_price">¥{{ item.market_price }}</span>
+                                        <span class="book_5_img_li_foot_price">¥{{ item.price }}</span>
                                     </div>
                                 </div>
                             </NuxtLink>