feat: 新增支付页面

pull/2/head
TianYu 2023-05-23 16:23:09 +08:00
parent ec8c740a3b
commit 0c1eb5e969
3 changed files with 798 additions and 715 deletions

View File

@ -3,8 +3,10 @@
<text class="red" v-if="tipText">{{ tipText }}</text> <text class="red" v-if="tipText">{{ tipText }}</text>
<text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'" v-if="isDay === true">{{ day }}</text> <text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'" v-if="isDay === true">{{ day }}</text>
<text class="timeTxt red" v-if="dayText">{{ dayText }}</text> <text class="timeTxt red" v-if="dayText">{{ dayText }}</text>
<text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'">{{ hour }}</text> <template v-if="isShowHour">
<text class="timeTxt red" v-if="hourText">{{ hourText }}</text> <text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'">{{ hour }}</text>
<text class="timeTxt red" v-if="hourText">{{ hourText }}</text>
</template>
<text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'">{{ minute }}</text> <text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'">{{ minute }}</text>
<text class="timeTxt red" v-if="minuteText">{{ minuteText }}</text> <text class="timeTxt red" v-if="minuteText">{{ minuteText }}</text>
<text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'">{{ second }}</text> <text class="styleAll" :style="'background-color:'+ bgColor +';color:'+ colors +';'">{{ second }}</text>
@ -49,6 +51,10 @@
type: Boolean, type: Boolean,
default: true default: true
}, },
isShowHour: {
type: Boolean,
default: true
},
bgColor:{ bgColor:{
type: String, type: String,
default: "" default: ""

File diff suppressed because it is too large Load Diff

View File

@ -86,16 +86,16 @@
}; };
}, },
computed: mapGetters(['isLogin', 'uid', 'userInfo','tenantId']), computed: mapGetters(['isLogin', 'uid', 'userInfo','tenantId']),
watch: { // watch: {
isLogin: { // isLogin: {
handler: function(newV, oldV) { // handler: function(newV, oldV) {
if (newV) { // if (newV) {
this.userSpreadBannerList(); // this.userSpreadBannerList();
} // }
}, // },
deep: true // deep: true
} // }
}, // },
onLoad() { onLoad() {
if (this.isLogin) { if (this.isLogin) {
this.userSpreadBannerList(); this.userSpreadBannerList();