|
|
@@ -2,10 +2,14 @@
|
|
|
import { ref } from 'vue'
|
|
|
import { router } from '@/.cool'
|
|
|
import { user } from '@/.cool'
|
|
|
+const visible = ref(false)
|
|
|
|
|
|
function handleView(url) {
|
|
|
router.push({ path: url })
|
|
|
}
|
|
|
+function openPopup() {
|
|
|
+ visible.value = true
|
|
|
+}
|
|
|
</script>
|
|
|
<template>
|
|
|
<view class="bottom">
|
|
|
@@ -18,20 +22,20 @@ function handleView(url) {
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="flex-1 flex flex-col items-center justify-between gap-2 bg1 py-3"
|
|
|
+ <view
|
|
|
@tap="handleView('/pages/test/index')">
|
|
|
- <cl-image src="https://oss.xiaoxiongcode.com/static/home/17.png" mode="widthFix" width="40%" height="auto" />
|
|
|
- <text class="text-[14px]">趣味虚拟实验</text>
|
|
|
+ <cl-image src="https://oss.xiaoxiongcode.com/static/home/113.png" mode="heightFix" width="auto" height="80px" />
|
|
|
+ <!-- <text class="text-[14px]">趣味虚拟实验</text> -->
|
|
|
</view>
|
|
|
- <view class="flex-1 flex flex-col items-center justify-between gap-1 bg2 py-3"
|
|
|
+ <view
|
|
|
@tap="handleView('/pages/card/index')">
|
|
|
- <cl-image src="https://oss.xiaoxiongcode.com/static/home/19.png" mode="widthFix" width="70%" height="auto" />
|
|
|
- <text class="text-[14px]">我的收获</text>
|
|
|
+ <cl-image src="https://oss.xiaoxiongcode.com/static/home/112.png" mode="heightFix" width="auto" height="80px" />
|
|
|
+ <!-- <text class="text-[14px]">我的收获</text> -->
|
|
|
</view>
|
|
|
- <view class="flex-1 flex flex-col items-center justify-between gap-1 bg3 py-3">
|
|
|
+ <!-- <view class="flex-1 flex flex-col items-center justify-between gap-1 bg3 py-3" @tap="openPopup">
|
|
|
<cl-image src="https://oss.xiaoxiongcode.com/static/home/18.png" mode="widthFix" width="35%" height="auto" />
|
|
|
<text class="text-[14px]">AI问答</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
<view class="content" @tap="handleView('/pages/catalog/index')">
|
|
|
<cl-image src="https://oss.xiaoxiongcode.com/static/home/3.gif" mode="heightFix" height="100%" width="auto" />
|
|
|
@@ -45,16 +49,17 @@ function handleView(url) {
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
</template>
|
|
|
<style lang="scss" scoped>
|
|
|
.bottom {
|
|
|
- @apply absolute bottom-[1vh] left-1/2 w-full max-w-[800px] rounded-[20px] px-10 py-1 flex flex-row items-center justify-between gap-5;
|
|
|
+ @apply absolute bottom-[1vh] left-1/2 w-full max-w-[600px] rounded-[20px] px-10 py-1 flex flex-row items-center justify-between gap-5;
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
.progress {
|
|
|
@apply w-[400px] h-[80px] rounded-[40px] flex justify-center gap-2 px-[30px] gap-3;
|
|
|
background: linear-gradient(0deg, #AAE3FF 0%, #DFF4FD 100%);
|
|
|
- width: 40%;
|
|
|
+ width: 50%;
|
|
|
}
|
|
|
|
|
|
.check {
|