6.13
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="list">
|
||||
<view class="cell" v-for="item in most_read_articles" :key="item.exchange_id">
|
||||
<view class="cell" v-for="item in most_read_articles" :key="item.exchange_id" @click="goDetail(item.exchange_id)">
|
||||
<view class="circle"></view>
|
||||
<view class="title ellipsis-two-lines">{{ item.exchange_title }}</view>
|
||||
</view>
|
||||
@@ -46,6 +46,7 @@
|
||||
class="cell"
|
||||
v-for="(item) in new_articles"
|
||||
:key="item.exchange_id"
|
||||
@click="goDetail(item.exchange_id)"
|
||||
>
|
||||
<view class="title ellipsis-two-lines">{{
|
||||
item.exchange_title
|
||||
@@ -181,7 +182,11 @@
|
||||
Object.assign(numInfo,result);
|
||||
})
|
||||
}
|
||||
|
||||
const goDetail = (id) => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/detail/detail?id=${id}&type=exchange`,
|
||||
});
|
||||
};
|
||||
const videoErrorCallback = (e) => {
|
||||
uni.showModal({
|
||||
content: e.target.errMsg,
|
||||
|
||||
Reference in New Issue
Block a user