feat: 添加风云榜api
This commit is contained in:
+7
-18
@@ -39,7 +39,7 @@
|
||||
<image class="search-icon-white" src="/static/icon/search.svg" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
<aistore_bar_chart v-if="index === 0" :list="barRankList" :colors="barColors" />
|
||||
<aistore_earnings_carousel v-if="index === 0" />
|
||||
<!-- <view class="m-t-16 m-b-8" v-if="timeRound.length && index === 0">
|
||||
<scroll-view scroll-x class="time-scroll">
|
||||
<view class="flex">
|
||||
@@ -140,7 +140,7 @@
|
||||
import * as api from '@/sheep/api/ai/index';
|
||||
import card_pages from '@/components/card_pages/card_pages';
|
||||
import card_payment from '@/components/card_payment/card_payment';
|
||||
import aistore_bar_chart from './components/aistore_bar_chart.vue';
|
||||
import aistore_earnings_carousel from './components/aistore_earnings_carousel.vue';
|
||||
import aistore_tab1 from './components/aistore_tab1.vue';
|
||||
import aistore_tab2 from './components/aistore_tab2.vue';
|
||||
|
||||
@@ -182,17 +182,6 @@
|
||||
const timeRound = ref([]);
|
||||
const selectedTimeId = ref(null);
|
||||
const navName = ref('');
|
||||
const barColors = ref(['#FF6B6B', '#FFB020', '#2ED573', '#1E90FF', '#A66BFF']);
|
||||
const barRankList = ref([
|
||||
{ id: 1, value: 88, avatar: '/static/head_null.png' },
|
||||
{ id: 2, value: 52, avatar: '/static/head_null.png' },
|
||||
{ id: 3, value: 120, avatar: '/static/head_null.png' },
|
||||
{ id: 4, value: 76, avatar: '/static/head_null.png' },
|
||||
{ id: 5, value: 76, avatar: '/static/head_null.png' },
|
||||
{ id: 6, value: 66, avatar: '/static/head_null.png' },
|
||||
{ id: 7, value: 16, avatar: '/static/head_null.png' },
|
||||
{ id: 8, value: 86, avatar: '/static/head_null.png' },
|
||||
]);
|
||||
|
||||
function changeTimeRound(e) {
|
||||
navName.value = e.name;
|
||||
@@ -452,7 +441,7 @@
|
||||
}
|
||||
|
||||
.top-area {
|
||||
padding: 24rpx 24rpx;
|
||||
padding: 0 24rpx 24rpx;
|
||||
background: #2556ec;
|
||||
border-radius: 0 0 30rpx 30rpx;
|
||||
}
|
||||
@@ -490,20 +479,20 @@
|
||||
}
|
||||
|
||||
.search-wrap {
|
||||
margin-top: 22rpx;
|
||||
margin-top: 12rpx;
|
||||
padding: 0 10rpx;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
height: 76rpx;
|
||||
height: 56rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 40rpx;
|
||||
padding: 0 28rpx;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
width: 76rpx;
|
||||
height: 76rpx;
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
margin-left: 18rpx;
|
||||
border-radius: 38rpx;
|
||||
background: linear-gradient(to bottom right, #2c8cfa 0%, #3d5efb 100%);
|
||||
|
||||
Reference in New Issue
Block a user