Commit 60e1c33c by jscat

nyx-master: 产品-页面

1. 调整活动信息页(quiz-info)的置底栏
2. 调整活动结果页(quiz-result)的置底栏
parent 2858cc24
// pages/index/note-info/note-info.js // pages/index/note-info/note-info.js
...@@ -146,8 +146,13 @@ Page({ ...@@ -146,8 +146,13 @@ Page({
wx.navigateTo({ wx.navigateTo({
url: "/pages/key/matchDaily/matchDaily" url: "/pages/key/matchDaily/matchDaily"
}); });
},
//跳转到首页
toHome: function (e) {
wx.switchTab({
url: "/pages/activity/activity"
});
}, },
......
<view class="page"> <view class="page">
...@@ -38,9 +38,9 @@ ...@@ -38,9 +38,9 @@
<view class="bottom_line"></view> <view class="bottom_line"></view>
<view class="weui-flex" style="height: 180rpx;"> <view class="weui-flex" style="height: 180rpx;">
<view class="weui-flex__item"><view class="placeholder"> <view class="weui-flex__item justify "><view class="placeholder">
<view class="list"> <view class="list">
<view class="items"> <view class="items" bindtap="toHome">
<image src="../../../icon/index.png"></image> <image src="../../../icon/index.png"></image>
<text>首页</text> <text>首页</text>
</view> </view>
......
.scroll-view_H{ .scroll-view_H{
...@@ -137,9 +137,11 @@ ...@@ -137,9 +137,11 @@
} }
.placeholder{ .placeholder{
margin: 30rpx; margin-left: 20rpx;
margin-right: 20rpx;
text-align: center; text-align: center;
vertical-align: middle; /* vertical-align: middle; */
padding: 0 10px;
line-height: 2.3em; line-height: 2.3em;
color: rgba(0,0,0); color: rgba(0,0,0);
} }
...@@ -158,8 +160,8 @@ ...@@ -158,8 +160,8 @@
align-items: center; align-items: center;
} }
.items image{ .items image{
width: 50rpx; width: 80rpx;
height: 50rpx; height: 80rpx;
margin-top: 20rpx; margin-top: 20rpx;
font-size: 0; font-size: 0;
} }
......
// pages/index/note-info/note-info.js // pages/index/note-info/note-info.js
...@@ -115,5 +115,12 @@ Page({ ...@@ -115,5 +115,12 @@ Page({
}); });
}, },
//跳转到首页
toHome: function (e) {
wx.switchTab({
url: "/pages/activity/activity"
});
},
}) })
\ No newline at end of file
<view class="page"> <view class="page">
...@@ -47,14 +47,21 @@ ...@@ -47,14 +47,21 @@
<image src="../../../icon/activity/points.png"></image> <image src="../../../icon/activity/points.png"></image>
<text>查看积分</text> <text>查看积分</text>
</view> </view>
</view>
</view></view>
<view class="weui-flex__item weui-flex justify align"><view class="placeholder">
<view class="list">
<view class="items"> <view class="items">
<button class="share" open-type="share">
</button>
<image src="../../../icon/activity/share.png"></image> <image src="../../../icon/activity/share.png"></image>
<text>分享战绩</text> <text>分享战绩</text>
</view> </view>
<!-- </view>
</view></view>
<view class="weui-flex__item weui-flex justify align"><view class="placeholder">
<view class="list"> -->
<view class="items" bindtap="toHome">
<image src="../../../icon/index.png"></image>
<text>返回首页</text>
</view>
</view> </view>
</view></view> </view></view>
</view> </view>
......
.page{ .page{
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
} }
.placeholder{ .placeholder{
width: 100%;
margin: 5px; margin: 5px;
padding: 0 10px; padding: 0 10px;
text-align: center; text-align: center;
......
<view class="page"> <view class="page">
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<view class="t4"> <view class="t4">
<view class="t4-left">优惠券码:264669616164</view> <view class="t4-left">优惠券码:264669616164</view>
<view class="t4-right" bindtap="onClickBarcode"> <view class="t4-right" bindtap="onClickBarcode" hidden="{{validStatus==false?true:false}}">
<image src="../../../icon/my/logo-barcode.png"></image> <image src="../../../icon/my/logo-barcode.png"></image>
</view> </view>
</view> </view>
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<view class="t4"> <view class="t4">
<view class="t4-left">优惠券码:264669616164</view> <view class="t4-left">优惠券码:264669616164</view>
<view class="t4-right" bindtap="onClickBarcode"> <view class="t4-right" bindtap="onClickBarcode" hidden="{{validStatus==false?true:false}}">
<image src="../../../icon/my/logo-barcode.png"></image> <image src="../../../icon/my/logo-barcode.png"></image>
</view> </view>
</view> </view>
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
<view class="t4"> <view class="t4">
<view class="t4-left">优惠券码:264669616164</view> <view class="t4-left">优惠券码:264669616164</view>
<view class="t4-right" bindtap="onClickBarcode"> <view class="t4-right" bindtap="onClickBarcode" hidden="{{validStatus==false?true:false}}">
<image src="../../../icon/my/logo-barcode.png"></image> <image src="../../../icon/my/logo-barcode.png"></image>
</view> </view>
</view> </view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论