代码拉取完成,页面将自动刷新
<template>
<view class="u-page">
<up-no-network
@disconnected="disconnected"
@connected="connected"
@retry="retry"
></up-no-network>
<view class="u-content">
<view class="u-content__circle">
<up-icon
name="checkbox-mark"
color="#fff"
size="30"
></up-icon>
</view>
<text class="u-content__normal">网络正常</text>
<text class="u-content__tips">请您断开设备的WiFi和数据连接(或开启飞行模式),即可看到效果</text>
</view>
</view>
</template>
<script>
export default {
methods: {
disconnected() {
console.log('disconnected');
},
connected() {
console.log('connected');
},
retry() {
console.log('retry');
}
},
}
</script>
<style lang="scss">
.u-content {
padding: 150px 60px 0;
@include flex(column);
align-items: center;
justify-content: center;
&__circle {
background-color: $u-success;
@include flex;
border-radius: 100px;
width: 60px;
height: 60px;
align-items: center;
justify-content: center;
}
&__normal {
font-size: 15px;
color: $u-success;
margin-top: 15px;
}
&__tips {
color: $u-tips-color;
font-size: 13px;
margin-top: 15px;
text-align: center;
}
}
</style>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。