优化
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const app = getApp()
|
||||
Page({
|
||||
data: {
|
||||
|
||||
},
|
||||
confirmJieSuanDialog(){
|
||||
app.go("/Pages/index/index");
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-dialog": "tdesign-miniprogram/dialog/dialog"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<t-dialog
|
||||
visible="{{ true }}"
|
||||
title="温馨提示"
|
||||
content="您已被踢下线"
|
||||
>
|
||||
<view slot="confirm-btn" class="dialog dialog_confirm_btn" bindtap="confirmJieSuanDialog">
|
||||
好的
|
||||
</view>
|
||||
</t-dialog>
|
||||
@@ -0,0 +1,11 @@
|
||||
.dialog{
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
height: 100rpx;
|
||||
line-height: 100rpx;
|
||||
}
|
||||
.dialog_confirm_btn{
|
||||
border-top: 1px solid #E9E9E9;
|
||||
color: #3CC7C0;
|
||||
width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user