|
|
@ -80,7 +80,7 @@ |
|
|
<view class="section-header-container"> |
|
|
<view class="section-header-container"> |
|
|
<view class="section-header"> |
|
|
<view class="section-header"> |
|
|
<text class="section-title">我的自选</text> |
|
|
<text class="section-title">我的自选</text> |
|
|
<text class="more-btn">添加自选股</text> |
|
|
|
|
|
|
|
|
<text class="more-btn" @click="goToMarketSituation">添加自选股</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
@ -203,6 +203,12 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
goToMarketSituation() { |
|
|
|
|
|
// 跳转到行情页面 |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/pages/home/marketSituation' |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
// 防抖函数 |
|
|
// 防抖函数 |
|
|
debounce(fn, delay = 300) { |
|
|
debounce(fn, delay = 300) { |
|
|
if (this.debounceTimer) clearTimeout(this.debounceTimer) |
|
|
if (this.debounceTimer) clearTimeout(this.debounceTimer) |
|
|
|