会员中心添加首页按钮,pclogo改为阿里云地址,编辑折扣券没有传折扣值,

This commit is contained in:
mabo
2021-07-21 15:27:39 +08:00
parent f512caa81d
commit 75bff1edc4
30 changed files with 490 additions and 903 deletions

View File

@@ -4,7 +4,7 @@
<div class="top-content" @click='$refs.verify.show = false'>
<div class="logo-box">
<img
:src="logoImg"
:src="$store.state.logoImg"
@click="$router.push('/')"
/>
<div>欢迎登录</div>
@@ -186,8 +186,7 @@ export default {
},
codeMsg: '发送验证码', // 验证码文字
interval: null, // 定时器
time: 60, // 倒计时
logoImg: '' // logo图片
time: 60 // 倒计时
};
},
methods: {
@@ -332,7 +331,6 @@ export default {
}
});
}
this.logoImg = this.Cookies.getItem('logo')
},
watch: {
type (v) {

View File

@@ -4,7 +4,7 @@
<div class="logo-box">
<img
width="150"
:src="logoImg"
:src="$store.state.logoImg"
@click="$router.push('/')"
/>
<div>注册</div>
@@ -135,8 +135,7 @@ export default {
verifyType: 'REGISTER', // 验证状态
codeMsg: '发送验证码', // 提示文字
interval: '', // 定时器
time: 60, // 倒计时
logoImg: '' // logo图
time: 60 // 倒计时
};
},
methods: {
@@ -208,8 +207,6 @@ export default {
},
mounted () {
this.$refs.formRegist.resetFields();
this.logoImg = this.Cookies.getItem('logo')
console.log(window.innerHeight);
document.querySelector('.sign-up').style.height = window.innerHeight + 'px'
}
};

View File

@@ -4,7 +4,7 @@
<!-- 顶部logo -->
<div class="logo-box">
<img
:src="logoImg" width='150'
:src="$store.state.logoImg" width='150'
@click="$router.push('/')"
/>
<div>修改密码</div>
@@ -118,7 +118,6 @@ export default {
components: { Verify },
data () {
return {
logoImg: '', // logo图
loading: false, // 加载状态
loading1: false, // 第二步加载状态
formFirst: { // 手机验证码表单
@@ -243,7 +242,6 @@ export default {
},
mounted () {
this.$refs.formFirst.resetFields();
this.logoImg = this.Cookies.getItem('logo')
},
watch: {
}

View File

@@ -5,7 +5,7 @@
<div class="width_1200 logo">
<div>
<router-link to="/"
><img :src="logoImg" alt="lili shop" title="lilishop"
><img :src="$store.state.logoImg" alt="lili shop" title="lilishop"
/></router-link>
<div>结算页</div>
</div>
@@ -347,23 +347,12 @@ export default {
moreAddr: false, // 更多地址
canUseCouponNum: 0, // 可用优惠券数量
couponList: [], // 可用优惠券列表
logoImg: '', // 平台logo
usedCouponId: [], // 已使用优惠券id
selectedCoupon: {} // 已选优惠券对象
};
},
mounted () {
this.init();
if (!this.Cookies.getItem('logo')) {
getLogo().then((res) => {
if (res.success) {
let logoObj = JSON.parse(res.result.settingValue);
this.Cookies.setItem('logo', logoObj.buyerSideLogo);
}
});
} else {
this.logoImg = this.Cookies.getItem('logo');
}
},
methods: {
init () {