|
@@ -14,7 +14,6 @@ const dataSet = <any>ref({})
|
|
|
const parentAsin = ref('')
|
|
|
const childAsin = ref('')
|
|
|
const sku = ref('')
|
|
|
-const rating = ref('3')
|
|
|
|
|
|
// 根据不同的点击事件发送请求获取数据
|
|
|
emitter.on('useSelectItem-clickParentAsinBtn', (value: any) => {
|
|
@@ -88,7 +87,6 @@ onMounted(() => {
|
|
|
<el-card body-style="padding: 8px;">
|
|
|
<div class="product-card">
|
|
|
<div class="product-image">
|
|
|
- <!-- <img :src="dataSet.Image ? dataSet.Image : 123" class="img" /> -->
|
|
|
<img v-if="dataSet.Image" :src="dataSet.Image" class="img" />
|
|
|
<div v-else>
|
|
|
<el-image>
|
|
@@ -119,7 +117,7 @@ onMounted(() => {
|
|
|
<span>{{ dataSet.FBAQuantity ? dataSet.FBAQuantity : '--' }}</span>
|
|
|
</div>
|
|
|
<div class="product-brand">
|
|
|
- <span>ZOSI</span>
|
|
|
+ <span>{{ dataSet.brandName }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="product-price">
|
|
@@ -128,9 +126,7 @@ onMounted(() => {
|
|
|
<div>${{ dataSet.priceMin ? dataSet.priceMin : '--' }} ~ ${{ dataSet.priceMax ? dataSet.priceMax : '--' }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- TODO: 星级评分未完成 -->
|
|
|
<div class="product-stars">
|
|
|
- <!-- <div>星级评分</div> -->
|
|
|
<div class="product-price__label">星级评分</div>
|
|
|
<el-rate v-model="dataSet.allScore" disabled show-score text-color="#1d2129" :score-template="`${dataSet.allScore ? dataSet.allScore : '0.0'}`" />
|
|
|
</div>
|