|
@@ -317,21 +317,29 @@ export default {
|
|
|
|
|
|
.wifiScan {
|
|
.wifiScan {
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
- width: 188rpx;
|
|
|
|
- height: 188rpx;
|
|
|
|
|
|
+ width: 250rpx;
|
|
|
|
+ height: auto;
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 30%;
|
|
top: 30%;
|
|
- left: 36%;
|
|
|
|
|
|
+ left: 50%;
|
|
|
|
+ transform: translateX(-50%);
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center; // 横向居中
|
|
|
|
+
|
|
image {
|
|
image {
|
|
width: 188rpx;
|
|
width: 188rpx;
|
|
height: 188rpx;
|
|
height: 188rpx;
|
|
}
|
|
}
|
|
|
|
+
|
|
.wifiText {
|
|
.wifiText {
|
|
- width: 208rpx;
|
|
|
|
- margin: 20rpx auto;
|
|
|
|
|
|
+ margin-top: 20rpx;
|
|
color: #95a4b3;
|
|
color: #95a4b3;
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ width: auto; // 自适应宽度
|
|
|
|
+ max-width: 400rpx; // 限制最大宽度,防止太宽撑开
|
|
|
|
+ word-break: break-word; // 超出一行自动换行
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|