Authored by 李奇

样式优化

... ... @@ -57,21 +57,11 @@
height: 28rpx;
justify-content: center;
display: flex;
border-bottom-style:solid;
border-bottom-width: 1rpx;
border-bottom-color: black;
border-top-style:solid;
border-top-width: 1rpx;
border-top-color: black;
border-right-style:solid;
border-right-width: 1rpx;
border-right-color: black;
border-left-style:solid;
border-left-width: 1rpx;
border-left-color: black;
border: 1rpx solid #000;
border-radius: 6rpx;
margin-left: 30rpx;
margin-top: 2px;
line-height: 28rpx;
}
.header .leftView .textTelView .textTelButton .buttontext{
font-size: 21rpx;
... ...
... ... @@ -13,7 +13,7 @@ let timer;
Page({
data: {
windowHeight: windowHeight + 48,
windowHeight,
orderType: 1,
ordersList: [],
reason: [],
... ...
... ... @@ -26,7 +26,7 @@
<image src="../../../static/images/empty@2x.png" style="width:220rpx;height:220rpx"></image>
<br />
<view style="font-size:30rpx;text-align:center;margin-top:20rpx">您还没有任何订单,赶快去逛逛吧</view>
<button bindtap="goShopping" class="loginBtn">去逛逛</button>
<button bindtap="goShopping" class="shopping-btn">去逛逛</button>
</view>
</view>
<copyright class="copyright"></copyright>
... ...
... ... @@ -140,10 +140,11 @@ a {
text-decoration: none;
}
.loginBtn {
.shopping-btn {
width: 65%;
height: 90rpx;
font-size: 30rpx;
line-height: 90rpx;
text-align: center;
margin-top: 150rpx;
background-color: #444444;
... ...
... ... @@ -165,10 +165,9 @@ image {
.order .order-opt {
position: relative;
height: 100rpx;
padding-right: 27rpx;
padding-right: 30rpx;
border-top: 1rpx solid #e0e0e0;
text-align: right;
margin-right: 20rpx;
display: flex;
flex-direction:row;
justify-content:flex-end;
... ...
... ... @@ -19,7 +19,7 @@ Page({
urlParams: {},
showBackTop: false,
noResult: false,
windowHeight: windowHeight + 48,
windowHeight
},
onLoad:function (options) {
let title = decodeURIComponent(options.title) || '默认标题';
... ...
... ... @@ -18,7 +18,8 @@ Page({
noResult: false,
showLoading: false,
showNoMore: false,
showBackTop: false
showBackTop: false,
windowHeight: windowHeight
},
onReachBottom: function () {
if (this.data.currentPage < this.data.totalPage) {
... ...
<view class="search-container">
<view class="search-container" style="min-height:{{windowHeight}}px;">
<view class="top-search">
<input class="search-input" value="{{query}}" confirm-type="search" placeholder="潮流单品搜一下"
bindconfirm="confirmQuery" bindinput="bindQueryInput"
... ... @@ -20,5 +20,6 @@
</product-list>
</view>
</view>
<copyright class="copy-right"></copyright>
<quick-navigation show-back-top="{{showBackTop}}" bindbacktop="backTop"></quick-navigation>
</view>
... ...
.search-container {
position: relative;
box-sizing: border-box;
padding-bottom: 180rpx;
}
.copy-right {
position: absolute;
bottom: 0;
right: 0;
left: 0;
}
.top-search {
... ...