|
|
@@ -19,8 +19,8 @@
|
|
|
<i class="iconfont icon-shoucang" :style="isCollect?'color:#ff7800':'color: #ddd'" @click="collectComponent"></i>
|
|
|
</div>
|
|
|
<div class="product-switch-item">
|
|
|
- <span :class="activeType=='param'?'mobile-switch-btn active':'mobile-switch-btn'" @click="activeType='param'">参数</span>
|
|
|
<span :class="activeType=='store'?'mobile-switch-btn active':'mobile-switch-btn'" @click="activeType='store'">商家</span>
|
|
|
+ <span :class="activeType=='param'?'mobile-switch-btn active':'mobile-switch-btn'" @click="activeType='param'">参数</span>
|
|
|
</div>
|
|
|
<div class="product-params" v-if="activeType == 'param'">
|
|
|
<div class="param-item" v-if="prop.value && prop.value!=''" v-for="prop in component.properties">
|
|
|
@@ -95,7 +95,7 @@
|
|
|
export default {
|
|
|
data () {
|
|
|
return {
|
|
|
- activeType: 'param',
|
|
|
+ activeType: 'store',
|
|
|
collectResult: '收藏成功',
|
|
|
timeoutCount: 0,
|
|
|
storeIds: [],
|