|
@@ -1,22 +1,22 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="rounded-xl bg-gradient-to-b w-[230px] min-w-[230px] volunteer-tier-item"
|
|
|
|
|
- :class="[data.colorFrom, data.colorTo]">
|
|
|
|
|
|
|
+ <view class="rounded-xl w-460 min-w-460 volunteer-tier-item"
|
|
|
|
|
+ :style="{ background: `radial-gradient( 0% 0% at 0% 0%, ${data.colorFrom} 0%, ${data.colorTo} 100%)` }">
|
|
|
<view class="h-90 px-30 flex justify-between items-center">
|
|
<view class="h-90 px-30 flex justify-between items-center">
|
|
|
<view class="flex items-center">
|
|
<view class="flex items-center">
|
|
|
- <ie-image is-oss src="/volunteer/index/tier_medal.png" custom-class="w-48"/>
|
|
|
|
|
- <text class="ml-8 text-base font-bold" :class="data.colorText">{{ data.typeName }}</text>
|
|
|
|
|
|
|
+ <ie-image is-oss :src="data.icon" custom-class="w-48"/>
|
|
|
|
|
+ <text class="ml-8 text-base font-bold" :style="{color:data.colorText}">{{ data.typeName }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="text-sm text-fore-light flex items-center">
|
|
<view class="text-sm text-fore-light flex items-center">
|
|
|
<text>更多</text>
|
|
<text>更多</text>
|
|
|
<uv-icon name="arrow-right" color="info"/>
|
|
<uv-icon name="arrow-right" color="info"/>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <uv-line/>
|
|
|
|
|
- <view class="mt-10 px-30 text-sm" :class="data.colorText">{{ data.desc }}</view>
|
|
|
|
|
|
|
+ <uv-line hairline/>
|
|
|
|
|
+ <view class="mt-10 px-30 text-sm" :style="{color:data.colorText}">{{ data.desc }}</view>
|
|
|
<view class="p-30 flex flex-col gap-20">
|
|
<view class="p-30 flex flex-col gap-20">
|
|
|
<view v-for="(u, i) in data.list" class="flex text-sm">
|
|
<view v-for="(u, i) in data.list" class="flex text-sm">
|
|
|
- <view class="w-20 text-fore-light">{{i+1}}</view>
|
|
|
|
|
- <view class="text-fore-title truncate">{{u.name}}</view>
|
|
|
|
|
|
|
+ <view class="w-24 text-fore-light">{{ i + 1 }}</view>
|
|
|
|
|
+ <view class="text-fore-title truncate">{{ u.name }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -31,7 +31,4 @@ defineProps<{
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
-.volunteer-tier-item + .volunteer-tier-item {
|
|
|
|
|
- margin-left: 28rpx;
|
|
|
|
|
-}
|
|
|
|
|
</style>
|
|
</style>
|