Authored by 沈志敏

fix bug

... ... @@ -14,6 +14,7 @@
.brand-share {
.brand-top-box {
width: 100%;
height: 468px;
}
.brand-logo {
... ...
... ... @@ -22,7 +22,7 @@
.brand-bottom {
width: 100%;
position: absolute;
bottom: 20px;
bottom: 28px;
padding: 0 30px;
.brand-title {
... ... @@ -40,10 +40,11 @@
border: #fff solid 1px;
border-top: none;
margin: 5px 0;
margin-bottom: 28px;
}
.brand-intro-transition {
transition: all 0.3s ease;
transition: all 0.6s ease;
font-size: 20px;
line-height: 32px;
width: 90%;
... ...
... ... @@ -23,6 +23,7 @@
const yoho = require('yoho');
const $ = require('jquery');
const cheader = require('component/header.vue');
const tip = require('common/tip');
module.exports = {
data() {
... ... @@ -76,6 +77,11 @@
if (result.code === 200) {
this.shareData.isFav = !this.shareData.isFav;
yoho.store.set('brandReload', true);
if (this.shareData.isFav) {
tip('收藏成功');
} else {
tip('取消成功');
}
} else if (result.code === 403) {
yoho.goLogin('', this.collectShop);
}
... ...