fixed product-display template
This commit is contained in:
parent
d9c781d834
commit
c917acec5d
@ -25,7 +25,7 @@ app.component('product-display', {
|
||||
<li v-for="detail in details">{{ detail }}</li>
|
||||
</ul>
|
||||
|
||||
<div class="color-circle"
|
||||
<div class="color-box"
|
||||
v-for="(variant, index) in variants"
|
||||
:key="variant.id"
|
||||
:style="{ backgroundColor: variant.color }"
|
||||
@ -41,11 +41,9 @@ app.component('product-display', {
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<review-list :reviews="reviews"></review-list>
|
||||
<review-form @review-submitted="addReview" ></review-form>
|
||||
|
||||
</div>
|
||||
`,
|
||||
data() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user