初始化万家商超用户端仓库

This commit is contained in:
wangxiaowei
2025-04-30 14:04:34 +08:00
commit 022c640d89
425 changed files with 160005 additions and 0 deletions

View File

@ -0,0 +1,338 @@
<template>
<view class="page" :style="themeColor">
<view class="flex benben-position-layout flex flex-wrap align-center detailsPage_flex_0"
:style="{height:(90+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex flex-wrap align-center justify-between flex-sub detailsPage_fd0_0'>
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
<text class='fu-iconfont2 detailsPage_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
data-url="1">&#xE794;</text>
</view>
<view class='flex flex-wrap align-stretch justify-center flex-sub'>
<text class='detailsPage_fd0_0_c1_c0'>详情</text>
</view>
<view class='flex flex-wrap align-center detailsPage_fd0_0_c2'>
</view>
</view>
</view>
<view :style="{height: (90+StatusBarRpx)+'rpx'}"></view>
<!---flex布局flex布局开始-->
<view class="flex benben-flex-layout flex-wrap align-center detailsPage_flex_1">
<view class='flex flex-direction flex-wrap align-stretch flex-sub detailsPage_fd1_0'>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c0'>
<view class="flex align-center">
<image class='detailsPage_fd1_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"22.png"'></image>
<text class='detailsPage_fd1_0_c0_c1'>{{details.store_name}}</text>
</view>
<view class="flex align-center" @tap.stop="handleJumpDiy"
data-type="navigateTo" :data-url="`/pages/dd/orderDetails/orderDetails?sn=${details.order_sn}`">
<text>查看订单</text>
<image style="width: 24rpx; height: 24rpx; margin-left: 12rpx;" class='myOrder_fd2_0_c0_c0_c2' mode="aspectFit" :src='STATIC_URL+"25.png"'></image>
</view>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c1'>
<text class='detailsPage_fd1_0_c1_c0'>该笔订单累计获得抵用券</text>
<text class='detailsPage_fd1_0_c1_c1'>{{details.score}}</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c2'>
<text class='detailsPage_fd1_0_c2_c0'>该笔订单用户获得积分</text>
<text class='detailsPage_fd1_0_c2_c1'>{{details.freeze_score}}</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c3'>
<text class='detailsPage_fd1_0_c3_c0'>订单金额</text>
<text class='detailsPage_fd1_0_c3_c1'>{{details.order_money}}</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c4'>
<text class='detailsPage_fd1_0_c4_c0'>订单编号</text>
<text class='detailsPage_fd1_0_c4_c1'>{{details.order_sn}}</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c5'>
<text class='detailsPage_fd1_0_c5_c0'>下单时间</text>
<text class='detailsPage_fd1_0_c5_c1'>{{details.create_time}}</text>
</view>
<view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' v-for="(item,index) in lists" :key="index">
<view class='flex flex-direction flex-wrap align-start'>
<text class='detailsPage_fd1_0_c6_c0_c0'>变动时间</text>
<text class='detailsPage_fd1_0_c6_c0_c1'>{{item.create_time}}</text>
<text class='detailsPage_fd1_0_c6_c0_c1' style="color: #59A6F4;">{{item.type_name}}</text>
</view>
<view class='flex flex-wrap align-center'>
<text class='detailsPage_fd1_0_c6_c1_c0'>+</text>
<text class='detailsPage_fd1_0_c6_c1_c1'>{{item.change_score}}</text>
</view>
</view>
</view>
</view>
<!---flex布局flex布局结束-->
</view>
</template>
<script>
export default {
components: {},
data() {
return {
"aid": "",
details:"",
lists:""
};
},
computed: {
themeColor() {
return this.$store.getters.themeColor
},
},
watch: {},
onLoad(options) {
let {aid} = options
if (aid !== undefined) this.aid = aid
this.post64916daebef0c()
},
methods: {
post64916daebef0c(){
this.$api.post(global.apiUrls.post64916daebef0c,{
aid:this.aid
}).then(res=>{
if(res.data.code==1){
this.details = res.data.data;
this.lists = res.data.data.list
}
})
}
}
};
</script>
<style lang="scss" scoped>
.page {
width: 100vw;
overflow-x: hidden;
min-height: calc(100vh - var(--window-bottom));
background: rgba(246, 247, 249, 1);
background-size: 100% auto !important;
}
.detailsPage_flex_0 {
background: #fff;
width: 750rpx;
height: 120rpx;
overflow: hidden;
z-index: 10;
top: 0rpx;
background-size: 100% auto !important;
}
.detailsPage_fd0_0_c2 {
width: 32rpx;
height: 32rpx;
}
.detailsPage_fd0_0_c1_c0 {
font-size: 36rpx;
font-weight: 600;
color: #333333;
line-height: 36rpx;
}
.detailsPage_fd0_0_c0_c0 {
font-size: 32rpx;
font-weight: 500;
color: #333;
line-height: 88rpx;
}
.detailsPage_fd0_0 {
margin: 0rpx 32rpx 0rpx 32rpx;
}
.detailsPage_flex_1 {
padding: 24rpx 32rpx 0rpx 32rpx;
}
.detailsPage_fd1_0_c7_c1_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.detailsPage_fd1_0_c7_c1_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.detailsPage_fd1_0_c7_c0_c1 {
color: #999999;
font-size: 24rpx;
font-weight: 400;
line-height: 30rpx;
margin: 16rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c7_c0_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.detailsPage_fd1_0_c7 {
margin: 0rpx 0rpx 32rpx 0rpx;
}
.detailsPage_fd1_0_c6_c1_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.detailsPage_fd1_0_c6_c1_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.detailsPage_fd1_0_c6_c0_c1 {
color: #999999;
font-size: 24rpx;
font-weight: 400;
line-height: 30rpx;
margin: 16rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c6_c0_c0 {
color: #333333;
font-size: 28rpx;
font-weight: 500;
line-height: 30rpx;
}
.detailsPage_fd1_0_c6 {
margin: 0rpx 0rpx 32rpx 0rpx;
}
.detailsPage_fd1_0_c5_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c5_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c5 {
margin: 24rpx 0rpx 98rpx 0rpx;
}
.detailsPage_fd1_0_c4_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c4_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c4 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c3_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c3_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c3 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c2_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c2_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c2 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c1_c1 {
color: #333333;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c1_c0 {
color: #666666;
font-size: 28rpx;
font-weight: 400;
line-height: 28rpx;
}
.detailsPage_fd1_0_c1 {
margin: 24rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c0_c1 {
color: #333333;
font-size: 32rpx;
font-weight: 500;
line-height: 32rpx;
}
.detailsPage_fd1_0_c0_c0 {
width: 30rpx;
height: 28rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
margin: 0rpx 16rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c0 {
margin: 0rpx 0rpx 4rpx 0rpx;
}
.detailsPage_fd1_0 {
background-color: #fff;
// background: url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/28.png) no-repeat, #eee;
background-size: 100% auto !important;
padding: 32rpx 24rpx 0rpx 24rpx;
border-radius: 16rpx;
}
</style>

View File

@ -0,0 +1,233 @@
<template>
<view class="page" :style="themeColor">
<view class="flex benben-position-layout flex flex-wrap align-center detailsPage_flex_0" :style="{height:(120+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
<view class='flex flex-wrap align-center justify-between flex-sub detailsPage_fd0_0' >
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1" >
<text class='fu-iconfont2 detailsPage_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1" >&#xE794;</text>
</view>
<view class='flex flex-wrap align-stretch justify-center flex-sub' >
<text class='detailsPage_fd0_0_c1_c0' >详情</text>
</view>
<view class='flex flex-wrap align-center detailsPage_fd0_0_c2' >
</view>
</view>
</view>
<view :style="{height: (120+StatusBarRpx)+'rpx'}" ></view>
<!---flex布局flex布局开始-->
<view class="flex benben-flex-layout flex-wrap align-center detailsPage_flex_1" >
<view class='flex flex-direction flex-wrap align-stretch flex-sub detailsPage_fd1_0' >
<view class='flex flex-wrap align-center detailsPage_fd1_0_c0' >
<image class='detailsPage_fd1_0_c0_c0' mode="aspectFit" :src='STATIC_URL+"135.png"'></image>
<text class='detailsPage_fd1_0_c0_c1' >仟吉蛋糕店</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c1' >
<text class='detailsPage_fd1_0_c1_c0' >该笔订单累计获得抵用券</text>
<text class='detailsPage_fd1_0_c1_c1' >20.00</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c2' >
<text class='detailsPage_fd1_0_c2_c0' >该笔订单用户获得积分</text>
<text class='detailsPage_fd1_0_c2_c1' >15.00</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c3' >
<text class='detailsPage_fd1_0_c3_c0' >订单金额</text>
<text class='detailsPage_fd1_0_c3_c1' >100.00</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c4' >
<text class='detailsPage_fd1_0_c4_c0' >订单编号</text>
<text class='detailsPage_fd1_0_c4_c1' >65478855662241</text>
</view>
<view class='flex flex-wrap align-center justify-between detailsPage_fd1_0_c5' >
<text class='detailsPage_fd1_0_c5_c0' >下单时间</text>
<text class='detailsPage_fd1_0_c5_c1' >2019-2-19 14:27:56</text>
</view>
<view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c6' >
<view class='flex flex-direction flex-wrap align-start' >
<text class='detailsPage_fd1_0_c6_c0_c0' >变动时间</text>
<text class='detailsPage_fd1_0_c6_c0_c1' >2019-2-19 14:27:56</text>
</view>
<view class='flex flex-wrap align-center' >
<text class='detailsPage_fd1_0_c6_c1_c0' >+</text>
<text class='detailsPage_fd1_0_c6_c1_c1' >1.31</text>
</view>
</view>
<view class='flex flex-wrap align-start justify-between detailsPage_fd1_0_c7' >
<view class='flex flex-direction flex-wrap align-start' >
<text class='detailsPage_fd1_0_c7_c0_c0' >变动时间</text>
<text class='detailsPage_fd1_0_c7_c0_c1' >2019-2-19 14:27:56</text>
</view>
<view class='flex flex-wrap align-center' >
<text class='detailsPage_fd1_0_c7_c1_c0' >+</text>
<text class='detailsPage_fd1_0_c7_c1_c1' >1.31</text>
</view>
</view>
</view>
</view>
<!---flex布局flex布局结束-->
</view>
</template>
<script>
export default {
components:{},
data(){
return {"id":""};
},
computed:{
themeColor() {
return this.$store.getters.themeColor
},
},
watch:{},
onLoad(options){
let {id}=options
if (id !== undefined) this.id = id
},
onUnload() {
},
onReady(){
},
onShow(){
},
onHide(){
},
onResize(){
},
onPullDownRefresh(){
},
onReachBottom(e){
},
onPageScroll(e){
},
methods:{
}
};
</script>
<style lang="scss" scoped>
.page{
width: 100vw;
overflow-x: hidden;
min-height: calc(100vh - var(--window-bottom));
background:rgba(246, 247, 249, 1);background-size: 100% auto !important;
}
.detailsPage_flex_0{
background:#fff;width:750rpx;height:120rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
}
.detailsPage_fd0_0_c2{
width:32rpx;height:32rpx;
}
.detailsPage_fd0_0_c1_c0{
font-size:36rpx;font-weight:600;color:#333333;line-height:36rpx;
}
.detailsPage_fd0_0_c0_c0{
font-size:32rpx;font-weight:500;color:#333;line-height:88rpx;
}
.detailsPage_fd0_0{
margin:0rpx 32rpx 0rpx 32rpx;
}
.detailsPage_flex_1{
padding:24rpx 32rpx 0rpx 32rpx;
}
.detailsPage_fd1_0_c7_c1_c1{
color:#333333;font-size:28rpx;font-weight:500;line-height:30rpx;
}
.detailsPage_fd1_0_c7_c1_c0{
color:#333333;font-size:28rpx;font-weight:500;line-height:30rpx;
}
.detailsPage_fd1_0_c7_c0_c1{
color:#999999;font-size:24rpx;font-weight:400;line-height:30rpx;margin:16rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c7_c0_c0{
color:#333333;font-size:28rpx;font-weight:500;line-height:30rpx;
}
.detailsPage_fd1_0_c7{
margin:0rpx 0rpx 32rpx 0rpx;
}
.detailsPage_fd1_0_c6_c1_c1{
color:#333333;font-size:28rpx;font-weight:500;line-height:30rpx;
}
.detailsPage_fd1_0_c6_c1_c0{
color:#333333;font-size:28rpx;font-weight:500;line-height:30rpx;
}
.detailsPage_fd1_0_c6_c0_c1{
color:#999999;font-size:24rpx;font-weight:400;line-height:30rpx;margin:16rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c6_c0_c0{
color:#333333;font-size:28rpx;font-weight:500;line-height:30rpx;
}
.detailsPage_fd1_0_c6{
margin:0rpx 0rpx 32rpx 0rpx;
}
.detailsPage_fd1_0_c5_c1{
color:#333333;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c5_c0{
color:#666666;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c5{
margin:20rpx 0rpx 68rpx 0rpx;
}
.detailsPage_fd1_0_c4_c1{
color:#333333;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c4_c0{
color:#666666;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c4{
margin:20rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c3_c1{
color:#333333;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c3_c0{
color:#666666;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c3{
margin:20rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c2_c1{
color:#333333;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c2_c0{
color:#666666;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c2{
margin:20rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c1_c1{
color:#333333;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c1_c0{
color:#666666;font-size:28rpx;font-weight:400;line-height:28rpx;
}
.detailsPage_fd1_0_c1{
margin:20rpx 0rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c0_c1{
color:#333333;font-size:32rpx;font-weight:500;line-height:32rpx;
}
.detailsPage_fd1_0_c0_c0{
width:30rpx;height:28rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 16rpx 0rpx 0rpx;
}
.detailsPage_fd1_0_c0{
margin:0rpx 0rpx 4rpx 0rpx;
}
.detailsPage_fd1_0{
background:url(https://lvtai-files.oss-cn-beijing.aliyuncs.com/mini/137.png) no-repeat ,#eee;background-size:100% auto !important;padding:32rpx 24rpx 0rpx 24rpx;
}
</style>