|
|
@@ -4,22 +4,28 @@
|
|
|
<view class="w h-88 mgt-88" @click="$navTo('/pages/index/search')">
|
|
|
<view class="input_box flex ai_center jc_between">
|
|
|
<view class="text-32 text-400 text-C0C0C0">任务标题、用户ID</view>
|
|
|
- <image class="w-48 h-48" src="/static/logo.png" mode="scaleToFill" />
|
|
|
+ <image
|
|
|
+ class="w-48 h-48"
|
|
|
+ src="/static/image/index/search_icon.png"
|
|
|
+ mode="scaleToFill"
|
|
|
+ />
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="banner">
|
|
|
<u-swiper
|
|
|
- :list="list6"
|
|
|
+ :list="bannerList"
|
|
|
@change="(e) => (currentNum = e.current)"
|
|
|
- :autoplay="false"
|
|
|
- indicatorStyle="right: 20px"
|
|
|
+ :autoplay="true"
|
|
|
+ :circular="true"
|
|
|
+ indicatorStyle="right: 30rpx"
|
|
|
>
|
|
|
- <view slot="indicator" class="indicator-num">
|
|
|
- <text class="indicator-num__text"
|
|
|
- >{{ currentNum + 1 }}/{{ list6.length }}</text
|
|
|
- >
|
|
|
+ <view slot="indicator" class="indicator">
|
|
|
+ <view v-for="(item, index) in bannerList.length" :key="item">
|
|
|
+ <view v-if="currentNum === index" class="indicator_check"></view>
|
|
|
+ <view v-else class="indicator_no_check"></view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</u-swiper>
|
|
|
</view>
|
|
|
@@ -29,7 +35,11 @@
|
|
|
@click="$navTo('/pages/index/notice')"
|
|
|
>
|
|
|
<view class="flex ai_center">
|
|
|
- <image class="w-48 h-48" src="/static/logo.png" mode="scaleToFill" />
|
|
|
+ <image
|
|
|
+ class="w-48 h-48"
|
|
|
+ src="/static/image/index/affiche_icon.png"
|
|
|
+ mode="scaleToFill"
|
|
|
+ />
|
|
|
<view class="mgl-24 text-32 text-500 text-070602">这是一条公告</view>
|
|
|
</view>
|
|
|
<view class="text-28 text-400 text-7E7E7E">2025.1.1</view>
|
|
|
@@ -52,7 +62,11 @@
|
|
|
class="w h-224 pdx-32 text-white mgt-16"
|
|
|
@click="$navTo('/pages/index/newcomerTasks')"
|
|
|
>
|
|
|
- <image class="w h radio-24" src="/static/logo.png" mode="scaleToFill" />
|
|
|
+ <image
|
|
|
+ class="w h radio-24"
|
|
|
+ src="/static/image/index/newbie_tasks.png"
|
|
|
+ mode="scaleToFill"
|
|
|
+ />
|
|
|
</view>
|
|
|
|
|
|
<view class="w flex1 pdx-32 mgt-16">
|
|
|
@@ -80,36 +94,36 @@ export default {
|
|
|
title: "首页",
|
|
|
menu: [
|
|
|
{
|
|
|
- icon: "/static/logo.png",
|
|
|
+ icon: "/static/image/index/new_hand_icon.png",
|
|
|
name: "新手入门",
|
|
|
pagePath: "/pages/index/gettingStarted",
|
|
|
},
|
|
|
{
|
|
|
- icon: "/static/logo.png",
|
|
|
+ icon: "/static/image/index/hot_bounty_icon.png",
|
|
|
name: "热门悬赏",
|
|
|
pagePath: "/pages/index/popularBounty",
|
|
|
},
|
|
|
{
|
|
|
- icon: "/static/logo.png",
|
|
|
+ icon: "/static/image/index/newest_bounty_icon.png",
|
|
|
name: "最新悬赏",
|
|
|
pagePath: "/pages/index/newestBounty",
|
|
|
},
|
|
|
{
|
|
|
- icon: "/static/logo.png",
|
|
|
+ icon: "/static/image/index/quick_check_icon.png",
|
|
|
name: "急速快审",
|
|
|
pagePath: "/pages/index/quickCheck",
|
|
|
},
|
|
|
{
|
|
|
- icon: "/static/logo.png",
|
|
|
+ icon: "/static/image/index/invite_earnmoney_icon.png",
|
|
|
name: "邀请赚钱",
|
|
|
pagePath: "/pages/index/inviteEarnMoney",
|
|
|
},
|
|
|
],
|
|
|
currentNum: 0,
|
|
|
- list6: [
|
|
|
- "https://uviewui.com/swiper/swiper2.png",
|
|
|
- "https://uviewui.com/swiper/swiper3.png",
|
|
|
- "https://uviewui.com/swiper/swiper1.png",
|
|
|
+ bannerList: [
|
|
|
+ "/static/image/index/newbie_tasks.png",
|
|
|
+ "/static/image/index/newbie_tasks.png",
|
|
|
+ "/static/image/index/newbie_tasks.png",
|
|
|
],
|
|
|
};
|
|
|
},
|
|
|
@@ -178,7 +192,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.indicator {
|
|
|
- @include flex(row);
|
|
|
+ /* @include flex(row);
|
|
|
justify-content: center;
|
|
|
|
|
|
&__dot {
|
|
|
@@ -192,20 +206,28 @@ export default {
|
|
|
&--active {
|
|
|
background-color: #ffffff;
|
|
|
}
|
|
|
- }
|
|
|
+ } */
|
|
|
}
|
|
|
|
|
|
-.indicator-num {
|
|
|
- padding: 2px 0;
|
|
|
- background-color: rgba(0, 0, 0, 0.35);
|
|
|
- border-radius: 100px;
|
|
|
- width: 35px;
|
|
|
+.indicator {
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
|
|
|
- &__text {
|
|
|
- color: #ffffff;
|
|
|
- font-size: 12px;
|
|
|
+ .indicator_check {
|
|
|
+ width: 32rpx;
|
|
|
+ height: 8rpx;
|
|
|
+ flex-shrink: 0;
|
|
|
+ border-radius: 48rpx;
|
|
|
+ background: #fff;
|
|
|
+ margin: 0 2rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .indicator_no_check {
|
|
|
+ width: 16rpx;
|
|
|
+ height: 8rpx;
|
|
|
+ flex-shrink: 0;
|
|
|
+ border-radius: 48rpx;
|
|
|
+ background: #ffffff80;
|
|
|
+ margin: 0 2rpx;
|
|
|
}
|
|
|
}
|
|
|
</style>
|