Authored by 邱骏

个人中心样式修改

... ... @@ -185,8 +185,9 @@ Page({
query.select('.user-info-bar').boundingClientRect();
query.select('.out-login').boundingClientRect();
query.exec(result => {
let topHeight = result[0].height;
let bottomHeight = result[1].height;
let topHeight = result[0].height || 0;
let bottomHeight = result[1].height || 0;
let containerHeight = (windowHeight - topHeight - bottomHeight - 20 - 30) + 'px';
that.setData({
... ...
<wxs src="../../wxs/helper.wxs" module="helper" />
<view class="home-coupon-index">
<view class="user-info-bar">
<view class="user-info-bar" hidden='{{isBound}}'> <!--不需要显示用户信息了-->
<view wx:if="{{!isBound}}">
<image class="avatar" src="../../static/images/icons/avatar@2x.png"></image>
<text class="to-login">{{loginText}}</text>
... ... @@ -109,5 +109,6 @@
</block>
</view>
</view>
<view class="out-login" bindtap="outLogin" wx:if="{{userInfo.uid}}">退出登录</view>
<!--不用显示退出登录了-->
<view class="out-login" bindtap="outLogin" wx:if="{{userInfo.uid}}" hidden='true'>退出登录</view>
</view>
... ...
... ... @@ -162,7 +162,7 @@ scroll-view {
box-sizing: border-box;
padding: 0;
background-color: #fff;
margin-top: 20rpx;
margin-top: 0rpx;
}
.desc-container {
... ...
... ... @@ -440,6 +440,8 @@ Page(Object.assign({
showMsg: 1,
api_status: 0
});
yas.report('YB_QUEUE_SUCCESS_L', {LIMIT_CODE: this.data.shareInfo.limitProductCode});
setTimeout(this.getQueueList, 1000);
// this.getQueueList(this.data.activityInfo.activityId, 0);
... ...
... ... @@ -33,7 +33,7 @@
"list": []
},
"miniprogram": {
"current": 4,
"current": -1,
"list": [
{
"id": 0,
... ...
... ... @@ -7,6 +7,6 @@ export default {
snapShare: {path: '/pages/snapshootShare/snapshootShare'},
prizeUserList: {path: '/pages/queue/prizeUserList'},
myList: {path: '/pages/queue/myList'},
queueIndex: {path: '/pages/queue/index'},
queueIndex: { path: '/pages/queue/index', report: {paramKey: 'actId'}},
webview: {path: '/pages/webview/webview'}
};
... ...