商品详情评论入口增加开关,首页底部博文插件数据丢下修复
parent
e5160daed5
commit
2ed3d48ce3
|
|
@ -293,17 +293,21 @@
|
|||
<navigator :url="'/pages/goods-comment/goods-comment?goods_id=' + goods.id" hover-class="none" class="arrow-right padding-right cr-grey">好评率 {{ goods.comments_score.rate }}%</navigator>
|
||||
</view>
|
||||
<view class="border-radius-main padding-main bg-white">
|
||||
<!-- 商品数据 -->
|
||||
<component-goods-comments :prop-data="goods.comments_data"></component-goods-comments>
|
||||
<navigator url="/pages/plugins/intellectstools/goods-comments/goods-comments?goods_id=' + goods.id" hover-class="none">
|
||||
<view class="br-t-e padding-top-main cr-base flex-row jc-c align-c">
|
||||
我要评价
|
||||
<iconfont name="icon-qiandao-jiantou2" color="#666" prop-class="margin-left-sm pr top-xs"></iconfont>
|
||||
</view>
|
||||
</navigator>
|
||||
<!-- 是否开启评论入口 -->
|
||||
<view v-if="(plugins_intellectstools_data || null) !== null && (plugins_intellectstools_data.is_comments_add || 0) == 1">
|
||||
<navigator url="/pages/plugins/intellectstools/goods-comments/goods-comments?goods_id=' + goods.id" hover-class="none">
|
||||
<view class="br-t-e padding-top-main cr-base flex-row jc-c align-c">
|
||||
我要评价
|
||||
<iconfont name="icon-qiandao-jiantou2" color="#666" prop-class="margin-left-sm pr top-xs"></iconfont>
|
||||
</view>
|
||||
</navigator>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 问答 -->
|
||||
<view v-if="(plugins_ask_data || null) !== null && plugins_ask_data.is_ask_add == 1" class="goods-comment spacing-mb">
|
||||
<view v-if="(plugins_ask_data || null) !== null && (plugins_ask_data.is_ask_add || 0) == 1" class="goods-comment spacing-mb">
|
||||
<view class="spacing-nav-title flex-row align-c jc-sb text-size-xs">
|
||||
<view class="title-left">
|
||||
<text class="text-wrapper title-left-border">问答</text>
|
||||
|
|
|
|||
|
|
@ -192,6 +192,11 @@
|
|||
<component-activity-list :propConfig="plugins_activity_data.base" :propData="plugins_activity_data.data" propLocation="1" :propLabel="plugins_label_data" :propCurrencySymbol="currency_symbol" propSource="index" :prop-open-cart="false"></component-activity-list>
|
||||
</block>
|
||||
|
||||
<!-- 博客-楼层底部 - 插件 -->
|
||||
<block v-if="pv.plugins == 'blog' && (plugins_blog_data || null) != null">
|
||||
<component-blog-list :propConfig="plugins_blog_data.base" :propData="plugins_blog_data.data" propLocation="1"></component-blog-list>
|
||||
</block>
|
||||
|
||||
<!--- 底部购买记录 - 插件 -->
|
||||
<view v-if="pv.plugins == 'salerecords' && (plugins_salerecords_data || null) != null && (plugins_salerecords_data.data || null) != null && plugins_salerecords_data.data.length > 0" class="plugins-salerecords bg-white border-radius-main padding-main spacing-mb">
|
||||
<view class="spacing-nav-title flex-row align-c jc-sb text-size-xs">
|
||||
|
|
|
|||
Loading…
Reference in New Issue