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

This commit is contained in:
Abin
2026-01-12 18:19:05 +08:00
parent 66ba21dd7b
commit 0460178749
5 changed files with 108 additions and 70 deletions
@@ -1,2 +1,8 @@
<!--pages/IndexNewCourseDetails/IndexNewCourseDetails.wxml-->
<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 */
.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;
}
+15
View File
@@ -47,6 +47,21 @@
<text class="jiantou"> > </text>
</button>
<button class="functions2" open-type="contact" bindcontact="handleContact">
<text class="zuobianwenzi">联系客服</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" bind:tap="showdialog3">
<text class="zuobianwenzi">点击复制微信:YelayMaths</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" bind:tap="showdialog4">
<text class="zuobianwenzi">分享给朋友</text>
<text class="jiantou"> > </text>
</button>
<!-- 功能暂不开放 -->
<!-- <button class="functions2" bind:tap="function2_01">
<text class="zuobianwenzi">成员管理</text>
+15 -3
View File
@@ -1,6 +1,6 @@
{
"compileType": "miniprogram",
"libVersion": "trial",
"libVersion": "3.7.12",
"packOptions": {
"ignore": [],
"include": []
@@ -23,12 +23,24 @@
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"minifyWXSS": true,
"minifyWXML": true,
"localPlugins": false,
"disableUseStrict": false,
"useCompilerPlugins": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"condition": {},
"editorSetting": {
"tabIndent": "auto",
"tabSize": 2
},
"appid": "wx3fbaf897825bf04f"
"appid": "wx3fbaf897825bf04f",
"simulatorPluginLibVersion": {}
}
+16 -29
View File
@@ -1,36 +1,23 @@
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "yelaymaths",
"projectname": "YelayMaths",
"setting": {
"compileHotReLoad": true,
"urlCheck": true
},
"condition": {
"miniprogram": {
"list": [
{
"name": "pages/LoginOrOutDetails/LoginOrOutDetails",
"pathName": "pages/LoginOrOutDetails/LoginOrOutDetails",
"query": "IsLogin=undefined",
"launchMode": "default",
"scene": null
},
{
"name": "pages/wode/wode",
"pathName": "pages/wode/wode",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "pages/SetPasswordCode/SetPasswordCode",
"pathName": "pages/SetPasswordCode/SetPasswordCode",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
"urlCheck": true,
"coverView": true,
"lazyloadPlaceholderEnable": false,
"skylineRenderEnable": false,
"preloadBackgroundData": false,
"autoAudits": false,
"useApiHook": true,
"showShadowRootInWxmlPanel": true,
"useStaticServer": false,
"useLanDebug": false,
"showES6CompileOption": false,
"checkInvalidKey": true,
"ignoreDevUnusedFiles": true,
"bigPackageSizeSupport": false
},
"condition": {},
"libVersion": "3.7.12"
}