接入资料修改接口

This commit is contained in:
Abin committed 2026-01-15 19:33:56 +08:00
1 parent fa76d2624d
commit ac773fc1d3
6 files changed
+122 -40

No files matched your search

@@ -2,7 +2,9 @@
<Parser html="{{html}}">加载中...</Parser>
<view class="fixed-btn-wrapper">
<button class="DianJiXiangQing1" open-type="contact" bindcontact="handleContact">
<text class="DianJiXiangQing2">点击获取详情</text>
</button>
<view class="btn-group">
<button class="DianJiXiangQing1" open-type="contact" bindcontact="handleContact">
<text class="DianJiXiangQing2">咨询客服</text>
</button>
</view>
</view>
@@ -1,19 +1,46 @@
/* pages/IndexNewCourseDetails/IndexNewCourseDetails.wxss */
@keyframes breathe {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(0.95);
}
}
.fixed-btn-wrapper {
position: fixed;
left: 20rpx;
right: 20rpx;
bottom: 40rpx;
border-radius: 50rpx;
overflow: hidden;
left: 0;
right: 0;
bottom: 60rpx;
padding: 0 20rpx; /* 调整为左右边距 */
display: flex;
justify-content: center; /* 水平居中 */
z-index: 999;
}
.DianJiXiangQing1 {
.btn-group {
display: flex;
width: 100%;
max-width: 700rpx;
justify-content: space-between;
}
.DianJiXiangQing1 {
flex: 1;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 0; /* 内部 button 不需要圆角 */
height: 100rpx;
line-height: 80rpx;
margin: 0 10rpx;
border-radius: 45rpx;
height: 90rpx;
display: flex;
justify-content: center;
align-items: center;
animation: breathe 1s linear infinite;
}
.DianJiXiangQing2 {
font-size: 30rpx;
}