fix wap ui

This commit is contained in:
cookfront
2017-04-18 18:02:33 +08:00
parent 9e9ca6c58a
commit e9807c1ad3
35 changed files with 66 additions and 53 deletions

View File

@@ -1,5 +1,6 @@
<template><section class="demo-dialog"><h1 class="demo-title">dialog</h1><example-block title="消息提示">
<template><section class="demo-dialog"><h1 class="demo-title">Dialog 弹出框</h1><example-block title="消息提示">
<zan-button @click="handleAlertClick">alert</zan-button>
<zan-button @click="handleAlert2Click">无标题alert</zan-button>
@@ -36,6 +37,14 @@ export default {
});
},
handleAlert2Click() {
Dialog.alert({
message: '无标题alert'
}).then((action) => {
console.log(action);
});
},
handleConfirmClick() {
Dialog.confirm({
title: 'confirm标题',