Commit 21a7baca authored by 黄奎's avatar 黄奎

页面修改

parent d44c4057
......@@ -26,7 +26,6 @@
<span @click="SelectTab1(3)" :class="tab1==3 ? 'active' :''" style="display:none;">设置</span>
</div>
</div>
</div>
<div style="width:100%;margin-top:20px">
<div class="main-container">
......@@ -61,7 +60,6 @@
</el-col>
</el-row>
</div>
</div>
<div v-show="tab1==2" class="content">
<div style="background:#fff" class="radius tab2Div">
......@@ -291,7 +289,6 @@
</span>
</el-dialog>
<!-- 创建商城 -->
<el-dialog title="创建商城" :visible.sync="createMallDig" width="440px">
<el-form :model="creatMallMsg" :rules="creatMallMsgrules" ref="creatMallMsg" label-width="100px">
......@@ -367,7 +364,6 @@
<p>图片样式接口(选填)</p>
<el-input v-model="addMsg.name"></el-input>
<div>示例: <span class="cred">?imageView2/0/w/1080/h/1080/q/85|imageslim</span></div>
</el-form-item>
</template>
</el-form>
......@@ -737,7 +733,7 @@
var cmdStr = "";
//cmdStr="/api/Mall/GetHome";
var postData = {
};
if (cmdStr != "") {
this.apipost(cmdStr, postData, res => {
......
......@@ -178,15 +178,6 @@
</el-form-item>
<div class="el-form-item el-form-item--small">
<div class="el-form-item__content" style="margin-left: 0px;">
<!--<label class="el-checkbox">-->
<!--<span class="el-checkbox__input">-->
<!--<span class="el-checkbox__inner"></span>-->
<!--<input type="checkbox" aria-hidden="false" class="el-checkbox__original" value />-->
<!--</span>-->
<!--<span class="el-checkbox__label">-->
<!--记住我,以后自动登录-->
<!--</span>-->
<!--</label>-->
<el-checkbox v-model="checked">记住我,以后自动登录</el-checkbox>
</div>
</div>
......@@ -234,13 +225,8 @@
message: "请输入密码",
trigger: "blur"
}],
// ValidataCode: [{
// required: true,
// message: "请输入右侧图片上的文字",
// trigger: "blur"
// }]
},
checked:false
checked: false
};
},
created() {
......@@ -248,11 +234,11 @@
if (this.$route.query.mall_id) {
this.msg.MallBaseId = this.$route.query.mall_id;
}
if(localStorage.remember_login){
if (localStorage.remember_login) {
let re_login = JSON.parse(localStorage.remember_login)
this.msg.Account = re_login.acc;
this.msg.Password = re_login.pwd;
this.checked=re_login.checked;
this.checked = re_login.checked;
}
},
methods: {
......@@ -272,16 +258,15 @@
var userData = res.data.data;
var userJson = JSON.stringify(userData);
localStorage.mall_userInfo = userJson;
if(this.checked==true){
if (this.checked == true) {
let remember_login = JSON.stringify({
checked:this.checked,
acc:this.msg.Account,
pwd:this.msg.Password,
checked: this.checked,
acc: this.msg.Account,
pwd: this.msg.Password,
})
localStorage.remember_login = remember_login
}else {
} else {
localStorage.removeItem("remember_login");
}
this.$router.push({
path: "/index"
......
......@@ -120,6 +120,7 @@
Remark: userInfo.Remark,
AliasName: userInfo.AliasName,
PostId: userInfo.PostId,
Blacklist:userInfo.Blacklist,
}
this.apipost("/api/user/SetMemberUserInfoForHT", this.addMsg, res => {
if (res.data.resultCode == 1) {
......
......@@ -287,7 +287,7 @@
<template>
<div class="mainContainer">
<div class="mainLeftMenu" flex="dir:left">
<div class="is-show-menu-2" v-if="isShowOne" @click="showTwo=true,isShowOne=false">>></div>
<div class="is-show-menu-2" v-if="isShowOne" @click="showTwo=true,isShowOne=false">&gt;&gt;</div>
<div class="leftMenu1">
<div class="aside-logo">
<div class="asideInner" @click="CommonJump('mallIndex'),firstCked=0,showTwo=false">{{currentUser.MallName}}
......@@ -303,8 +303,10 @@
</div>
<div class="leftMenu2" v-if="showTwo">
<div class="is-show-menu-1" @click="hideTwo()">
<<</div> <div class="menu-item-2-title">
{{secondItem.MenuName}}
&lt;&lt;
</div>
<div class="menu-item-2-title">
{{secondItem.MenuName}}
</div>
<div>
<el-menu :default-active="defaultActive" :unique-opened="true" class="el-menu-vertical-demo">
......
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