Update the code synchronously with the full version

Former-commit-id: 5bf27036a992914ff0875015cc33ea5f8b2c8b90
This commit is contained in:
liyang
2019-05-21 19:40:26 +08:00
parent de6911c3e2
commit 78db4eea6b
3 changed files with 9 additions and 6 deletions
@@ -60,6 +60,12 @@ export default {
}), }),
handleChange (value) { handleChange (value) {
this.sizeSet(value) this.sizeSet(value)
this.$notify({
title: '提示',
dangerouslyUseHTMLString: true,
message: '已更新页面内 <b>组件</b> 的 <b>默认尺寸</b><br/>例如按钮大小,<b>非字号</b>',
type: 'success'
})
}, },
iconName (name) { iconName (name) {
return name === this.value ? 'dot-circle-o' : 'circle-o' return name === this.value ? 'dot-circle-o' : 'circle-o'
@@ -30,11 +30,11 @@
</el-button-group> </el-button-group>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-alert :closable="false" type="info" title="2000人QQ群 [ 推荐 ]" class="d2-mb"/> <el-alert :closable="false" type="info" title="QQ群 [ 1500+ / 2000 人 ]" class="d2-mb"/>
<img src="./image/qq.jpg" style="width: 100%;"> <img src="./image/qq.jpg" style="width: 100%;">
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-alert :closable="false" type="info" title="与作者成为微信好友 邀请进微信群" class="d2-mb"/> <el-alert :closable="false" type="info" title="与作者成为好友后邀请进微信群" class="d2-mb"/>
<img src="./image/we.jpg" style="width: 100%;"> <img src="./image/we.jpg" style="width: 100%;">
</el-col> </el-col>
</el-row> </el-row>
@@ -45,7 +45,6 @@
<script> <script>
export default { export default {
name: 'd2-page-cover',
data () { data () {
return { return {
dialogVisible: false dialogVisible: false
+1 -3
View File
@@ -1,9 +1,7 @@
<template> <template>
<d2-container class="page"> <d2-container class="page">
<d2-page-cover> <d2-page-cover>
<d2-icon-svg <d2-icon-svg class="logo" name="d2-admin"/>
class="logo"
name="d2-admin"/>
<template slot="footer"> <template slot="footer">
<div class="btn-group"> <div class="btn-group">
<span class="btn-group__btn" @click="$open('https://github.com/d2-projects')">开源组织</span> | <span class="btn-group__btn" @click="$open('https://github.com/d2-projects')">开源组织</span> |