Commit 5ef6a135 by jscat

nyx weapp: 页面更新

1. 改小图标
2. 更新tabbar为weui格式
parent bc5971a7
<wxs module="tutil" src="./../../../utils/date.wxs"></wxs>
<wxs module="tutil" src="./../../../utils/date.wxs"></wxs>
......@@ -55,28 +55,27 @@
<!-- start bottom-->
<!-- refer to https://www.jb51.net/article/129438.htm -->
<view class="bottom_total">
<view class="bottom_line"></view>
<view class="weui-flex" style="height: 180rpx;">
<view class="weui-flex__item justify "><view class="placeholder">
<view class="list">
<view class="items" bindtap="toHome">
<image src="../../../icon/index.png"></image>
<text>首页</text>
</view>
<view class="items">
<button class="share" open-type="share">
</button>
<image src="../../../icon/activity/share.png"></image>
<text>分享</text>
</view>
<view class="page__bd">
<view class="weui-tabbar">
<view class="weui-tabbar__item">
<view style="position: relative;display:inline-block;">
<image src="../../../icon/index.png" class="weui-tabbar__icon"></image>
</view>
</view></view>
<view class="weui-flex__item weui-flex justify align"><view class="placeholder">
<button class="button-red" bindtap="toBuy">立即购买</button>
</view></view>
</view>
<view class="weui-tabbar__label">首页</view>
</view>
<view class="weui-tabbar__item">
<view style="position: relative;display:inline-block;">
<button class="share" open-type="share"></button>
<image src="../../../icon/activity/share.png" class="weui-tabbar__icon"></image>
</view>
<view class="weui-tabbar__label">分享</view>
</view>
<view class="weui-tabbar__item">
<view style="position: relative;display:inline-block;">
<button class="button-red" bindtap="toBuy">立即购买</button>
</view>
</view>
</view>
</view>
<!-- end bottom-->
......
.scroll-view_H{
.scroll-view_H{
......@@ -141,7 +141,7 @@
button {
color: white;
text-align: center;
font-size:36rpx;
font-size:32rpx;
height: 2.6em;
line-height: 2.6em;
}
......@@ -210,4 +210,12 @@
width: 40rpx;
height: 40rpx;
font-size: 0;
}
\ No newline at end of file
}
.weui-tabbar{
position:fixed;
bottom:0;
left:0;
right:0;
}
\ No newline at end of file
/*
/*
......@@ -237,7 +237,7 @@
color: #333;
}
.workbench .title{
font-size: 34rpx;
font-size: 32rpx;
padding: 20rpx 20rpx;
margin-bottom: 40rpx;
display: block;
......@@ -249,8 +249,8 @@
text-align: center;
}
.workbench .items image{
width: 100rpx;
height: 100rpx;
width: 80rpx;
height: 80rpx;
}
.workbench .items image.service-icon{
width: 50rpx;
......
<view class="page">
<view class="page">
......@@ -43,28 +43,27 @@
<!-- start bottom-->
<!-- refer to https://www.jb51.net/article/129438.htm -->
<view class="bottom_total">
<view class="bottom_line"></view>
<view class="weui-flex" style="height: 180rpx;">
<view class="weui-flex__item justify "><view class="placeholder">
<view class="list">
<view class="items" bindtap="toHome">
<image src="../../../icon/index.png"></image>
<text>首页</text>
</view>
<view class="items">
<button class="share" open-type="share">
</button>
<image src="../../../icon/activity/share.png"></image>
<text>分享</text>
</view>
<view class="page__bd">
<view class="weui-tabbar">
<view class="weui-tabbar__item">
<view style="position: relative;display:inline-block;">
<image src="../../../icon/index.png" class="weui-tabbar__icon"></image>
</view>
</view></view>
<view class="weui-flex__item weui-flex justify align"><view class="placeholder">
<button class="button-red" bindtap="toGame">立即参与</button>
</view></view>
</view>
<view class="weui-tabbar__label">首页</view>
</view>
<view class="weui-tabbar__item">
<view style="position: relative;display:inline-block;">
<button class="share" open-type="share"></button>
<image src="../../../icon/activity/share.png" class="weui-tabbar__icon"></image>
</view>
<view class="weui-tabbar__label">分享</view>
</view>
<view class="weui-tabbar__item">
<view style="position: relative;display:inline-block;">
<button class="button-red" bindtap="toGame">立即参与</button>
</view>
</view>
</view>
</view>
<!-- end bottom-->
......
.scroll-view_H{
.scroll-view_H{
......@@ -92,8 +92,8 @@
margin-left: 30rpx;
}
.writer-image{
width: 120rpx;
height: 120rpx;
width: 100rpx;
height: 100rpx;
margin-left: 5%;
}
......@@ -118,7 +118,7 @@
flex-direction: column;
bottom: 0;
width: 100%;
height: 180rpx;
height: 160rpx;
line-height: 10rpx;
background: white;
}
......@@ -131,7 +131,7 @@
button {
color: white;
text-align: center;
font-size: 40rpx;
font-size: 32rpx;
height: 2.6em;
line-height: 2.6em;
}
......@@ -153,16 +153,18 @@
align-items: center;
}
.list{
display: flex;
flex-direction: row;
}
.list .items{
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
}
.items image{
width: 80rpx;
height: 80rpx;
margin-top: 20rpx;
width: 64rpx;
height: 64rpx;
font-size: 0;
}
.items text{
......@@ -174,14 +176,6 @@
font-size: 28rpx;
}
.list{
display: flex;
flex-direction: row;
justify-content: space-between;
margin-left: 30rpx;
margin-right: 30rpx;
margin-top: 20rpx;
}
/* end bottom style */
/* 分享按钮 */
......@@ -200,4 +194,12 @@
width: 40rpx;
height: 40rpx;
font-size: 0;
}
\ No newline at end of file
}
.weui-tabbar{
position:fixed;
bottom:0;
left:0;
right:0;
}
\ No newline at end of file
.page{
.page{
......@@ -6,8 +6,8 @@
font-size: 0;
}
.weui-cell__hd image {
width: 100rpx;
height: 100rpx;
width: 80rpx;
height: 80rpx;
margin-right: 18px;
margin-left: 5px;
vertical-align: middle;
......
var formatTime = function (date) {
var formatTime = function (date) {
......@@ -48,6 +48,7 @@ var formatDate_ymdw_today = function (date) {
var formatDate_ymdw_today_2 = function (date) {
// 输入 2020-02-04 19:33:00
// 返回 2020年02月04日 周三
date = date+""
var date1 = getDate(date.split('-').join('/'));
var year = date1.getFullYear()
var month = date1.getMonth() + 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论