Commit 68ccebea authored by Facius's avatar Facius

improve: 浏览记录页面布局

parent d146ca01
...@@ -16,39 +16,41 @@ ...@@ -16,39 +16,41 @@
/> />
</view> </view>
<template v-else> <template v-else>
<view class="head-view">
<image
:src="chakanjiluImage"
class="back-image"
mode="widthFix"
></image>
<view class="head-info">
<view>最近查看记录</view>
<view class="head-message">最近查看或操作过的5条订单</view>
</view>
</view>
<view class="loading-view" v-if="!loaded"> <view class="loading-view" v-if="!loaded">
<u-loading mode="flower"></u-loading> <u-loading mode="flower"></u-loading>
</view> </view>
<view class="content-view" v-else> <template v-else>
<view v-for="item in orderList" :key="item.orderId"> <view class="head-view">
<OrderCell <image
:orderData="item" :src="chakanjiluImage"
:location="[]" class="back-image"
model="simple" mode="widthFix"
@click="handleClickCell" ></image>
@action="handleClickButton" <view class="head-info">
> <view>最近查看记录</view>
</OrderCell> <view class="head-message">最近查看或操作过的5条订单</view>
</view>
</view> </view>
<view class="bottom-tip"> <view class="content-view">
<u-loadmore <view v-for="item in orderList" :key="item.orderId">
:status="nomore" <OrderCell
font-size="26" :orderData="item"
color="#999999" :location="[]"
></u-loadmore> model="simple"
@click="handleClickCell"
@action="handleClickButton"
>
</OrderCell>
</view>
<view class="bottom-tip">
<u-loadmore
:status="nomore"
font-size="26"
color="#999999"
></u-loadmore>
</view>
</view> </view>
</view> </template>
</template> </template>
</view> </view>
</template> </template>
...@@ -155,6 +157,9 @@ export default { ...@@ -155,6 +157,9 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100vh; height: 100vh;
.none-view {
margin-top: 140rpx;
}
.head-view { .head-view {
display: relative; display: relative;
.back-image { .back-image {
......
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