|
@@ -10,7 +10,7 @@
|
|
|
<!-- <i class="iconfont icondianhua1" style="font-size:55upx;color:#6da3f5;position:absolute;top:20upx;right:50upx;" v-if="ghsInfo.mobile !=''" @tap="toPhone(ghsInfo.mobile)"></i> -->
|
|
<!-- <i class="iconfont icondianhua1" style="font-size:55upx;color:#6da3f5;position:absolute;top:20upx;right:50upx;" v-if="ghsInfo.mobile !=''" @tap="toPhone(ghsInfo.mobile)"></i> -->
|
|
|
</view>
|
|
</view>
|
|
|
<view>
|
|
<view>
|
|
|
- <image :src="`${constant.imgUrl}/cg/buy_look2.png`" @click.stop="getReadMe()" style="border-radius:10upx;margin-top:9upx;" mode="widthFix"></image>
|
|
|
|
|
|
|
+ <image v-if="buyNotice == 1" :src="`${constant.imgUrl}/cg/buy_look2.png`" @click.stop="getReadMe()" style="border-radius:10upx;margin-top:9upx;" mode="widthFix"></image>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -225,7 +225,7 @@ export default {
|
|
|
expendAmount:'0.00',
|
|
expendAmount:'0.00',
|
|
|
debtAmount:'0.00'
|
|
debtAmount:'0.00'
|
|
|
},
|
|
},
|
|
|
- myClass: 'fadeIn',
|
|
|
|
|
|
|
+ myClass: 'fadeInSmall',
|
|
|
shopId:0,
|
|
shopId:0,
|
|
|
infoData:{},
|
|
infoData:{},
|
|
|
xjData:{},
|
|
xjData:{},
|
|
@@ -237,7 +237,8 @@ export default {
|
|
|
showInvite:false,
|
|
showInvite:false,
|
|
|
tjFl:0,
|
|
tjFl:0,
|
|
|
cartItemShow:false,
|
|
cartItemShow:false,
|
|
|
- showClassRemind:false
|
|
|
|
|
|
|
+ showClassRemind:false,
|
|
|
|
|
+ buyNotice:0
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
@@ -481,6 +482,10 @@ export default {
|
|
|
this.ghsInfo = res.data
|
|
this.ghsInfo = res.data
|
|
|
let id = res.data.id
|
|
let id = res.data.id
|
|
|
this.ghsId = id
|
|
this.ghsId = id
|
|
|
|
|
+ this.buyNotice = res.data.buyNotice
|
|
|
|
|
+ if(this.buyNotice == 1){
|
|
|
|
|
+ this.myClass = 'fadeIn'
|
|
|
|
|
+ }
|
|
|
//获取供货商花材
|
|
//获取供货商花材
|
|
|
if(id>0){
|
|
if(id>0){
|
|
|
this.visitMall(id)
|
|
this.visitMall(id)
|
|
@@ -504,6 +509,11 @@ export default {
|
|
|
getGhsDataApi({id: this.option.id}).then(res => {
|
|
getGhsDataApi({id: this.option.id}).then(res => {
|
|
|
this.ghsInfo = res.data
|
|
this.ghsInfo = res.data
|
|
|
this.shopId = res.data.shopId
|
|
this.shopId = res.data.shopId
|
|
|
|
|
+ this.buyNotice = res.data.buyNotice
|
|
|
|
|
+ if(this.buyNotice == 1){
|
|
|
|
|
+ this.myClass = 'fadeIn'
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
this.visitMall(this.option.id)
|
|
this.visitMall(this.option.id)
|
|
|
uni.setNavigationBarTitle({title: this.ghsInfo.name})
|
|
uni.setNavigationBarTitle({title: this.ghsInfo.name})
|
|
|
//不是新人或者已经下过单的或者活动没有开启不显示新人红
|
|
//不是新人或者已经下过单的或者活动没有开启不显示新人红
|
|
@@ -910,7 +920,13 @@ export default {
|
|
|
animation-duration:.3s;
|
|
animation-duration:.3s;
|
|
|
}
|
|
}
|
|
|
.fadeIn{
|
|
.fadeIn{
|
|
|
- height: 290upx;
|
|
|
|
|
|
|
+ height: 290upx;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ animation-name: fadeInFrames;
|
|
|
|
|
+ animation-duration:.3s;
|
|
|
|
|
+ }
|
|
|
|
|
+ .fadeInSmall{
|
|
|
|
|
+ height: 148upx;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
animation-name: fadeInFrames;
|
|
animation-name: fadeInFrames;
|
|
|
animation-duration:.3s;
|
|
animation-duration:.3s;
|