refactor: 修改样式

This commit is contained in:
anonymous
2025-01-15 08:25:02 +08:00
parent e5508fe898
commit ff3640b062
3 changed files with 28 additions and 4 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ watch(
background-size: 100%; background-size: 100%;
} }
.main-content { .main-content {
background-color: #ffffff99; background-color: #ffffff;
backdrop-filter: blur(60px); /* backdrop-filter: blur(60px); */
} }
</style> </style>
+1 -1
View File
@@ -25,7 +25,7 @@ function getType(item) {
<NavBar /> <NavBar />
<view class="mt-15" v-if="investmentRecordList.length"> <view class="mt-15" v-if="investmentRecordList.length">
<view <view
class="flex px-15 py-8 mb-1 bg-#ffffffe5" class="flex px-15 py-8 mb-1 bg-#ffffff"
v-for="item in investmentRecordList" v-for="item in investmentRecordList"
:key="item.id" :key="item.id"
> >
+25 -1
View File
@@ -36,6 +36,24 @@
</view> </view>
</template> </template>
<view class="flex bg-white py-15 rounded-10 m-15 border-2 border-white border-solid">
<view class="flex-1 flex flex-col items-center" @click="handleInvite">
<image class="w-30 h-30" src="@/static/images/home/nav-1.png" mode="aspectFill" />
<text class="mt-8 text-14 text-#333">社区</text>
</view>
<view class="flex-1 flex flex-col items-center" @click="handleDownload">
<image class="w-30 h-30" src="@/static/images/home/nav-4.png" mode="aspectFill" />
<text class="mt-8 text-14 text-#333">下载APP</text>
</view>
<view class="flex-1 flex flex-col items-center" @click="handleOfficialCommunity">
<image class="w-30 h-30" src="@/static/images/home/nav-2.png" mode="aspectFill" />
<text class="mt-8 text-14 text-#333">官方群聊</text>
</view>
<view class="flex-1 flex flex-col items-center" @click="handleOfficialCommunity">
<image class="w-30 h-30" src="@/static/images/home/nav-3.png" mode="aspectFill" />
<text class="mt-8 text-14 text-#333">在线客服</text>
</view>
</view>
<view class="bg-white pt-15 px-15 rounded-10 m-15"> <view class="bg-white pt-15 px-15 rounded-10 m-15">
<view class="flex justify-between items-center"> <view class="flex justify-between items-center">
<view class="text-14 text-#333">最新时讯</view> <view class="text-14 text-#333">最新时讯</view>
@@ -133,7 +151,7 @@ const handleNewsDetail = (id: number) => {
} }
const handleInvite = () => { const handleInvite = () => {
uni.navigateTo({ uni.switchTab({
url: '/pages/invite/index', url: '/pages/invite/index',
}) })
} }
@@ -179,6 +197,12 @@ watch(
}, },
) )
onShow(() => {
if (announcementList.value.length) {
showNotice.value = true
}
})
const userStore = useUserStore() const userStore = useUserStore()
const handleOpenAccount = async () => { const handleOpenAccount = async () => {
await getOpenPersonalAccountAPI() await getOpenPersonalAccountAPI()