解决火狐浏览器没有样式问题

This commit is contained in:
A1300399510
2023-08-04 11:01:19 +08:00
parent fc94c98250
commit 87e6fdf8e9
18 changed files with 43 additions and 20 deletions

View File

@@ -367,7 +367,7 @@ export default {
name: 'HomeView'
}
</script>
<style scoped>
<style scoped lang="less">
img {
object-fit: contain;
}

View File

@@ -579,7 +579,15 @@ const dualBrandData = () => {
}
// 点击转发的复制链接按钮
const copy = (value) => copyToClipboard(value).then(() => ElMessage.success("复制成功!!!"))
const copy = (value) => copyToClipboard(value).then(() => {
ElMessage({
message: '复制成功',
center: true,
offset: 320,
duration: 1000,
customClass: 'message-info'
})
})
let contactReservationState = ref(false) // 联系预订客服的弹窗状态
let customerservicelist = ref([]) // 联系预订客服的弹窗状态
@@ -1815,4 +1823,19 @@ const publicJump = path => router.push(path)
}
}
}
</style>
</style>
<style lang="less">
.message-info {
background: #000000;
border-color: #000000;
color: #fff;
.el-message__content {
color: #fff;
}
.el-icon {
display: none;
}
}
</style>

View File

@@ -1502,7 +1502,7 @@ onBeforeUnmount(() => {
})
</script>
<style scoped>
<style scoped lang="less">
img {
object-fit: contain;
}
@@ -2993,7 +2993,7 @@ img {
color: #fff;
}
</style>
<style>
<style lang="less">
.message-info {
background: #000000;
border-color: #000000;

View File

@@ -128,7 +128,7 @@ onBeforeUnmount(() => {
})
</script>
<style scoped>
<style scoped lang="less">
img {
object-fit: contain;
}

View File

@@ -129,7 +129,7 @@ onBeforeUnmount(() => {
})
</script>
<style scoped>
<style scoped lang="less">
img {
object-fit: contain;
}

View File

@@ -144,7 +144,7 @@ onBeforeUnmount(() => {
})
</script>
<style scoped>
<style scoped lang="less">
img {
object-fit: contain;
}

View File

@@ -194,7 +194,7 @@ onBeforeUnmount(() => {
})
</script>
<style scoped>
<style scoped lang="less">
img {
object-fit: contain;
}