修改
This commit is contained in:
parent
e4137d1326
commit
40f5feecd3
@ -333,6 +333,14 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#ffffff"
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
"path": "pages/materialbenefits/materialbenefits",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "新人福利",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="Welfarecustomerservice">
|
<view class="Welfarecustomerservice">
|
||||||
<image src="../../static/fuli.png" mode=""></image>
|
<image src="../../static/fuli.png" mode="" @tap='gomaterialbenefits'></image>
|
||||||
<image src="../../static/kefu.png" mode="" @tap='gocustomerservice'></image>
|
<image src="../../static/kefu.png" mode="" @tap='gocustomerservice'></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="Healthknowledge">
|
<view class="Healthknowledge">
|
||||||
@ -139,6 +139,12 @@
|
|||||||
url: '/pages/Healthknowledge/Healthknowledge'
|
url: '/pages/Healthknowledge/Healthknowledge'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//新人福利
|
||||||
|
gomaterialbenefits() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/materialbenefits/materialbenefits'
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
// onReachBottom() { //下滑加载
|
// onReachBottom() { //下滑加载
|
||||||
// if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else {
|
// if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else {
|
||||||
|
|||||||
90
pages/materialbenefits/materialbenefits.vue
Normal file
90
pages/materialbenefits/materialbenefits.vue
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
<template>
|
||||||
|
<view class="app">
|
||||||
|
<view class="concent">
|
||||||
|
<view class="background">
|
||||||
|
<image src="/static/logo.png" mode=""></image>
|
||||||
|
<view>
|
||||||
|
<view class="detailed">
|
||||||
|
<view>
|
||||||
|
敬请期待
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
};
|
||||||
|
},
|
||||||
|
//1.分享给朋友
|
||||||
|
onShareAppMessage(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '泉医到家',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.app {
|
||||||
|
padding-top: 10rpx;
|
||||||
|
|
||||||
|
.concent {
|
||||||
|
width: 701rpx;
|
||||||
|
height: 440rpx;
|
||||||
|
background: #4C7BC9;
|
||||||
|
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin: 5% auto 20px;
|
||||||
|
|
||||||
|
.background {
|
||||||
|
position: relative;
|
||||||
|
width: 657rpx;
|
||||||
|
height: 400rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 25rpx;
|
||||||
|
background-color: white;
|
||||||
|
margin: 0 auto;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 178rpx;
|
||||||
|
height: 160rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 25px;
|
||||||
|
margin-left: 68%;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailed {
|
||||||
|
width: 657rpx;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
line-height: 56rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detailed view {
|
||||||
|
text-indent: 2em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -128,10 +128,6 @@
|
|||||||
top:70%;
|
top:70%;
|
||||||
right:5%;
|
right:5%;
|
||||||
}
|
}
|
||||||
.buy{
|
|
||||||
position: absolute;
|
|
||||||
top: 55%;
|
|
||||||
}
|
|
||||||
.price {
|
.price {
|
||||||
height: 52rpx;
|
height: 52rpx;
|
||||||
color: #F44B2F;
|
color: #F44B2F;
|
||||||
@ -306,6 +302,7 @@
|
|||||||
// top:50%;
|
// top:50%;
|
||||||
float: right;
|
float: right;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
padding-right: 10rpx;
|
||||||
}
|
}
|
||||||
.text{
|
.text{
|
||||||
padding-left: 40rpx;
|
padding-left: 40rpx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user