Merge remote-tracking branch 'origin/feature/feature-20250430-h5' into feature/feature-20250430-h5

This commit is contained in:
陈昱达
2025-05-28 15:09:22 +08:00
2 changed files with 5 additions and 15 deletions

View File

@@ -149,7 +149,7 @@ const router = createRouter({
title: '分享标题', title: '分享标题',
description: '分享副标题', description: '分享副标题',
thumbImageUrl: 'https://logo.png', thumbImageUrl: 'https://logo.png',
webpageUrl: window.location.href webpageUrl: window.location.href.replace('/ad/', '/share/')
}) })
); );
} }

View File

@@ -48,25 +48,16 @@ function handleButtonClick() {
</article> </article>
<section <section
v-if="bannerInfo?.is_display_button" v-if="bannerInfo?.is_display_button && !hasShare"
style=" style="margin-top: 20px; width: 100%; position: sticky; bottom: 10px"
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
left: 0;
bottom: 10px;
"
> >
<!-- 立即进入 --> <!-- 立即进入 -->
<el-button <el-button
v-if="hasShare" style="width: 100%; height: 50px; border-radius: 15px"
style="width: 95%; height: 50px; border-radius: 15px"
color="#70b937" color="#70b937"
@click="handleButtonClick" @click="handleButtonClick"
> >
<el-text style="color: white">{{ bannerInfo.button_name }}</el-text> <el-text style="color: white">{{ bannerInfo?.button_name }}</el-text>
</el-button> </el-button>
</section> </section>
</section> </section>
@@ -77,7 +68,6 @@ function handleButtonClick() {
.banner-container { .banner-container {
padding: $gap * 2; padding: $gap * 2;
margin-bottom: $gap * 6;
.msg-info { .msg-info {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
h2 { h2 {