Commit 6177a4fa by xiaohai Committed by 无尘

.

parent 2243a433
......@@ -46,7 +46,7 @@
<div class="swiper-button-next" slot="button-next"><i class="el-icon-arrow-right"></i></div>
</swiper>
</div>
<el-button type="primary" @click="toIndex">登录</el-button>
<el-button type="primary">登录</el-button>
</div>
</div>
</div>
......@@ -73,22 +73,22 @@ export default {
// 企业列表
enterpriseList:[
{
id: '1233',
id: '1231',
src: require("../../assets/logo.png"),
name: '达摩网络'
},
{
id: '123354',
id: '1232',
src: require("../../assets/logo.png"),
name: '达摩网络2'
},
{
id: '12353',
id: '1233',
src: require("../../assets/logo.png"),
name: '达摩网络'
},
{
id: '123634',
id: '1234',
src: require("../../assets/logo.png"),
name: '达摩网络2'
}
......@@ -113,11 +113,9 @@ export default {
},
methods: {
/**
* 处理路由跳转
*/
// 处理路由跳转
toRouterView(val) {
const that = this;
var that = this;
// 模拟检查数据
// //有两个参数
//{
......@@ -129,21 +127,15 @@ export default {
path: val.path
})
},
/**
* 折叠事件
*/
// 折叠事件
collapseTag(val){
const that = this;
var that = this;
console.log(val);
that.collapseFlag = val
},
/**
* 生成二维码
*/
qrcode (text) {
const that = this;
var that = this;
that.qrcodeCase = new QRCode('qrcode',
{
width: 210,
......@@ -157,35 +149,25 @@ export default {
console.log(that.qrcodeCase)
},
/**
* 刷新二维码
*/
// 刷新二维码
refreshCode() {
const that = this;
var that = this;
document.getElementById("qrcode").innerHTML = '';
that.qrcodeCase.clear(); // 先清除原有的
that.qrcode(5666315956663159)
that.expiredFlag = false; //隐藏过期遮罩层
},
/**
* 登录
*/
toIndex() {
const that = this
that.$router.push('/index')
}
},
mounted() {
const that = this
var that = this
/**
*生成二维码
*/
// that.qrcode(55555566767)
that.qrcode(55555566767)
},
components: {
swiper,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment