update home page

This commit is contained in:
macro 2019-07-23 21:46:51 +08:00
parent e19b9a6328
commit c162da626e
3 changed files with 34 additions and 9 deletions

View File

@ -4,6 +4,16 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>mall-admin-web</title>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?8b02a318fde5831da10426656a43d03c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<script src="./static/tinymce4.7.5/tinymce.min.js"></script>

View File

@ -4,17 +4,17 @@
<el-row :gutter="20">
<el-col :span="6">
<div class="out-border">
<div class="layout-title">GitHub地址</div>
<div class="layout-title">后台项目</div>
<div class="color-main address-content">
<a href="https://github.com/macrozheng/mall">项目地址</a>
<a href="https://github.com/macrozheng/mall">mall</a>
</div>
</div>
</el-col>
<el-col :span="6">
<div class="out-border">
<div class="layout-title">码云地址</div>
<div class="layout-title">前端项目</div>
<div class="color-main address-content">
<a href="https://gitee.com/macrozheng/mall">项目地址</a>
<a href="https://github.com/macrozheng/mall-admin-web">mall-admin-web</a>
</div>
</div>
</el-col>
@ -22,7 +22,7 @@
<div class="out-border">
<div class="layout-title">学习教程</div>
<div class="color-main address-content">
<a href="https://github.com/macrozheng/mall-learning">项目地址</a>
<a href="https://github.com/macrozheng/mall-learning">mall-learning</a>
</div>
</div>
</el-col>

View File

@ -46,13 +46,27 @@
<img :src="login_center_bg" class="login-center-layout">
<el-dialog
title="特别赞助"
:visible.sync="dialogVisible"
:visible.sync="supportDialogVisible"
width="30%">
<span>mall项目已由CODING特别赞助点击去支持页面加载完后点击<span class="color-main font-medium">免费体验</span>按钮即可完成支持谢谢</span>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogCancel">残忍拒绝</el-button>
<el-button type="primary" @click="dialogConfirm">去支持</el-button>
</span>
</span>
</el-dialog>
<el-dialog
title="公众号二维码"
:visible.sync="dialogVisible"
:show-close="false"
:center="true"
width="30%">
<div style="text-align: center">
<span>mall全套学习教程连载中<span class="color-main font-medium">关注公众号</span>第一时间获取</span>
<img src="http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/banner/qrcode_for_macrozheng_258.jpg" width="150" height="150" style="margin-top: 10px">
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="dialogConfirm">确定</el-button>
</span>
</el-dialog>
</div>
</template>
@ -91,7 +105,8 @@
loading: false,
pwdType: 'password',
login_center_bg,
dialogVisible:false
dialogVisible:false,
supportDialogVisible:false
}
},
methods: {
@ -126,7 +141,7 @@
dialogConfirm(){
this.dialogVisible =false;
setSupport(true);
window.location.href=SupportUrl;
// window.location.href=SupportUrl;
},
dialogCancel(){
this.dialogVisible = false;