194 lines
3.7 KiB
Vue
194 lines
3.7 KiB
Vue
<template>
|
|
<view class="dialog-warp">
|
|
<view class="dialog-box">
|
|
<view class="content-box">
|
|
<view class="content-tile">
|
|
{{ $t('homePage.home.yhxyhyszc')}}
|
|
</view>
|
|
<view class="content-msg">
|
|
{{ $t('homePage.home.msgf')}}
|
|
<span class="xieyi" @click="toDetail"><u-link color="#009C77" href="https://ecloud.hoenergypower.cn/app-privacy-zh.html">《{{ $t('homePage.home.yhxy')}}》</u-link></span>{{ $t('homePage.home.and')}}<span class="xieyi" @click="toDetail"><u-link color="#009C77" href="https://ecloud.hoenergypower.cn/app-privacy-zh.html">《{{ $t('homePage.home.yszc')}}》</u-link></span>
|
|
{{ $t('homePage.home.msgs')}}
|
|
</view>
|
|
<view class="content-icon">
|
|
</view>
|
|
<u-button class="button" @click="submit" hover-class="none">{{ $t('homePage.home.agree')}}</u-button>
|
|
<view style="margin-top: 32rpx;color: #999999;" @click="quit">
|
|
{{ $t('homePage.home.quit')}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
version: {
|
|
type: String,
|
|
default: "",
|
|
},
|
|
progress: {
|
|
type: Number,
|
|
default: 0,
|
|
},
|
|
isShow: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
message: {
|
|
type: Array,
|
|
default: () => {
|
|
return [];
|
|
},
|
|
},
|
|
},
|
|
data() {
|
|
return {};
|
|
},
|
|
watch: {
|
|
progress: {
|
|
handler(val) {
|
|
this.newprogress = val;
|
|
this.$forceUpdate();
|
|
},
|
|
deep: true,
|
|
immediate: true,
|
|
},
|
|
},
|
|
methods: {
|
|
toDetail(){
|
|
|
|
},
|
|
submit(){
|
|
this.$emit('submit')
|
|
},
|
|
quit(){
|
|
this.$emit('quit')
|
|
},
|
|
upload() {
|
|
this.$emit("upload");
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.dialog-warp {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
position: fixed;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
|
|
.dialog-box {
|
|
width: 480rpx;
|
|
background: linear-gradient(rgba(232, 255, 249, 1), rgba(255, 255, 255, 1));
|
|
border-radius: 40rpx;
|
|
|
|
.bg {
|
|
border-top-left-radius: 40rpx;
|
|
border-top-right-radius: 40rpx;
|
|
width: 480rpx;
|
|
height: 240rpx;
|
|
}
|
|
|
|
.content-box {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 50rpx;
|
|
padding-top: 80rpx;
|
|
position: relative;
|
|
|
|
.content-tile {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.content-msg {
|
|
font-size: 24rpx;
|
|
margin-top: 20rpx;
|
|
.xieyi {
|
|
color: #009C77;
|
|
}
|
|
}
|
|
|
|
.content-icon {
|
|
position: absolute;
|
|
top: -40rpx;
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
background: url(/static/aidex/images/message-icon.png);
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
// justify-content: space-around;
|
|
.version-box {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.title {
|
|
font-size: 32rpx;
|
|
color: #000000;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.version {
|
|
padding-left: 24rpx;
|
|
font-size: 36rpx;
|
|
color: #009c77;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|
|
|
|
.message-box {
|
|
width: 100%;
|
|
padding-top: 40rpx;
|
|
min-height: 200rpx;
|
|
|
|
.value {
|
|
display: flex;
|
|
margin-bottom: 25rpx;
|
|
|
|
// align-items: center;
|
|
.yuan {
|
|
position: relative;
|
|
padding-left: 12rpx;
|
|
top: 13rpx;
|
|
max-width: 14rpx;
|
|
max-height: 12rpx;
|
|
border-radius: 50%;
|
|
background-color: #009c77;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.title {
|
|
color: #999999;
|
|
padding-left: 10rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.button {
|
|
margin-top: 50rpx;
|
|
width: 360rpx;
|
|
height: 70rpx;
|
|
background-color: #009c77;
|
|
border: none !important;
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
border-radius: 36rpx;
|
|
}
|
|
}
|
|
}
|
|
</style> |