This commit is contained in:
2024-02-02 14:04:34 +08:00
parent 8851cbf7dd
commit cf39946c0b
11 changed files with 375 additions and 229 deletions

View File

@@ -0,0 +1,60 @@
<template>
<view style="display: flex;flex-direction: column; background: #F9F9F8;">
<NavBar ref="nav" navTitle=" " :showIcon="true">
</NavBar>
<image src="https://supervise.yxtsoft.com/lpk/image/recommend_icon.png" style="width: 100%;height: 60vw;">
</image>
<view style="margin-bottom: 50px; min-height: 70vh; background: #fff; margin-left: 15px;margin-right: 15px;margin-top: -20vw;
border-radius: 15px;">
<!-- 滚动视图 -->
<scroll-view scroll-y="true" style="padding: 10px; width: 100%; height: 100%;" bindscrolltoupper="upper" bindscrolltolower="lower"
bindscroll="scroll">
</scroll-view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
styleObject: {
'padding-top': '10px',
'padding-bottom': '10px',
'border-radius': '15px',
'background': '#f2f2f2'
},
}
},
methods: {
// 分页的请求
queryList(pageNo, pageSize) {
let _this = this
_this.$api.myOrderListByUserSid({
"current": pageNo,
"size": pageSize,
"params": {
"customerSid": getApp().globalData.sid,
"state": '1', //0 未提货 1 已提货
}
}).then((resp) => {
// 添加数据源
this.$refs.paging.complete(resp.records)
}).catch(e => {
// 出错了,点击重试
_this.$refs.paging.complete(false);
})
},
}
}
</script>
<style>
</style>

View File

@@ -44,8 +44,8 @@
</view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<text style="font-size: 12px;color: #999; margin-right: 5px;">预约时间</text>
<text style="font-size: 12px;color: #333;">{{item.createTime}}</text>
<text style="font-size: 12px;color: #999; margin-right: 5px;">预约日期</text>
<text style="font-size: 12px;color: #333;">{{item.reserveDate}}</text>
</view>
@@ -76,12 +76,12 @@
</view>
<view class="item_btn" v-if="item.showLsit" @click="showList(item)">
<view class="item_btn" v-if="!item.showLsit" @click="showList(item)">
<text style="font-size: 12px;color: #999; margin-right: 5px;">展开</text>
<image src="../../static/zhankai.png" style="width: 15px;height: 15px;"></image>
</view>
<view class="item_btn" v-if="!item.showLsit" @click="showList(item)">
<view class="item_btn" v-if="item.showLsit" @click="showList(item)">
<text style="font-size: 12px;color: #999; margin-right: 5px;">收起</text>
<image src="../../static/shouqi.png" style="width: 15px;height: 15px;"></image>
</view>

View File

@@ -35,7 +35,7 @@
<image src="../../static/time.png" style="width: 15px;height: 15px;margin-right: 5px;">
</image>
<text style="font-size: 12px;color: #BBBBBB; margin-right: 5px;">提菜日期</text>
<text style="font-size: 12px;color: #BBBBBB;">{{item.endTime}}</text>
<text style="font-size: 12px;color: #BBBBBB;">{{item.reserveDate}}</text>
</view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 20px;">
@@ -46,8 +46,8 @@
</view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<text style="font-size: 12px;color: #BBBBBB; margin-right: 5px;">预约时间</text>
<text style="font-size: 12px;color: #BBBBBB;">{{item.createTime}}</text>
<text style="font-size: 12px;color: #BBBBBB; margin-right: 5px;">预约日期</text>
<text style="font-size: 12px;color: #BBBBBB;">{{item.reserveDate}}</text>
</view>
@@ -82,12 +82,12 @@
</view>
<view class="item_btn" v-if="item.showLsit" @click="showList(item)">
<view class="item_btn" v-if="!item.showLsit" @click="showList(item)">
<text style="font-size: 12px;color: #999; margin-right: 5px;">展开</text>
<image src="../../static/zhankai.png" style="width: 15px;height: 15px;"></image>
</view>
<view class="item_btn" v-if="!item.showLsit" @click="showList(item)">
<view class="item_btn" v-if="item.showLsit" @click="showList(item)">
<text style="font-size: 12px;color: #999; margin-right: 5px;">收起</text>
<image src="../../static/shouqi.png" style="width: 15px;height: 15px;"></image>
</view>