From bae56a147be85be57ad1c64e9766c9aca750d187 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 04 三月 2025 16:04:12 +0800 Subject: [PATCH] 2025-03-04 --- src/views/successCase/caseDetail.vue | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/views/successCase/caseDetail.vue b/src/views/successCase/caseDetail.vue index 62ed8cf..561133a 100644 --- a/src/views/successCase/caseDetail.vue +++ b/src/views/successCase/caseDetail.vue @@ -8,7 +8,7 @@ <div v-if="item.TypeCharOne === 'WLongText'"> <div class="content_title"><span v-if="item.Title1" v-text="item.Title1"></span></div> <div v-for="(cell, i) in item.subs" :key="i"> - <div class="content_title_p" v-if="cell.type === 'text'" style="margin: .4rem auto .1rem;" v-text="cell.value"></div> + <div class="content_title_p" v-if="cell.type === 'text'" style="margin: .1rem auto .1rem;" :style="!i && 'margin-top: 0.4rem;'" v-text="cell.value"></div> <div class="content-img" v-else-if="cell.type === 'img'"><img :src="cell.value" alt=""></div> </div> </div> @@ -84,12 +84,15 @@ }, methods: { jumpmenu (menu) { - this.$router.push({name: menu.PageType.toLowerCase(), params: {menuId: menu.ID}}) + let _menuId = menu.ID + _menuId = _menuId + '.html' + + this.$router.push({name: menu.PageType.toLowerCase(), params: {menuId: _menuId}}) }, load () { let param = { func: 'Web_productCenter_GetData', - ID: this.menuId + ID: this.menuId.replace('.html', '') } this.Service.getParamData(param).then(res => { this.url = res.Image1 @@ -184,10 +187,13 @@ margin: .4rem auto 0; } @media (max-width: 750px) and (min-width: 0){ - .banner img { - max-width: none; - width: 140%; - margin-left: -20%; + .banner { + margin-top: 1.13rem; + img { + max-width: none; + width: 140%; + margin-left: -20%; + } } .three_box{ margin: 0.4rem 0.3rem 0.8rem; @@ -240,11 +246,10 @@ .content_title,.content_title_p{ width: 100%; box-sizing: border-box; - padding: 0.6rem .43rem 0; + padding: 0.2rem .43rem 0; } - .content-img{ + .content-img { width: 100%; - height: 3.5rem; } .project{ background: #f9f9f9; @@ -257,7 +262,7 @@ display: flex; padding: .34rem 0; dl { - width: 25%; + flex: 1; dt { width: .8rem; height: .8rem; @@ -517,7 +522,7 @@ display: flex; margin: .2rem 0; dl { - margin-right: .8rem; + flex: 1; dt { width: .94rem; height: .94rem; @@ -528,7 +533,6 @@ } } dd { - width: 1.8rem; text-align: center; padding-top: .07rem; } -- Gitblit v1.8.0