From 89efee9a2e20fc04b4537d859917b47cf68a814c Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期五, 26 九月 2025 18:28:40 +0800 Subject: [PATCH] 用户行为分享基础埋点 --- pages/news/detail.vue | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/news/detail.vue b/pages/news/detail.vue index ceabba6..08bec07 100644 --- a/pages/news/detail.vue +++ b/pages/news/detail.vue @@ -20,7 +20,7 @@ <scroll-view scroll-y class="content-wrapper"> <rich-text :nodes="formatContent(detailData.content)" - class="content" + class="rich-content" ></rich-text> </scroll-view> </template> @@ -121,6 +121,7 @@ padding: 30rpx; min-height: 100vh; background-color: #f8f8f8; + } .loading-container { @@ -164,15 +165,7 @@ } } } - -.content-wrapper { - background-color: #fff; - border-radius: 16rpx; - padding: 30rpx; - box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05); - height: calc(100vh - 300rpx); - - .content { + .rich-content { font-size: 30rpx; line-height: 1.8; color: #333; @@ -208,5 +201,12 @@ margin: 20rpx 0; } } +.content-wrapper { + background-color: #fff; + border-radius: 16rpx; + padding: 30rpx; + box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.05); + height: calc(100vh - 300rpx); + box-sizing: border-box; } </style> \ No newline at end of file -- Gitblit v1.8.0