Compare commits

..

No commits in common. "b1b0aa91a0897842050c3c24fa36cb1c0e0ea052" and "e3a8a829f1e0bef965709c7ea9f09044d7b3b1f0" have entirely different histories.

3 changed files with 2 additions and 112 deletions

View File

@ -1,38 +0,0 @@
.base-dialog {
overflow: initial;
.dialog-img {
margin-top: -38px;
width: 100%;
}
.dialog-title {
height: 30px;
text-align: center;
font-size: 23px;
font-weight: bold;
color: rgb(23, 23, 23);
}
.dialog-text {
height: 55px;
line-height: 55px;
text-align: center;
font-size: 15px;
color: rgb(82, 77, 77);
margin: 10px 0px;
padding: 0px 10px;
}
.dialog-btn {
width: 199px;
height: 46px;
text-align: center;
background: rgb(254, 99, 68);
border-radius: 23px;
font-size: 19px;
color: rgb(255, 255, 255);
line-height: 45px;
margin: auto;
}
}

View File

@ -1,74 +0,0 @@
<template>
<van-dialog
class="base-dialog"
v-model:show="model"
:width="width"
:height="height"
:style="{ height: height }"
:showConfirmButton="false"
>
<img class="dialog-img" :src="imgUrl" />
<p class="dialog-title">{{ title }}</p>
<p class="dialog-text">{{ text }}</p>
<div class="dialog-btn">{{ confirmTxt }}</div>
</van-dialog>
</template>
<script lang="ts">
export default {
name: "base-dialog",
props: {
//
modelValue: {
type: Boolean,
default: true,
},
//
imgUrl: {
type: String,
// https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/popErr.png
default:
"https://lsxdmgoss.oss-cn-chengdu.aliyuncs.com/MarketingSystem/image/front/popNotes.png",
},
// title
title: {
type: String,
default: "温馨提示",
},
//
text: {
type: String,
default: "请重新进入",
},
//
confirmTxt: {
type: String,
default: "我知道了",
},
cancleTxt: {
type: String,
default: "",
},
//
width: {
type: String,
default: "274px",
},
//
height: {
type: String,
default: "266px",
},
},
data() {
return {
model: this.modelValue,
};
},
created() {
console.log("zgpppppp");
},
};
</script>
<style lang="scss">
@use "./index.scss";
</style>

View File

@ -381,6 +381,7 @@ export default {
.then(() => { .then(() => {
this.copyFn(url); this.copyFn(url);
}) })
.catch(() => {})
} else { } else {
// //
location.replace(url); location.replace(url);
@ -397,6 +398,7 @@ export default {
.then(() => { .then(() => {
this.copyFn(url); this.copyFn(url);
}) })
.catch(() => {})
} else { // + } else { // +
// todo // todo
location.replace('https://www.baidu.com/') location.replace('https://www.baidu.com/')