Commit a87f27d0 by 赵雅纹

Merge branch 'fixbug-ZYW' into 'dev_7.1.0'

Fixbug zyw

See merge request !166
parents ecdbc7e8 14b8dbc7
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
width: 710rpx; width: 710rpx;
height: 133rpx; height: 133rpx;
border-radius: 16rpx; border-radius: 16rpx;
background-color: rgba(192, 154, 116, 1); /* background-color: rgba(192, 154, 116, 1); */
margin-top: 50rpx; margin-top: 50rpx;
margin-bottom: 100rpx; margin-bottom: 50rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-top: solid 1rpx #eee;
} }
.tab-img { .tab-img {
/* width: 70rpx; /* width: 70rpx;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="card-modal" hidden="{{!showCardModal}}" catchtouchmove='true'> <view class="card-modal" hidden="{{!showCardModal}}" catchtouchmove='true'>
<view class="card-modal-content"> <view class="card-modal-content">
<view class="modal-header"> <view class="modal-header">
<image class="brand-img" src="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg"></image> <image class="brand-img" src="https://xiedemo.oss-cn-shanghai.aliyuncs.com/logo_head.jpg"></image>
<view class="brand-title">{{cardTitle}}</view> <view class="brand-title">{{cardTitle}}</view>
</view> </view>
<view class="card-img-wrap"> <view class="card-img-wrap">
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
<text class="share-text">生成朋友圈海报</text> <text class="share-text">生成朋友圈海报</text>
</view> </view>
</view> </view>
<share-poster id="getPoster" bindmyevent="myEventListener" avater="{{cardUrl}}" productDesc="{{cardTitle}}" userAvatar="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg" bind:showMiniCard="_showMiniCard" pagePath="{{pagePath}}" code-img="{{codeImg}}"></share-poster> <share-poster id="getPoster" bindmyevent="myEventListener" avater="{{cardUrl}}" productDesc="{{cardTitle}}" userAvatar="https://xiedemo.oss-cn-shanghai.aliyuncs.com/logo_head.jpg" bind:showMiniCard="_showMiniCard" pagePath="{{pagePath}}" code-img="{{codeImg}}"></share-poster>
...@@ -44,8 +44,8 @@ Component({ ...@@ -44,8 +44,8 @@ Component({
wxService.request({ wxService.request({
url: app.globalData.ctx + '/sale/premium/query', url: app.globalData.ctx + '/sale/premium/query',
header: { header: {
'tunnel-token' : 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD' // 测试 // 'tunnel-token' : 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD' // 测试
// 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8' // 生产 'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8' // 生产
}, },
success: (res) => { success: (res) => {
const { result, data } = res.data const { result, data } = res.data
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
position: fixed; position: fixed;
bottom: 88rpx; bottom: 88rpx;
padding: 36rpx 0 36rpx 30rpx; padding: 36rpx 0 36rpx 30rpx;
background-color: rgba(192, 154, 116, 0.2); /* background-color: rgba(192, 154, 116, 0.2); */
background-color: rgb(230,215,199);
} }
.scroll-view_H { .scroll-view_H {
......
...@@ -81,6 +81,13 @@ Component({ ...@@ -81,6 +81,13 @@ Component({
} }
}) })
} }
},
fail : function(res){
wx.hideLoading();
wx.showToast({
title: '产品图片下载失败!',
icon: 'none',
})
} }
}) })
} else { } else {
...@@ -118,6 +125,14 @@ Component({ ...@@ -118,6 +125,14 @@ Component({
} }
}) })
} }
},
fail: function(res){
wx.hideLoading();
wx.showToast({
title: '二维码下载失败!',
icon: 'none',
duration: 2000,
})
} }
}) })
} else { } else {
...@@ -161,13 +176,7 @@ Component({ ...@@ -161,13 +176,7 @@ Component({
// 品牌头像 // 品牌头像
if (that.data.userAvatar) { if (that.data.userAvatar) {
console.log(imgheght)
// ctx.drawImage(that.data.userAvatar, 12, 306, 25, 25);
ctx.drawImage(that.data.userAvatar, 12, 290, 40, 40); ctx.drawImage(that.data.userAvatar, 12, 290, 40, 40);
ctx.setFontSize(14);
ctx.setFillStyle('#d8d8d8');
ctx.setTextAlign('left');
// ctx.fillText(that.data.userAvatar, left - 15, imgheght + 110); //电话
} }
// title // title
console.log('productDesc', that.data.productDesc) console.log('productDesc', that.data.productDesc)
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<view class="item" bindtap="gotoDetail" data-id="{{id}}" data-current-type="{{currentType}}"> <view class="item" bindtap="gotoDetail" data-id="{{id}}" data-current-type="{{currentType}}">
<view class="no-audited" wx:if="{{currentType != 2}}"> <view class="no-audited" wx:if="{{currentType != 2}}">
待审核 {{currentType == 1 ? '待审核' : (currentType == 3 ? '已驳回' : '已通过')}}
</view> </view>
<image class="item-img" src="{{url}}" mode="widthFix" bindload="imageLoad"></image> <image class="item-img" src="{{url}}" mode="widthFix" bindload="imageLoad"></image>
<view class="item-title-box"> <view class="item-title-box">
......
...@@ -496,6 +496,9 @@ wxService.page({ ...@@ -496,6 +496,9 @@ wxService.page({
wx.hideLoading() wx.hideLoading()
}) })
this.data.addressInfo.fullArea = this.data.addressInfo.provinceName + ' ' +
this.data.addressInfo.cityName + ' ' + this.data.addressInfo.countyName
wx.setStorageSync('_defalutAddress', this.data.addressInfo)
console.log('WX---------------------', this.data.addressInfo) console.log('WX---------------------', this.data.addressInfo)
}, },
fail: function (err) { fail: function (err) {
......
...@@ -224,16 +224,18 @@ wxService.page({ ...@@ -224,16 +224,18 @@ wxService.page({
"scene": this.data.scene, "scene": this.data.scene,
"width": 100 "width": 100
} }
wxService.post(`/marketing/quickMark/getAppQrCodePicture`, data).then(res => { wxService.post(`/marketing/quickMark/getAppQrCodePicture`, data).then(res => {
const { result, data } = res.data const { result, data } = res.data
if (result == 0) { if (result == 0) {
this.setData({ this.setData({
codeImg: app.globalData.imageUrl + data codeImg: app.globalData.imageUrl + data
// codeImg: "https://hwimagecdn.ihotwind.cn/usr/201908/miniQrCode-f00c5051fef7479395efb193431762c4.jpg" // codeImg: "https://hwimagecdn.ihotwind.cn/usr/201908/miniQrCode-f00c5051fef7479395efb193431762c4.jpg"
}) },() => {
if (this.data.codeImg) { if (this.data.codeImg) {
this.selectComponent('#getPoster').getAvaterInfo() this.selectComponent('#getPoster').getAvaterInfo()
} }
})
} }
}) })
}, },
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
page-path="{{pagePath}}" page-path="{{pagePath}}"
scene="{{scene}}" scene="{{scene}}"
/> />
<share-poster id="getPoster" bindmyevent="myEventListener" avater="{{cardUrl}}" productDesc="{{cardTitle}}" userAvatar="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg" bind:showMiniCard="_showMiniCard" pagePath="{{pagePath}}" code-img="{{codeImg}}"></share-poster> <share-poster id="getPoster" bindmyevent="myEventListener" avater="{{cardUrl}}" productDesc="{{cardTitle}}" userAvatar="https://xiedemo.oss-cn-shanghai.aliyuncs.com/logo_head.jpg" bind:showMiniCard="_showMiniCard" pagePath="{{pagePath}}" code-img="{{codeImg}}"></share-poster>
<!--goHome--> <!--goHome-->
<go-home/> <go-home/>
...@@ -16,6 +16,7 @@ wxService.page({ ...@@ -16,6 +16,7 @@ wxService.page({
*/ */
data: { data: {
pages: [], pages: [],
paddingBottom: '0',
render: null, // 渲染页面数据对象(安全渲染) render: null, // 渲染页面数据对象(安全渲染)
renderPageOver: false, // 渲染页面结束 renderPageOver: false, // 渲染页面结束
integralNum: 0, integralNum: 0,
...@@ -206,6 +207,26 @@ wxService.page({ ...@@ -206,6 +207,26 @@ wxService.page({
const renderData = render.next() const renderData = render.next()
this.data.renderPageOver = renderData.done this.data.renderPageOver = renderData.done
this.renderPageFunc({ products: renderData.value }) this.renderPageFunc({ products: renderData.value })
//是否有tabbar 或 plus
let tabbar = products.filter(item => item.type == 5);
let plus = products.filter(item => item.type == 9);
if (plus.length != 0) {
this.setData({
paddingBottom: '320rpx'
})
}
else if (tabbar.length != 0) {
this.setData({
paddingBottom: '140rpx'
})
}
else {
this.setData({
paddingBottom: '40rpx'
})
}
} }
}).finally(() => { }).finally(() => {
......
...@@ -31,4 +31,7 @@ ...@@ -31,4 +31,7 @@
</block> </block>
</view> </view>
<guide-page-modal show="{{guidePageModalShow}}" /> <guide-page-modal show="{{guidePageModalShow}}" />
<!--<authorization-modal isAuthorization='{{isAuthorization}}'/>-->
<!-- 底部补充高度 防止被遮盖 -->
<view class="bottom-fixed" style="padding-bottom:{{paddingBottom}}"></view>
<share-benefit-modal show="{{shareBenefitModalShow}}" benefit-data="{{benefitData}}"/> <share-benefit-modal show="{{shareBenefitModalShow}}" benefit-data="{{benefitData}}"/>
/* pages/my/my.wxss */ /* pages/my/my.wxss */
@import './../../base/base.wxss'; @import './../../base/base.wxss';
.bottom-fixed{
padding-bottom: 40rpx;
}
.user-center{ .user-center{
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 200rpx;
height: 100%; height: 100%;
} }
......
...@@ -43,7 +43,6 @@ wxService.page({ ...@@ -43,7 +43,6 @@ wxService.page({
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow: function () { onShow: function () {
this.getAddressList() this.getAddressList()
}, },
......
...@@ -17,6 +17,7 @@ wxService.page({ ...@@ -17,6 +17,7 @@ wxService.page({
*/ */
data: { data: {
pages: [], pages: [],
paddingBottom :'0',
render: null, // 渲染页面数据对象(安全渲染) render: null, // 渲染页面数据对象(安全渲染)
renderPageOver: false, // 渲染页面结束 renderPageOver: false, // 渲染页面结束
integralNum: 0, integralNum: 0,
...@@ -248,6 +249,27 @@ wxService.page({ ...@@ -248,6 +249,27 @@ wxService.page({
const renderData = render.next() const renderData = render.next()
this.data.renderPageOver = renderData.done this.data.renderPageOver = renderData.done
this.renderPageFunc({ products: renderData.value }) this.renderPageFunc({ products: renderData.value })
//是否有tabbar 或 plus
let tabbar = products.filter(item => item.type == 5);
let plus = products.filter(item => item.type == 9);
if(plus.length != 0){
this.setData({
paddingBottom : '320rpx'
})
}
else if (tabbar.length != 0){
this.setData({
paddingBottom: '140rpx'
})
}
else{
this.setData({
paddingBottom: '40rpx'
})
}
} }
}).finally(() => { }).finally(() => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- 1 轮播 2 个人中心 3 图片导航 4 底部左划 5 底部 Tab 6 公告 7 分类 8 关注公众号 9 plus(9/5-权重高)--> <!-- 1 轮播 2 个人中心 3 图片导航 4 底部左划 5 底部 Tab 6 公告 7 分类 8 关注公众号 9 plus(9/5-权重高)-->
<block wx:for="{{pages}}" wx:key="{{index}}" wx:for-item="pItem"> <block wx:for="{{pages}}" wx:key="{{index}}" wx:for-item="pItem">
<view wx:if="{{pItem.type == 1}}"> <view wx:if="{{pItem.type == 1}}">
<image-swiper image-data="{{pItem.rotationchart.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/> <image-swiper image-data="{{pItem.rotationchart.images}}" bind:updatePage="updatePage" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/>
</view> </view>
<view class="" wx:if="{{pItem.type == 2}}"> <view class="" wx:if="{{pItem.type == 2}}">
<person-center isVip="{{isVip}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/> <person-center isVip="{{isVip}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/>
...@@ -34,3 +34,5 @@ ...@@ -34,3 +34,5 @@
<guide-page-modal show="{{guidePageModalShow}}" /> <guide-page-modal show="{{guidePageModalShow}}" />
<share-benefit-modal show="{{shareBenefitModalShow}}" benefit-data="{{benefitData}}"/> <share-benefit-modal show="{{shareBenefitModalShow}}" benefit-data="{{benefitData}}"/>
<!--<authorization-modal isAuthorization='{{isAuthorization}}'/>--> <!--<authorization-modal isAuthorization='{{isAuthorization}}'/>-->
<!-- 底部补充高度 防止被遮盖 -->
<view class="bottom-fixed" style="padding-bottom:{{paddingBottom}}"></view>
/* pages/userCenter.wxss */ /* pages/userCenter.wxss */
@import './../../base/base.wxss'; @import './../../base/base.wxss';
page{ page{
padding-bottom: 320rpx; /* padding-bottom: 320rpx; */
} }
.bottom-fixed{
padding-bottom: 40rpx;
}
.user-center{ .user-center{
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 200rpx;
height: 100%; height: 100%;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@import './../../base/base.wxss'; @import './../../base/base.wxss';
page{ page{
background: #ffffff; background: #ffffff;
padding-bottom: 80rpx; padding-bottom: 90rpx;
} }
scroll-view{ scroll-view{
height: 100%; height: 100%;
...@@ -50,18 +50,19 @@ swiper { ...@@ -50,18 +50,19 @@ swiper {
.share-oprate{ .share-oprate{
display: flex; display: flex;
align-items: center; align-items: center;
margin-right: 30rpx;
} }
.share-wrap{ .share-wrap{
display: flex; display: flex;
justify-content: space-between; justify-content: flex-end;
align-items: center; align-items: center;
/* margin-top: 31rpx; */ /* margin-top: 31rpx; */
} }
.share-img{ .share-img{
width: 28rpx; width: 30rpx;
height: 28rpx; height: 30rpx;
} }
.share-number{ .share-number{
font-size: 24rpx; font-size: 24rpx;
...@@ -143,7 +144,8 @@ swiper { ...@@ -143,7 +144,8 @@ swiper {
height: auto; height: auto;
bottom: 0; bottom: 0;
left: 0; left: 0;
padding: 20rpx; padding: 24rpx 40rpx;
padding-right: 20rpx;
box-sizing: border-box; box-sizing: border-box;
background: #ffffff; background: #ffffff;
border-top: solid 1px #eee; border-top: solid 1px #eee;
......
export default class InviteFriends { export default class InviteFriends {
palette(posterImg, qrcodeImg, userName, avatarUrl) { palette(posterImg, qrcodeImg, userName, avatarUrl,options) {
//获取图片的长宽
console.log(options)
let posterImgWidth = 0, posterImgHeight = 280;
if(options){
posterImgWidth = options.posterImgWidth ? options.posterImgWidth : 0;
posterImgHeight = options.posterImgHeight ? options.posterImgHeight : 0;
if (posterImgHeight > 280){
posterImgHeight = 280;
}
}
return ({ return ({
width: '410rpx', width: '750rpx',
height: '705rpx', height: '705rpx',
background: '#fff', background: '#fff',
views: [ views: [
...@@ -9,8 +22,8 @@ export default class InviteFriends { ...@@ -9,8 +22,8 @@ export default class InviteFriends {
type: 'image', type: 'image',
url: posterImg, url: posterImg,
css: { css: {
width: '410rpx', width: '375px',
height: '540rpx' height: posterImgHeight + 'px'
} }
}, },
{ {
......
...@@ -19,12 +19,14 @@ ...@@ -19,12 +19,14 @@
open-type='getUserInfo' open-type='getUserInfo'
hover-class="btn-hover" hover-class="btn-hover"
> >
<view class="add">+</view> <view class="add">
<text>+</text>
</view>
</button> </button>
<view wx:if="{{currentHasUserInfo}}"> <view wx:if="{{currentHasUserInfo}}">
<block wx:if="{{contentPermission}}"> <block wx:if="{{contentPermission}}">
<navigator open-type="navigate" url="/subPackage/page/pages/grassCommunity/grassCommunity"> <navigator open-type="navigate" url="/subPackage/page/pages/grassCommunity/grassCommunity">
<view class="add">+</view> <view class="add"><text>+</text></view>
</navigator> </navigator>
</block> </block>
</view> </view>
......
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
height: 82rpx; height: 82rpx;
background-color: rgba(203, 60, 60, 1); background-color: rgba(203, 60, 60, 1);
border-radius: 50%; border-radius: 50%;
line-height:82rpx;
text-align: center;
font-size: 60rpx; font-size: 60rpx;
color: #ffffff; color: #ffffff;
position: fixed; position: fixed;
...@@ -51,6 +49,9 @@ ...@@ -51,6 +49,9 @@
bottom: 357rpx; bottom: 357rpx;
/* bottom: 35rpx; */ /* bottom: 35rpx; */
z-index: 99; z-index: 99;
display: flex;
justify-content: center;
align-items: center;
} }
...@@ -66,9 +66,23 @@ wxService.page({ ...@@ -66,9 +66,23 @@ wxService.page({
//生成海报 //生成海报
generatePoster(){ generatePoster(){
this.setData({ console.log(this.data.currentPosterImg)
template: new Card().palette(this.data.currentPosterImg, this.data.codeImg, member.memberWeixin.nickname, avatarUrl), let _this = this;
wx.getImageInfo({
src: this.data.currentPosterImg,
success: function (res) {
let posterImgWidth = res.width,
posterImgHeight = res.height;
_this.setData({
template: new Card().palette(_this.data.currentPosterImg,
_this.data.codeImg,
member.memberWeixin.nickname,
avatarUrl, { posterImgWidth: posterImgWidth, posterImgHeight: posterImgHeight}),
}); });
}
})
}, },
// 获取海报图片 // 获取海报图片
...@@ -106,7 +120,7 @@ wxService.page({ ...@@ -106,7 +120,7 @@ wxService.page({
// codeImg: "https://hwimagecdn.ihotwind.cn/usr/201908/miniQrCode-f00c5051fef7479395efb193431762c4.jpg" // codeImg: "https://hwimagecdn.ihotwind.cn/usr/201908/miniQrCode-f00c5051fef7479395efb193431762c4.jpg"
},()=>{ },()=>{
this.setData({ this.setData({
template: new Card().palette(this.data.posterImgData[0], this.data.codeImg, member.memberWeixin.nickname, avatarUrl), template: new Card().palette(this.data.posterImgData[0], this.data.codeImg, member.memberWeixin.nickname, avatarUrl,wx),
}); });
}) })
} }
......
...@@ -16,6 +16,7 @@ wxService.page({ ...@@ -16,6 +16,7 @@ wxService.page({
*/ */
data: { data: {
pages: [], pages: [],
paddingBottom :'0',
render: null, // 渲染页面数据对象(安全渲染) render: null, // 渲染页面数据对象(安全渲染)
renderPageOver: false, // 渲染页面结束 renderPageOver: false, // 渲染页面结束
integralNum: 0, integralNum: 0,
...@@ -223,6 +224,27 @@ wxService.page({ ...@@ -223,6 +224,27 @@ wxService.page({
const renderData = render.next() const renderData = render.next()
this.data.renderPageOver = renderData.done this.data.renderPageOver = renderData.done
this.renderPageFunc({ products: renderData.value }) this.renderPageFunc({ products: renderData.value })
//是否有tabbar 或 plus
let tabbar = products.filter(item => item.type == 5);
let plus = products.filter(item => item.type == 9);
if (plus.length != 0) {
this.setData({
paddingBottom: '320rpx'
})
}
else if (tabbar.length != 0) {
this.setData({
paddingBottom: '140rpx'
})
}
else {
this.setData({
paddingBottom: '40rpx'
})
}
} }
}).finally(() => { }).finally(() => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- 1 轮播 2 个人中心 3 图片导航 4 底部左划 5 底部 Tab 6 公告 7 分类 8 关注公众号 9 plus(9/5-权重高)--> <!-- 1 轮播 2 个人中心 3 图片导航 4 底部左划 5 底部 Tab 6 公告 7 分类 8 关注公众号 9 plus(9/5-权重高)-->
<block wx:for="{{pages}}" wx:key="{{index}}" wx:for-item="pItem"> <block wx:for="{{pages}}" wx:key="{{index}}" wx:for-item="pItem">
<view wx:if="{{pItem.type == 1}}"> <view wx:if="{{pItem.type == 1}}">
<image-swiper image-data="{{pItem.rotationchart.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/> <image-swiper image-data="{{pItem.rotationchart.images}}" bind:updatePage="updatePage" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/>
</view> </view>
<view class="" wx:if="{{pItem.type == 2}}"> <view class="" wx:if="{{pItem.type == 2}}">
<person-center bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/> <person-center bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/>
...@@ -32,3 +32,5 @@ ...@@ -32,3 +32,5 @@
</block> </block>
</view> </view>
<guide-page-modal show="{{guidePageModalShow}}" /> <guide-page-modal show="{{guidePageModalShow}}" />
<!-- 底部补充高度 防止被遮盖 -->
<view class="bottom-fixed" style="padding-bottom:{{paddingBottom}}"></view>
/* subPackage/page/pages/subPage/subPage.wxss */ /* subPackage/page/pages/subPage/subPage.wxss */
@import './../../../../base/base.wxss'; @import './../../../../base/base.wxss';
page{ page{
padding-bottom: 320rpx; /* padding-bottom: 320rpx; */
}
.bottom-fixed{
padding-bottom: 40rpx;
} }
.user-center{ .user-center{
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 200rpx;
height: 100%; height: 100%;
} }
......
...@@ -15,6 +15,7 @@ function currentLinkRouter(event, _this) { ...@@ -15,6 +15,7 @@ function currentLinkRouter(event, _this) {
} else if (curItemType.link.type == 2) { } else if (curItemType.link.type == 2) {
// 触发父组件更新页面 // 触发父组件更新页面
wxService.nextTick(() => { wxService.nextTick(() => {
_this.triggerEvent('updatePage', { pageId: currentClickType.url }) _this.triggerEvent('updatePage', { pageId: currentClickType.url })
}) })
} else if (curItemType.link.type == 3) { } else if (curItemType.link.type == 3) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment