From 6bfc95dd8e8418a621362975883cd44d3ec431dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B1=AA?= <781521347@qq.com> Date: Wed, 4 Aug 2021 10:00:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 12 +- api/diandeng.js | 57 +++ api/user.js | 15 +- assets/css/base.less | 10 +- components/CitySelect.vue | 4 +- components/OrderGoods.vue | 14 +- config/index.js | 5 +- pages.json | 29 +- pages/course/detail.vue | 87 ++-- pages/course/index.vue | 32 +- pages/diandeng/index.vue | 534 ++++++++++++++++++++ pages/diandeng/lighting.vue | 453 +++++++++++++++++ pages/home/index.vue | 116 ++--- pages/knowledge/detail.vue | 1 - pages/knowledge/index.vue | 25 +- pages/order/MyOrder/index.vue | 131 ++++- pages/order/OrderDetails/index.vue | 110 +++- pages/order/OrderSubmission/index.vue | 3 +- pages/order/ReturnList/index.vue | 6 + pages/serviceTeacher/index.vue | 33 +- pages/serviceTeacher/setSelfData.vue | 8 +- pages/shop/GoodsClass/index.vue | 7 +- pages/shop/GoodsCon/index.vue | 6 +- pages/study/dabang.vue | 14 +- pages/study/detail.vue | 43 +- pages/study/editDabang.vue | 20 +- pages/user/PersonalData/index.vue | 161 +++++- pages/user/User/index.vue | 93 ++-- pages/user/feedBack/index.vue | 2 +- pages/user/myBangdan/index.vue | 53 +- pages/user/myCourses/index.vue | 39 +- pagesB/pages/user/signIn/Integral/index.vue | 353 +++++++++---- static/course-icon1.png | Bin 511 -> 615 bytes static/course-icon2.png | Bin 825 -> 629 bytes static/course-icon3.png | Bin 562 -> 511 bytes static/course-icon4.png | Bin 642 -> 578 bytes static/glod.png | Bin 0 -> 12213 bytes static/jifen1.png | Bin 1632 -> 1996 bytes static/jifen2.png | Bin 1590 -> 1851 bytes static/jifen3.png | Bin 1594 -> 1623 bytes static/jifen4.png | Bin 1442 -> 0 bytes static/myorder-icon1.png | Bin 1575 -> 1007 bytes static/myorder-icon2.png | Bin 1627 -> 1311 bytes static/myorder-icon3.png | Bin 1645 -> 2453 bytes static/myorder-icon4.png | Bin 1396 -> 912 bytes static/myorder-icon5.png | Bin 1654 -> 1775 bytes static/tips.png | Bin 0 -> 662 bytes static/xyddImages/back.png | Bin 0 -> 228 bytes static/xyddImages/border2.png | Bin 0 -> 1476 bytes static/xyddImages/btn-bg.png | Bin 0 -> 2180 bytes static/xyddImages/light-bg.png | Bin 0 -> 8166 bytes static/xyddImages/light-border.png | Bin 0 -> 7751 bytes static/xyddImages/light-l.png | Bin 0 -> 6596 bytes static/xyddImages/tabs-box-bg.png | Bin 0 -> 2191 bytes 54 files changed, 2097 insertions(+), 379 deletions(-) create mode 100644 api/diandeng.js create mode 100644 pages/diandeng/index.vue create mode 100644 pages/diandeng/lighting.vue create mode 100644 static/glod.png delete mode 100644 static/jifen4.png create mode 100644 static/tips.png create mode 100644 static/xyddImages/back.png create mode 100644 static/xyddImages/border2.png create mode 100644 static/xyddImages/btn-bg.png create mode 100644 static/xyddImages/light-bg.png create mode 100644 static/xyddImages/light-border.png create mode 100644 static/xyddImages/light-l.png create mode 100644 static/xyddImages/tabs-box-bg.png diff --git a/App.vue b/App.vue index b9bfc6e..cfb81bb 100644 --- a/App.vue +++ b/App.vue @@ -103,7 +103,17 @@ export default { /* .wx-checkbox-input.wx-checkbox-input-checked { border: none !important; } */ - + radio .wx-radio-input { + transform: scale(0.6); + border-radius: 50% !important; + /* color: #ffffff !important; */ + } + + radio .wx-radio-input.wx-radio-input-checked { + color: #fff; + background: #FDBF68; + border-color: #FDBF68 !important; + } /* #endif */ diff --git a/api/diandeng.js b/api/diandeng.js new file mode 100644 index 0000000..6802616 --- /dev/null +++ b/api/diandeng.js @@ -0,0 +1,57 @@ +import request from "@/utils/request"; + +/** + * 获取祈福灯列表 + */ +export function getLightList(data) { + return request.post("/BlessingLamp/listBlessingLamp", data); +} + +/** + * 获取祈福灯广场 + */ +export function blessingList(data) { + return request.get("/Blessing/blessingList?type="+data); +} + +/** + * 获取我的祈福灯 + */ +export function myBlessings(data) { + return request.get("/Blessing/myBlessings"); +} + +/** + * 为他人祈福 + */ +export function blessingOthers(data) { + return request.post("/Blessing/blessingOthers",data); +} + +/** + * 获取祈福灯详情 + */ +export function blessingLampDetail(data) { + return request.get("/BlessingLamp/blessingLampDetail?id=" + data); +} + +/** + * 点灯 + */ +export function addBlessing(data) { + return request.post("/Blessing/addBlessing", data); +} + +/** + * 万年历 + */ +export function getWanniali(data) { + return request.get("/Wannianli/getWanniali?date", data); +} + +/** + * 点灯开关 + */ +export function getBlessingFlag(data) { + return request.get("/getBlessingFlag", data); +} \ No newline at end of file diff --git a/api/user.js b/api/user.js index b3119ab..885a438 100644 --- a/api/user.js +++ b/api/user.js @@ -447,4 +447,17 @@ export function getMyCourseList(q) { * */ export function getStudyList(q) { return request.get('/StudyList/getStudyListByMemberId?type='+q) -} \ No newline at end of file +} + +/* + * 获取签到状态 + * */ +export function integral(q) { + return request.post('/user/integral') +} +/* + * 签到 + * */ +export function signIntegral(q) { + return request.post('/sign/integral') +} diff --git a/assets/css/base.less b/assets/css/base.less index a24722f..76017af 100644 --- a/assets/css/base.less +++ b/assets/css/base.less @@ -4,17 +4,17 @@ */ .font-color-red { - color: #E5270F !important; + color: #F99C10 !important; } .bg-color-red { - background-color: #E5270F !important; + background-color: #F99C10 !important; } .icon-color { - color: #E5270F; + color: #F99C10; } .cart-color { - color: #E5270F !important; - border: 1px solid #E5270F !important; + color: #F99C10 !important; + border: 1px solid #F99C10 !important; } /* padding20 */ .padding20 { diff --git a/components/CitySelect.vue b/components/CitySelect.vue index 8d4e887..007458d 100644 --- a/components/CitySelect.vue +++ b/components/CitySelect.vue @@ -250,8 +250,8 @@ export default { text-overflow: ellipsis; max-width: 40%; &.active { - color: #f23030 !important; - border-bottom: 1rpx solid #f23030; + color: #F99C10 !important; + border-bottom: 1rpx solid #F99C10; } } } diff --git a/components/OrderGoods.vue b/components/OrderGoods.vue index b2f141a..3dbb08b 100644 --- a/components/OrderGoods.vue +++ b/components/OrderGoods.vue @@ -1,6 +1,6 @@