diff --git a/app.json b/app.json index 3680440..719c66c 100644 --- a/app.json +++ b/app.json @@ -1,19 +1,22 @@ { - "pages":[ - "pages/goodsList/index", - "pages/home/index", - - "pages/login/index", - "pages/goodsDetail/index", - "pages/companyInfo/index", - "pages/index/index" - ], - "window":{ - "backgroundTextStyle":"light", - "navigationBarBackgroundColor": "#fff", - "navigationBarTitleText": "Weixin", - "navigationBarTextStyle":"black" - }, - "style": "v2", - "sitemapLocation": "sitemap.json" -} + "pages": [ + "pages/courseReservation/index", + "pages/companyPage/index", + "pages/courseDetail/index", + "pages/goodsDetail/index", + "pages/goodsList/index", + "pages/home/index", + "pages/login/index", + "pages/companyInfo/index", + "pages/index/index" + + ], + "window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "Weixin", + "navigationBarTextStyle": "black" + }, + "style": "v2", + "sitemapLocation": "sitemap.json" +} \ No newline at end of file diff --git a/images/book-icon.png b/images/book-icon.png new file mode 100644 index 0000000..9608a3e Binary files /dev/null and b/images/book-icon.png differ diff --git a/images/coursepage.png b/images/coursepage.png new file mode 100644 index 0000000..236b190 Binary files /dev/null and b/images/coursepage.png differ diff --git a/images/cy1.png b/images/cy1.png new file mode 100644 index 0000000..316b7b7 Binary files /dev/null and b/images/cy1.png differ diff --git a/images/cy2.png b/images/cy2.png new file mode 100644 index 0000000..2e2346d Binary files /dev/null and b/images/cy2.png differ diff --git a/images/cy3.png b/images/cy3.png new file mode 100644 index 0000000..a2f89dc Binary files /dev/null and b/images/cy3.png differ diff --git a/images/head.png b/images/head.png new file mode 100644 index 0000000..fb460c3 Binary files /dev/null and b/images/head.png differ diff --git a/images/lh-bottom.png b/images/lh-bottom.png new file mode 100644 index 0000000..c86c5d3 Binary files /dev/null and b/images/lh-bottom.png differ diff --git a/images/lh-ico.png b/images/lh-ico.png new file mode 100644 index 0000000..b7a085e Binary files /dev/null and b/images/lh-ico.png differ diff --git a/images/lh-top.png b/images/lh-top.png new file mode 100644 index 0000000..3b3033b Binary files /dev/null and b/images/lh-top.png differ diff --git a/images/lh.png b/images/lh.png new file mode 100644 index 0000000..2091fcc Binary files /dev/null and b/images/lh.png differ diff --git a/images/namebg.png b/images/namebg.png new file mode 100644 index 0000000..abf65d1 Binary files /dev/null and b/images/namebg.png differ diff --git a/images/address.png b/images/placeicon.png similarity index 100% rename from images/address.png rename to images/placeicon.png diff --git a/images/telbg.png b/images/telbg.png new file mode 100644 index 0000000..02d020f Binary files /dev/null and b/images/telbg.png differ diff --git a/images/user-icon.png b/images/user-icon.png new file mode 100644 index 0000000..2c6f336 Binary files /dev/null and b/images/user-icon.png differ diff --git a/images/yykc.png b/images/yykc.png new file mode 100644 index 0000000..7da7c4a Binary files /dev/null and b/images/yykc.png differ diff --git a/pages/companyPage/index.js b/pages/companyPage/index.js new file mode 100644 index 0000000..5150105 --- /dev/null +++ b/pages/companyPage/index.js @@ -0,0 +1,66 @@ +// pages/companyPage/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/companyPage/index.json b/pages/companyPage/index.json new file mode 100644 index 0000000..36bc204 --- /dev/null +++ b/pages/companyPage/index.json @@ -0,0 +1,7 @@ +{ + "usingComponents": {}, + "navigationBarBackgroundColor": "#343434", + "navigationBarTitleText": "公司介绍", + "navigationBarTextStyle": "white" + +} \ No newline at end of file diff --git a/pages/companyPage/index.wxml b/pages/companyPage/index.wxml new file mode 100644 index 0000000..472717a --- /dev/null +++ b/pages/companyPage/index.wxml @@ -0,0 +1,10 @@ + + + + + + + 全国咨询热线 + 400-631-8531 + + diff --git a/pages/companyPage/index.wxss b/pages/companyPage/index.wxss new file mode 100644 index 0000000..1d3ad5f --- /dev/null +++ b/pages/companyPage/index.wxss @@ -0,0 +1,26 @@ +/* pages/companyPage/index.wxss */ +.detail-page{ + min-height: 100vh; + background: linear-gradient(180deg, #343434 0%, #777777 100%); + font-size: 24rpx; + +} +.cy image{ + width: 100%; + +} +.cy1 image{ + height: 1354rpx; +} +.cy2 image{ + height: 1434rpx; +} +.cy3 image{ + height: 1531rpx; + +} +.footer{ + height: 214rpx; + font-size: 32rpx; + color: #fff; +} \ No newline at end of file diff --git a/pages/courseDetail/index.js b/pages/courseDetail/index.js new file mode 100644 index 0000000..071c189 --- /dev/null +++ b/pages/courseDetail/index.js @@ -0,0 +1,66 @@ +// pages/courseDetail/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/courseDetail/index.json b/pages/courseDetail/index.json new file mode 100644 index 0000000..eb20498 --- /dev/null +++ b/pages/courseDetail/index.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "课程详情" +} \ No newline at end of file diff --git a/pages/courseDetail/index.wxml b/pages/courseDetail/index.wxml new file mode 100644 index 0000000..58e25fa --- /dev/null +++ b/pages/courseDetail/index.wxml @@ -0,0 +1,62 @@ + + + + + 弘扬传统国学 + + + + + + 授课老师 + + + + + 李大辉 + 中国资深国学大师 + + + + 中国杰出道家文化特邀嘉宾,互联网占扑界大师,资深命理大师家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资 + + + + + 授课老师 + + + + 中国杰出道家文化特邀嘉宾,互联网占扑界大师,资深命理大师家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资中国杰出道家文化特邀嘉宾,互联网占扑界大师,资深命理大师家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资. + 中国杰出道家文化特邀嘉宾,互联网占扑界大师,资深命理大师家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资中国杰出道家文化特邀嘉宾,互联网占扑界大师,资深命理大师家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资家文化特邀嘉宾,互联网占扑界大师,资. + + + + + + + 首页 + + + + 课程 + + + + 我的 + + + diff --git a/pages/courseDetail/index.wxss b/pages/courseDetail/index.wxss new file mode 100644 index 0000000..cc5b9d9 --- /dev/null +++ b/pages/courseDetail/index.wxss @@ -0,0 +1,158 @@ +/* pages/courseDetail/index.wxss */ +.detail-page{ + min-height: 100vh; + background-color: #F5F5F5; + font-size: 24rpx; +} +.subscribe{ + width: 100%; + height: 688rpx; +} +.subscribe,.introduse-box,.course-box{ + background-color: #fff; +} +.subscribe image{ + width: 100%; + height: 432rpx; + position: relative; + display: block; + +} +.title{ + width: 100%; + font-size: 96rpx; + position: absolute; + top: 76px; + color: #fff; + +} +.subscribe-con{ + width: 100%; + height: 256rpx; + position: relative; + right: 40rpx; + padding-left: 80rpx; +} + +.headline{ + font-size: 36rpx; + font-weight: 600; + color: #4A4A4A; + padding-top: 30rpx; +} + +.subtitle{ + font-weight: 400; + color: #A5A5A5; + padding-top: 8rpx; +} +.placeicon{ + float: left; + margin-top: 24rpx; +} +.placeicon image{ + width: 21rpx; + height: 25rpx; +} +.timeicon image{ + width: 26rpx; + height: 26rpx; + margin-left: 30rpx; +} +.timeicon text,.placeicon text{ + padding-left: 8rpx; + color: #A5A5A5; + font-weight: 400; +} +.timeicon{ + margin-top: 24rpx; +} +.num{ + color: #E19C01; + margin-top: 16rpx; +} +.order-btn{ + position: absolute; + width: 216rpx; + height: 64rpx; + font-size: 36rpx; + color: #FFFFFF; + right: 0; + bottom: 32rpx; + background: linear-gradient(225deg, #FFD87D 0%, #E19C00 100%); + border-radius: 40px; +} + +.introduse-box{ + width: 100%; + height: 416rpx; + margin-top: 20rpx; + padding-left: 40rpx; +} +.teach{ + padding-top: 28rpx; +} +.teach image{ + width: 44rpx; + height: 28rpx; +} +.teach text{ + font-size: 28rpx; + margin-left: 16rpx; + +} +.introduce-name{ + margin-top: 32rpx; +} +.introduce-name image{ + width: 76rpx; + height: 76rpx; + margin-right: 18rpx; +} +.introduce-name view{ + margin-bottom: 4rpx; + font-size: 28rpx; + color: #4A4A4A; +} +.name{ + font-weight: 600; +} +.desc{ + width: 672rpx; + height: 102rpx; + color: #989898; + margin-top: 16rpx; +} +.course-box{ + width: 100%; + height: 976rpx; + margin-top: 44rpx; + padding: 0 40rpx; +} +.course-con{ + background-color: #E7DBBD; + margin: 12rpx 0 48rpx 0; +} +.course-con image{ + width: 100%; + height: 178rpx; +} +.course-con view{ + color: #343434; + padding: 8rpx 22rpx 18rpx 24rpx; +} +.list-box{ + width: 100%; + height: 162rpx; + padding: 0 62rpx 0 64rpx; + box-shadow: 6rpx 0rpx 24rpx rgba(0, 0, 0, 0.16); +} +.list-box image{ + width: 96rpx; + height: 96rpx; +} +.list-box text{ + font-size: 32rpx; + font-weight: 500; + color: #4A4A4A; +} \ No newline at end of file diff --git a/pages/courseReservation/index.js b/pages/courseReservation/index.js new file mode 100644 index 0000000..3c43e1f --- /dev/null +++ b/pages/courseReservation/index.js @@ -0,0 +1,66 @@ +// pages/courseReservation/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/courseReservation/index.json b/pages/courseReservation/index.json new file mode 100644 index 0000000..9d58eb1 --- /dev/null +++ b/pages/courseReservation/index.json @@ -0,0 +1,4 @@ +{ + "usingComponents": {}, + "navigationBarTitleText": "课程预约" +} \ No newline at end of file diff --git a/pages/courseReservation/index.wxml b/pages/courseReservation/index.wxml new file mode 100644 index 0000000..b72ac7c --- /dev/null +++ b/pages/courseReservation/index.wxml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/pages/courseReservation/index.wxss b/pages/courseReservation/index.wxss new file mode 100644 index 0000000..370b266 --- /dev/null +++ b/pages/courseReservation/index.wxss @@ -0,0 +1,56 @@ +/* pages/courseReservation/index.wxss */ +.detail-page{ + min-height: 100vh; + background-color: #FDF1D3; + position: relative; +} +.top-bg image{ + width: 100%; + height: 200rpx; + position: absolute; + top: 0; +} +.title image{ + width: 408rpx; + height: 122rpx; + margin-top: 304rpx; + +} +.input-box{ + width: 100%; + padding: 44rpx 126rpx 100rpx 128rpx; +} +.name image{ + width: 104rpx; + height: 48rpx; +} +.input{ + width: 496rpx; + height: 80rpx; + background: #298C93; + border: 2px solid #CFBFA3; + border-radius: 56rpx; + margin-top: 16rpx; + padding-left: 32rpx; + font-size: 32rpx; + color: #FFFFFF; +} +.tel image{ + width: 184rpx; + height: 48rpx; + margin-top: 64rpx; +} +.submit{ + height: 80rpx; + background: linear-gradient(49deg, #E6A717 0%, #FFD471 100%); + border-radius: 16rpx; + font-size: 36rpx; + color: #fff; + margin-bottom: 224rpx; +} +.bottom-bg image{ + width: 100%; + height: 200rpx; + position: absolute; + bottom: 0; +} diff --git a/project.config.json b/project.config.json index d61a347..42e4d18 100644 --- a/project.config.json +++ b/project.config.json @@ -1,74 +1,74 @@ { - "description": "项目配置文件", - "packOptions": { - "ignore": [ - { - "type": "file", - "value": ".eslintrc.js" - } - ] - }, - "setting": { - "bundle": false, - "userConfirmedBundleSwitch": false, - "urlCheck": true, - "scopeDataCheck": false, - "coverView": true, - "es6": true, - "postcss": true, - "compileHotReLoad": false, - "lazyloadPlaceholderEnable": false, - "preloadBackgroundData": false, - "minified": true, - "autoAudits": false, - "newFeature": false, - "uglifyFileName": false, - "uploadWithSourceMap": true, - "useIsolateContext": true, - "nodeModules": false, - "enhance": true, - "useMultiFrameRuntime": true, - "useApiHook": true, - "useApiHostProcess": true, - "showShadowRootInWxmlPanel": true, - "packNpmManually": false, - "enableEngineNative": false, - "packNpmRelationList": [], - "minifyWXSS": true, - "showES6CompileOption": false, - "minifyWXML": true - }, - "compileType": "miniprogram", - "libVersion": "2.19.4", - "appid": "wxdb1f3c2997df014a", - "projectname": "%E7%A6%85%E6%98%93%E8%AF%BE%E5%A0%82", - "debugOptions": { - "hidedInDevtools": [] - }, - "scripts": {}, - "staticServerOptions": { - "baseURL": "", - "servePath": "" - }, - "isGameTourist": false, - "condition": { - "search": { - "list": [] + "description": "项目配置文件", + "packOptions": { + "ignore": [ + { + "type": "file", + "value": ".eslintrc.js" + } + ] }, - "conversation": { - "list": [] + "setting": { + "bundle": false, + "userConfirmedBundleSwitch": false, + "urlCheck": true, + "scopeDataCheck": false, + "coverView": true, + "es6": true, + "postcss": true, + "compileHotReLoad": false, + "lazyloadPlaceholderEnable": false, + "preloadBackgroundData": false, + "minified": true, + "autoAudits": false, + "newFeature": false, + "uglifyFileName": false, + "uploadWithSourceMap": true, + "useIsolateContext": true, + "nodeModules": false, + "enhance": true, + "useMultiFrameRuntime": true, + "useApiHook": true, + "useApiHostProcess": true, + "showShadowRootInWxmlPanel": true, + "packNpmManually": false, + "enableEngineNative": false, + "packNpmRelationList": [], + "minifyWXSS": true, + "showES6CompileOption": false, + "minifyWXML": true }, - "game": { - "list": [] + "compileType": "miniprogram", + "libVersion": "2.19.4", + "appid": "wxdb1f3c2997df014a", + "projectname": "%E7%A6%85%E6%98%93%E8%AF%BE%E5%A0%82", + "debugOptions": { + "hidedInDevtools": [] }, - "plugin": { - "list": [] + "scripts": {}, + "staticServerOptions": { + "baseURL": "", + "servePath": "" }, - "gamePlugin": { - "list": [] - }, - "miniprogram": { - "list": [] + "isGameTourist": false, + "condition": { + "search": { + "list": [] + }, + "conversation": { + "list": [] + }, + "game": { + "list": [] + }, + "plugin": { + "list": [] + }, + "gamePlugin": { + "list": [] + }, + "miniprogram": { + "list": [] + } } - } } \ No newline at end of file