Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
沈志敏
9 years ago
Commit
5d1a477614b5acc64f7c99d5efa6133438500572
1 parent
4a50dc56
赠品,加价购 特殊样式
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
2 deletions
public/scss/me/_order-detail.css
public/scss/me/_order.css
public/vue/me/order-detail.vue
public/vue/me/order.vue
public/vue/me/refund-order.vue
public/scss/me/_order-detail.css
View file @
5d1a477
...
...
@@ -113,6 +113,10 @@ body {
background
:
rgba
(
0
,
0
,
0
,
0.2
);
color
:
$
white
;
text-align
:
center
;
&.price-gift
{
background
:
#eb76aa
;
}
}
img
{
...
...
public/scss/me/_order.css
View file @
5d1a477
...
...
@@ -78,6 +78,10 @@ $white: #fff;
background
:
rgba
(
0
,
0
,
0
,
0.2
);
color
:
$
white
;
text-align
:
center
;
&.price-gift
{
background
:
#eb76aa
;
}
}
img
{
...
...
public/vue/me/order-detail.vue
View file @
5d1a477
...
...
@@ -16,7 +16,8 @@
<li class="goods-info" v-for="product in order.orderGoods">
<div class="img-box">
<img v-bind:src="product.goodsImage | resize 49 65">
<!--<label>赠品</label>-->
<label v-if="product.goodsType === 'gift'">赠品</label>
<label class="price-gift" v-if="product.goodsType === 'price_gift'">加价购</label>
</div>
<div class="goods-detail">
<p class="name">{{product.productName}}</p>
...
...
public/vue/me/order.vue
View file @
5d1a477
...
...
@@ -9,7 +9,9 @@
<div class="order-goods" >
<div class="goods-info" v-for="goods in order.orderGoods">
<div class="img-box">
<img v-bind:src="goods.goodsImage | resize 49 65" alt="{{goods.productName}}">
<img v-bind:src="goods.goodsImage | resize 49 65">
<label v-if="goods.goodsType === 'gift'">赠品</label>
<label class="price-gift" v-if="goods.goodsType === 'price_gift'">加价购</label>
</div>
<div class="goods-detail">
<p class="name">{{goods.productName}}</p>
...
...
public/vue/me/refund-order.vue
View file @
5d1a477
...
...
@@ -13,6 +13,8 @@
<div class="goods-info" v-for="product in order.goods">
<div class="img-box">
<img v-bind:src="product.goodsImage | resize 49 65">
<label v-if="product.goodsType === 'gift'">赠品</label>
<label class="price-gift" v-if="product.goodsType === 'price_gift'">加价购</label>
</div>
<div class="goods-detail">
<p class="name">{{product.productName}}</p>
...
...
Please
register
or
login
to post a comment