|
|
@@ -44,7 +44,7 @@
|
|
|
<div class="sub" :class="{ 'van-multi-ellipsis--l2': !showMore }">
|
|
|
{{ info.intro || '他还没有介绍哦~' }}
|
|
|
</div>
|
|
|
- <div class="sub-right" v-if="info && info.intro.length > 50">
|
|
|
+ <div class="sub-right" v-if="info && info.intro && info.intro.length > 50">
|
|
|
<div @click="showMore = !showMore">{{ showMore ? '收起' : '展开' }}</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
del: false,
|
|
|
source: this.sourceType
|
|
|
},
|
|
|
- sort: 'soldOut;' + this.sort
|
|
|
+ sort: 'soldOut;' + (this.sort || 'id,desc')
|
|
|
};
|
|
|
} else {
|
|
|
return {
|
|
|
@@ -215,7 +215,7 @@ export default {
|
|
|
del: false,
|
|
|
source: this.sourceType
|
|
|
},
|
|
|
- sort: 'soldOut;' + this.sort
|
|
|
+ sort: 'soldOut;' + (this.sort || 'id,desc')
|
|
|
};
|
|
|
}
|
|
|
},
|