添加了详情页按钮和我的页面功能

This commit is contained in:
Abin committed 2026-01-12 18:19:05 +08:00
1 parent 66ba21dd7b
commit 0460178749
5 files changed
+108 -70

No files matched your search

@@ -1,2 +1,8 @@
<!--pages/IndexNewCourseDetails/IndexNewCourseDetails.wxml-->
<Parser html="{{html}}">加载中...</Parser>
<Parser html="{{html}}">加载中...</Parser>
<view class="fixed-btn-wrapper">
<button class="DianJiXiangQing1" open-type="contact" bindcontact="handleContact">
<text class="DianJiXiangQing2">点击获取详情</text>
</button>
</view>
@@ -1 +1,19 @@
/* pages/IndexNewCourseDetails/IndexNewCourseDetails.wxss */
/* pages/IndexNewCourseDetails/IndexNewCourseDetails.wxss */
.fixed-btn-wrapper {
position: fixed;
left: 20rpx;
right: 20rpx;
bottom: 40rpx;
border-radius: 50rpx;
overflow: hidden;
z-index: 999;
}
.DianJiXiangQing1 {
width: 100%;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 0; /* 内部 button 不需要圆角 */
height: 100rpx;
line-height: 80rpx;
}