|
@@ -128,8 +128,8 @@
|
|
|
<image src="../../static/timg/share.png" mode="" class="bottomImg"></image>
|
|
|
<view class="bottomTxt">分享</view>
|
|
|
</button> -->
|
|
|
- <view class="bottomBtn" @click="ljbuy" v-if="!activityEnd&&info.goodsDownTime">立即购买</view>
|
|
|
- <view class="bottomBtn" @click="ljbuy" v-if="activityEnd&&!info.goodsDownTime">立即购买</view>
|
|
|
+ <view class="bottomBtn" :style="{background:'#'+themeColor}" @click="ljbuy" v-if="!activityEnd&&info.goodsDownTime">立即购买</view>
|
|
|
+ <view class="bottomBtn" :style="{background:'#'+themeColor}" @click="ljbuy" v-if="activityEnd&&!info.goodsDownTime">立即购买</view>
|
|
|
<view class="bottomBtn2" v-if="activityEnd&&info.goodsDownTime">抢购结束</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -185,7 +185,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="buybtnBox">
|
|
|
- <view class="buyBtn" @click="goBuy">立即购买</view>
|
|
|
+ <view class="buyBtn" @click="goBuy" :style="{background:'#'+themeColor}">立即购买</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -250,6 +250,7 @@
|
|
|
shareId:'',
|
|
|
shareQrCode:'',
|
|
|
scene:'',
|
|
|
+ themeColor:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -259,13 +260,14 @@
|
|
|
if(opt.shareId){
|
|
|
this.shareId=opt.shareId
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//this.userInfo = uni.getStorageSync("userInfo");
|
|
|
this.userInfo=this.$store.state.userInfo;
|
|
|
this.ext=this.$common.getExtStoreId();
|
|
|
//opt.scene='10003'
|
|
|
console.log(opt)
|
|
|
if(this.userInfo){
|
|
|
+ this.themeColor = uni.getStorageSync("themeColor");
|
|
|
this.wxOpenData=this.$store.state.wxOpenData;
|
|
|
if(opt.scene&&opt.scene!='undefined'){
|
|
|
this.scene=opt.scene;
|
|
@@ -278,6 +280,7 @@
|
|
|
this.$common.automaticlogin().then(val => {
|
|
|
this.userInfo=this.$store.state.userInfo;
|
|
|
this.wxOpenData=this.$store.state.wxOpenData;
|
|
|
+ this.themeColor = uni.getStorageSync("themeColor");
|
|
|
if(opt.scene&&opt.scene!='undefined'){
|
|
|
this.scene=opt.scene;
|
|
|
this.getShareParams()
|