|
@@ -222,11 +222,11 @@
|
|
|
<DimensionProducts
|
|
<DimensionProducts
|
|
|
dimensionCode="all"
|
|
dimensionCode="all"
|
|
|
:products="recommendedProducts"
|
|
:products="recommendedProducts"
|
|
|
- @productClick="goProductDetail" />
|
|
|
|
|
|
|
+ @productClick="goProductDetail"
|
|
|
|
|
+ @moreProducts="goMoreProducts" />
|
|
|
<view class="error-state" v-if="errorProducts">
|
|
<view class="error-state" v-if="errorProducts">
|
|
|
<text class="error-state-text">商品推荐加载失败</text>
|
|
<text class="error-state-text">商品推荐加载失败</text>
|
|
|
</view>
|
|
</view>
|
|
|
- @moreProducts="goMoreProducts" />
|
|
|
|
|
|
|
|
|
|
<!-- ===== h) 待审核任务 ===== -->
|
|
<!-- ===== h) 待审核任务 ===== -->
|
|
|
<view class="review-section animate-fade-in animate-stagger-11" v-if="pendingReviewTasks.length > 0">
|
|
<view class="review-section animate-fade-in animate-stagger-11" v-if="pendingReviewTasks.length > 0">
|
|
@@ -430,7 +430,7 @@ export default {
|
|
|
// 过滤:仅保留孩子角色成员,排除家长/本人
|
|
// 过滤:仅保留孩子角色成员,排除家长/本人
|
|
|
var currentUserId = uni.getStorageSync('userId')
|
|
var currentUserId = uni.getStorageSync('userId')
|
|
|
var filteredChildren = dashChildren.filter(function(c) {
|
|
var filteredChildren = dashChildren.filter(function(c) {
|
|
|
- return c && c.id && c.id !== currentUserId && (c.role === 'child' || c.memberType === 'child' || !c.role)
|
|
|
|
|
|
|
+ return c && c.id && c.id !== currentUserId && (c.role === 'child' || c.memberType === 'child')
|
|
|
})
|
|
})
|
|
|
if (filteredChildren.length > 0) {
|
|
if (filteredChildren.length > 0) {
|
|
|
this.children = filteredChildren
|
|
this.children = filteredChildren
|