63 lines
1.2 KiB
Vue
63 lines
1.2 KiB
Vue
<template>
|
||
<div class="main">
|
||
<image :class="type==='index'?'typeImg':'img'" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/noData.svg"></image>
|
||
<p class="text" v-if="type!=='car'">抱歉,数据为第三方接口传输,无法进行画像分析</p>
|
||
<p class="text" v-else>抱歉,第三方数据未传,无法分析</p>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
name: "noData",
|
||
data(){
|
||
return {
|
||
type:''
|
||
}
|
||
},
|
||
props:{
|
||
type:{
|
||
type:String,
|
||
default:''
|
||
}
|
||
},
|
||
onLoad(query){
|
||
if (query.type){
|
||
this.type = 'index'
|
||
}
|
||
},
|
||
methods:{
|
||
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style scoped lang="scss">
|
||
.main{
|
||
width: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
align-items: center;
|
||
margin-top: 12px;
|
||
padding: 16px 0;
|
||
.img{
|
||
width:60px;
|
||
height: 60px;
|
||
margin-bottom: 8px;
|
||
}
|
||
.typeImg{
|
||
width: 80px;
|
||
height: 80px;
|
||
margin-top: 40vh;
|
||
margin-bottom: 16px;
|
||
}
|
||
.text{
|
||
font-size: 14px;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
font-weight: 400;
|
||
color: #6C737A;
|
||
line-height: 20rpx;
|
||
}
|
||
}
|
||
</style>
|