feat:抵扣券换成数字积分

This commit is contained in:
2026-06-25 19:44:48 +08:00
parent 3523cc3a21
commit 363f4a0c52
7 changed files with 76 additions and 48 deletions
+23 -24
View File
@@ -1,35 +1,34 @@
<template>
<view :style="{ height: safeHeight + 'px',width:width + 'px',backgroundColor:bgColor}"
class="top-view">
<view :style="{ height: safeHeight + 'px', width: width + 'px', backgroundColor: bgColor }" class="top-view">
</view>
</template>
<script>
import {screen} from './global.js'
export default {
data() {
return {
safeHeight:screen.top,
width:screen.width
}
},
props: {
bgColor:{
type:String,
default:'#fff'
}
},
onShow(){
import { screen } from './global.js'
export default {
data() {
return {
safeHeight: screen.top,
width: screen.width
}
},
props: {
bgColor: {
type: String,
default: '#fff'
}
},
onShow() {
// safeHeight:screen.top,
// width:screen.width,
},
mounted(){
this.width = screen.width;
}
},
mounted() {
this.width = screen.width;
}
}
</script>
<style lang="scss" scoped>
.top-view{
display: flex;
}
.top-view {
display: flex;
}
</style>