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

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--> <!--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;
}
+15
View File
@@ -47,6 +47,21 @@
<text class="jiantou"> > </text> <text class="jiantou"> > </text>
</button> </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"> <!-- <button class="functions2" bind:tap="function2_01">
<text class="zuobianwenzi">成员管理</text> <text class="zuobianwenzi">成员管理</text>
+45 -33
View File
@@ -1,34 +1,46 @@
{ {
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "trial", "libVersion": "3.7.12",
"packOptions": { "packOptions": {
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"setting": { "setting": {
"coverView": true, "coverView": true,
"es6": true, "es6": true,
"postcss": true, "postcss": true,
"minified": true, "minified": true,
"enhance": true, "enhance": true,
"showShadowRootInWxmlPanel": true, "showShadowRootInWxmlPanel": true,
"packNpmManually": true, "packNpmManually": true,
"packNpmRelationList": [ "packNpmRelationList": [
{ {
"packageJsonPath": "./package.json", "packageJsonPath": "./package.json",
"miniprogramNpmDistDir": "./" "miniprogramNpmDistDir": "./"
} }
], ],
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
} },
}, "compileWorklet": false,
"condition": {}, "uglifyFileName": false,
"editorSetting": { "uploadWithSourceMap": true,
"tabIndent": "auto", "minifyWXSS": true,
"tabSize": 2 "minifyWXML": true,
}, "localPlugins": false,
"appid": "wx3fbaf897825bf04f" "disableUseStrict": false,
"useCompilerPlugins": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"condition": {},
"editorSetting": {
"tabIndent": "auto",
"tabSize": 2
},
"appid": "wx3fbaf897825bf04f",
"simulatorPluginLibVersion": {}
} }
+22 -35
View File
@@ -1,36 +1,23 @@
{ {
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "yelaymaths", "projectname": "YelayMaths",
"setting": { "setting": {
"compileHotReLoad": true, "compileHotReLoad": true,
"urlCheck": true "urlCheck": true,
}, "coverView": true,
"condition": { "lazyloadPlaceholderEnable": false,
"miniprogram": { "skylineRenderEnable": false,
"list": [ "preloadBackgroundData": false,
{ "autoAudits": false,
"name": "pages/LoginOrOutDetails/LoginOrOutDetails", "useApiHook": true,
"pathName": "pages/LoginOrOutDetails/LoginOrOutDetails", "showShadowRootInWxmlPanel": true,
"query": "IsLogin=undefined", "useStaticServer": false,
"launchMode": "default", "useLanDebug": false,
"scene": null "showES6CompileOption": false,
}, "checkInvalidKey": true,
{ "ignoreDevUnusedFiles": true,
"name": "pages/wode/wode", "bigPackageSizeSupport": false
"pathName": "pages/wode/wode", },
"query": "", "condition": {},
"launchMode": "default", "libVersion": "3.7.12"
"scene": null
},
{
"name": "pages/SetPasswordCode/SetPasswordCode",
"pathName": "pages/SetPasswordCode/SetPasswordCode",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
},
"libVersion": "3.7.12"
} }