Commit 5a9be108 authored by 黄媛媛's avatar 黄媛媛

修改部分样式

parent 2ae1dac6
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
v-if="y.marketingLogo.iswords&&y.marketingLogo.iswords==2&& y.marketingLogo.ico!=''" v-if="y.marketingLogo.iswords&&y.marketingLogo.iswords==2&& y.marketingLogo.ico!=''"
mode="heightFix" mode="heightFix"
:src="y.marketingLogo.ico" :src="y.marketingLogo.ico"
style=" height: 14px;line-height: 14px;" style=" height: 11px"
/> />
{{ y.name }}</view> {{ y.name }}</view>
<view style="margin-bottom: 5px;height: 20px;" v-if="y.freeShippingDescription!=null&&y.freeShippingDescription!=''"> <view style="margin-bottom: 5px;height: 20px;" v-if="y.freeShippingDescription!=null&&y.freeShippingDescription!=''">
...@@ -140,4 +140,11 @@ export default { ...@@ -140,4 +140,11 @@ export default {
line-clamp: 1; line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.ordergoodlist .Logo{
padding: 1px 5px;
display: inline-block;
font-size: 22rpx;
margin-right: 5rpx;
border-radius: 4px;
}
</style> </style>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
v-if="item.MarketingLogo.iswords&&item.MarketingLogo.iswords==2&& item.MarketingLogo.ico!=''" v-if="item.MarketingLogo.iswords&&item.MarketingLogo.iswords==2&& item.MarketingLogo.ico!=''"
mode="heightFix" mode="heightFix"
:src="item.MarketingLogo.ico" :src="item.MarketingLogo.ico"
style=" height: 14px;line-height: 14px;" style=" height: 11px;"
/> />
{{ item.GoodsName}} {{ item.GoodsName}}
</view> </view>
...@@ -329,7 +329,6 @@ export default { ...@@ -329,7 +329,6 @@ export default {
x.GoodsList.forEach(j => { x.GoodsList.forEach(j => {
j.MarketingLogo = JSON.parse(j.MarketingLogo) j.MarketingLogo = JSON.parse(j.MarketingLogo)
console.log(j.MarketingLogo)
j.checked = false; j.checked = false;
j.id=j.Id; j.id=j.Id;
}); });
...@@ -437,10 +436,13 @@ export default { ...@@ -437,10 +436,13 @@ export default {
this.TotalPrice = parseFloat(this.TotalPrice.toFixed(2)); this.TotalPrice = parseFloat(this.TotalPrice.toFixed(2));
}, },
mch_SelectAll(checked, i) { mch_SelectAll(checked, i) {
console.log(this.list[i].GoodsList)
if (checked == true) { if (checked == true) {
let add_cartlist = []; let add_cartlist = [];
let new_statusnum = 0; let new_statusnum = 0;
this.list[i].GoodsList.forEach(x => { this.list[i].GoodsList.forEach(x => {
if (x.GoodsStatus == 1) { if (x.GoodsStatus == 1) {
if (x.checked == false) { if (x.checked == false) {
this.TotalPrice += parseFloat((x.Price * x.Number).toFixed(2)); this.TotalPrice += parseFloat((x.Price * x.Number).toFixed(2));
...@@ -485,10 +487,11 @@ export default { ...@@ -485,10 +487,11 @@ export default {
let new_statusnum = 0; let new_statusnum = 0;
this.list[i].GoodsList.forEach(x => { this.list[i].GoodsList.forEach(x => {
if (x.GoodsStatus == 1) { if (x.GoodsStatus == 1) {
x.checked = false; if(x.checked == true){
this.TotalPrice -= parseFloat((x.Price * x.Number).toFixed(2)); this.TotalPrice -= parseFloat((x.Price * x.Number).toFixed(2));
new_statusnum++;
new_statusnum++; x.checked = false;
}
} }
//编辑时候的商城全选 //编辑时候的商城全选
this.cart_id_list.forEach((z, m) => { this.cart_id_list.forEach((z, m) => {
...@@ -783,6 +786,10 @@ export default { ...@@ -783,6 +786,10 @@ export default {
border-radius: 10px; border-radius: 10px;
} }
.cartStyle .Logo{ .cartStyle .Logo{
padding: 0 5px;display: inline-block;height: 40rpx;font-size: 20rpx;margin-right: 10rpx;line-height: 40rpx; padding: 1px 5px;
display: inline-block;
font-size: 22rpx;
margin-right: 5rpx;
border-radius: 4px;
} }
</style> </style>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
v-if="g.marketingLogo.iswords&&g.marketingLogo.iswords==2&& g.marketingLogo.ico!=''" v-if="g.marketingLogo.iswords&&g.marketingLogo.iswords==2&& g.marketingLogo.ico!=''"
mode="heightFix" mode="heightFix"
:src="g.marketingLogo.ico" :src="g.marketingLogo.ico"
style=" height: 14px;" style=" height: 11px;"
/> />
{{ g.name }} {{ g.name }}
</view> </view>
...@@ -787,6 +787,11 @@ export default { ...@@ -787,6 +787,11 @@ export default {
right: 0; right: 0;
} }
.goods .Logo{ .goods .Logo{
padding: 0 5px;display: inline-block;height: 40rpx;font-size: 20rpx;margin-right: 10rpx;line-height: 40rpx;
padding: 1px 5px;
display: inline-block;
font-size: 22rpx;
margin-right: 5rpx;
border-radius: 4px;
} }
</style> </style>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
v-if="y.marketingLogo.iswords&&y.marketingLogo.iswords==2&& y.marketingLogo.ico!=''" v-if="y.marketingLogo.iswords&&y.marketingLogo.iswords==2&& y.marketingLogo.ico!=''"
mode="heightFix" mode="heightFix"
:src="y.marketingLogo.ico" :src="y.marketingLogo.ico"
style=" height: 14px;" style=" height: 11px;"
/> />
{{ y.name }}</view> {{ y.name }}</view>
<view class="attr">已选择: <view class="attr">已选择:
...@@ -874,6 +874,10 @@ button[disabled]{ ...@@ -874,6 +874,10 @@ button[disabled]{
width: 120px; width: 120px;
} }
.ordersubmit .Logo{ .ordersubmit .Logo{
padding: 0 5px;display: inline-block;height: 40rpx;font-size: 20rpx;margin-right: 10rpx;line-height: 40rpx; padding: 1px 5px;
display: inline-block;
font-size: 22rpx;
margin-right: 5rpx;
border-radius: 4px;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment