diff --git a/api/pagesB/FiveCardPackage/index.js b/api/pagesB/FiveCardPackage/index.js new file mode 100644 index 0000000..de637b2 --- /dev/null +++ b/api/pagesB/FiveCardPackage/index.js @@ -0,0 +1,24 @@ +import request from "../../request.js" + +//列表 +export function cardPackagelist(data) { + return request({ + url: `/applet/point/cardPackage/list`, + method: 'get', + data, + header: { + region: uni.getStorageSync('region'), + }, + }) +} + +//详情 +export function cardPackagedetail(code) { + return request({ + url: `/applet/point/cardPackage/detail/${code}`, + method: 'get', + header: { + region: uni.getStorageSync('region'), + }, + }) +} \ No newline at end of file diff --git a/pages.json b/pages.json index f9c5474..a8399e1 100644 --- a/pages.json +++ b/pages.json @@ -459,6 +459,14 @@ "navigationBarTitleText": "360健康画像", "enablePullDownRefresh": false } + }, + { + "path" : "FiveCardPackage/FiveCardPackage", + "style" : + { + "navigationBarTitleText" : "五卡套餐", + "enablePullDownRefresh" : false + } } ] }, { diff --git a/pagesB/Behaviorpoints/Behaviorpoints.scss b/pagesB/Behaviorpoints/Behaviorpoints.scss index 8f5686b..e318b10 100644 --- a/pagesB/Behaviorpoints/Behaviorpoints.scss +++ b/pagesB/Behaviorpoints/Behaviorpoints.scss @@ -1,8 +1,18 @@ .app { background-color: #F7F5F5; height: 100vh; - // padding-top: 20rpx; + padding-top: 20rpx; + .title{ + color:#007e5c; + font-size: 36rpx; + font-weight: 1000; + position: absolute; + top:24rpx; + left:90rpx; + font-family: "KaiTi", "SimKai", "KaiTi_GB2312", "KaiTi_GB2312", sans-serif; + } + .flex { width: 100%; display: flex; @@ -15,7 +25,7 @@ .background { height: 100%; background-color: #fff; - width: 100%; + width: 96%; margin: 0 auto; .content { @@ -23,8 +33,7 @@ image { width: 100%; - padding-left: 7rpx; - height: 480rpx; + height: 440rpx; } .item { @@ -51,13 +60,13 @@ } .number { - font-size: 56rpx; - font-weight: 400; + font-size: 62rpx; + font-weight: 600; color: #FFFFFF; position: absolute; - left: 50%; - top: 54%; - transform: translateX(-50%); + text-align: center; + width: 100%; + top: 50%; text-overflow: ellipsis; white-space: nowrap; color:#AD7600; diff --git a/pagesB/Behaviorpoints/Behaviorpoints.vue b/pagesB/Behaviorpoints/Behaviorpoints.vue index 3ea4676..77ff421 100644 --- a/pagesB/Behaviorpoints/Behaviorpoints.vue +++ b/pagesB/Behaviorpoints/Behaviorpoints.vue @@ -2,6 +2,9 @@ + + {{title}} + @@ -13,7 +16,7 @@ + :style="score>=0&&score<800?'color:#fff':score>=800&&score<1600?'color:#D3BC96':score>=1600&&score<2400?'color:#AD7600':score>=2400&&score<3000?'color:#FAEEDB':score>=3000?'color:#4864ED':''"> {{score?score:0}} @@ -45,8 +48,8 @@ 健康行为 - - 参考兑换 + + 五卡套餐 @@ -101,6 +104,7 @@ total: 0, score: 0, orgNo: '', + title: '', }; }, onShow() { @@ -114,6 +118,7 @@ detail(this.query.identity).then(res => { let name = res.data.countyName.split('区')[0].split('县') this.orgNo = res.data.orgNo + this.title = '东营健康银行' + name + '分行' uni.setNavigationBarTitle({ title: '东营健康银行' + name + '分行' }); @@ -169,6 +174,11 @@ // this.gologin(); // } }, + goFiveCardPackage() { + uni.navigateTo({ + url: "/pagesB/FiveCardPackage/FiveCardPackage" + }) + }, }, onReachBottom() { //下滑加载 if (this.list.length >= this.total) {} else { diff --git a/pagesB/FiveCardPackage/FiveCardPackage.vue b/pagesB/FiveCardPackage/FiveCardPackage.vue new file mode 100644 index 0000000..c72e91e --- /dev/null +++ b/pagesB/FiveCardPackage/FiveCardPackage.vue @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file diff --git a/pagesB/images/bojinka.png b/pagesB/images/bojinka.png index b7aba27..95cfb23 100644 Binary files a/pagesB/images/bojinka.png and b/pagesB/images/bojinka.png differ diff --git a/pagesB/images/jinka.png b/pagesB/images/jinka.png index 4840208..d253f5c 100644 Binary files a/pagesB/images/jinka.png and b/pagesB/images/jinka.png differ diff --git a/pagesB/images/putongka.png b/pagesB/images/putongka.png index 54b2b5b..c73b0df 100644 Binary files a/pagesB/images/putongka.png and b/pagesB/images/putongka.png differ diff --git a/pagesB/images/yinka.png b/pagesB/images/yinka.png index 05cefe2..75eb70c 100644 Binary files a/pagesB/images/yinka.png and b/pagesB/images/yinka.png differ diff --git a/pagesB/images/zuanshika.png b/pagesB/images/zuanshika.png index 46bba72..97651b4 100644 Binary files a/pagesB/images/zuanshika.png and b/pagesB/images/zuanshika.png differ