|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="box">
|
|
|
- <view class="topBox"></view>
|
|
|
- <view class="yuanhu"></view>
|
|
|
+ <view class="topBox" :style="{background:'#'+themeColor}"></view>
|
|
|
+ <view class="yuanhu" :style="{background:'#'+themeColor}"></view>
|
|
|
<view class="goodsBox">
|
|
|
<view class="goodsBoxLeft">
|
|
|
<image :src="goodsInfo.ImgList[0].url" mode="" v-if="goodsInfo.ImgList.length>0" class="hotGoodsLineImg"></image>
|
|
@@ -68,12 +68,12 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="height:120rpx"></view>
|
|
|
- <view class="bottomBox">
|
|
|
+ <view class="bottomBox" >
|
|
|
<view class="bottomLeft">
|
|
|
<view class="bottomLeftLine">合计 <span>¥</span> <span class="bottomPrice">{{totalMoney}}</span> </view>
|
|
|
<view class="bottomLeftLine2">总优惠:¥{{yhMoney}}</view>
|
|
|
</view>
|
|
|
- <view class="bottomBtn" @click="submit">提交订单</view>
|
|
|
+ <view class="bottomBtn" :style="{background:'#'+themeColor}" @click="submit">提交订单</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -101,6 +101,7 @@
|
|
|
mydata:'',
|
|
|
orderData:'',
|
|
|
shareId:'',
|
|
|
+ themeColor:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -111,6 +112,7 @@
|
|
|
this.shareId=opt.shareId
|
|
|
}
|
|
|
//console.log(this.carInfo)
|
|
|
+ this.themeColor = uni.getStorageSync("themeColor");
|
|
|
this.userInfo = uni.getStorageSync("userInfo");
|
|
|
this.goodsInfo=uni.getStorageSync("goodsDetail");
|
|
|
this.jsMoney()
|