Commit 158f543b1b261a934d13423e95f1d732c046f4c7
1 parent
36267c2e
调优
Showing
2 changed files
with
30 additions
and
1 deletions
src/components/giftGivingItem/giftGivingItem.less
| @@ -109,7 +109,7 @@ | @@ -109,7 +109,7 @@ | ||
| 109 | display: flex; | 109 | display: flex; |
| 110 | margin-top: 30px; | 110 | margin-top: 30px; |
| 111 | // padding-bottom: 30px; | 111 | // padding-bottom: 30px; |
| 112 | - border-bottom: solid 1px rgba(247, 247, 248, 1); | 112 | + // border-bottom: solid 1px rgba(247, 247, 248, 1); |
| 113 | img { | 113 | img { |
| 114 | width: 200px; | 114 | width: 200px; |
| 115 | height: 200px; | 115 | height: 200px; |
src/components/giftGivingItem/giftGivingItem.vue
| @@ -80,6 +80,35 @@ | @@ -80,6 +80,35 @@ | ||
| 80 | </div> | 80 | </div> |
| 81 | </div> | 81 | </div> |
| 82 | </div> | 82 | </div> |
| 83 | + <div v-show="item.triangle" class="item_info"> | ||
| 84 | + <img | ||
| 85 | + v-if="item && item.goods && item.goods.simg" | ||
| 86 | + v-lazy="item.goods.simg" | ||
| 87 | + /> | ||
| 88 | + <div class="box"> | ||
| 89 | + <div | ||
| 90 | + v-if="item && item.goods && item.goods.title" | ||
| 91 | + class="name"> | ||
| 92 | + {{ item.goods.title }} | ||
| 93 | + </div> | ||
| 94 | + <!-- 每人多少件 --> | ||
| 95 | + <div class="num_desc">每人 1 件</div> | ||
| 96 | + <div class="pirce"> | ||
| 97 | + <div | ||
| 98 | + v-if="item && item.goods && item.goods.price" | ||
| 99 | + class="title" | ||
| 100 | + > | ||
| 101 | + <span>¥</span>{{ item.goods.price }} | ||
| 102 | + </div> | ||
| 103 | + <div | ||
| 104 | + v-if="item && item.goods && item.goods.num" | ||
| 105 | + class="btn" | ||
| 106 | + > | ||
| 107 | + 总数:{{ parseInt(item.goods.num) }}件 | ||
| 108 | + </div> | ||
| 109 | + </div> | ||
| 110 | + </div> | ||
| 111 | + </div> | ||
| 83 | <!-- 展开和折叠按钮 --> | 112 | <!-- 展开和折叠按钮 --> |
| 84 | <div class="fold_box" @click.stop="onLoginMore(item)"> | 113 | <div class="fold_box" @click.stop="onLoginMore(item)"> |
| 85 | <div class="fold"> | 114 | <div class="fold"> |