|
|
@@ -8,48 +8,22 @@ function handleView(url) {
|
|
|
}
|
|
|
</script>
|
|
|
<template>
|
|
|
- <!-- <view class="bottom">
|
|
|
- <view class=" progress">
|
|
|
- <view class="text-[26px] font-bold">学习进度</view>
|
|
|
- <view class=" w-full flex flex-row items-center justify-center gap-2">
|
|
|
-
|
|
|
- <cl-progress class="flex-1" color="linear-gradient(0deg, #1FA5F5 37%, #A2D8FF 100%)"
|
|
|
- :value="user.info.value?.studyCourseNum" :show-text="false" :strokeWidth="16"
|
|
|
- :pt="{ outer: { className: '!rounded-full' }, inner: { className: '!rounded-full' } }"></cl-progress>
|
|
|
-
|
|
|
- <view class="text-[12px] w-[100px] rounded-full text-black font-bold text-center check
|
|
|
- to-pink-500 h-[20px] ">
|
|
|
- 今日打卡
|
|
|
+ <view class="flex flex-row items-center justify-center w-full " style="height: calc(97vh - 85px);">
|
|
|
+ <view class="content" @tap="handleView('/pages/chinese/index')">
|
|
|
+ <image mode="aspectFill" src="https://oss.xiaoxiongcode.com/static/语文/图层 4.png" alt="" lazy-load
|
|
|
+ class="w-full h-full object-cover absolute top-0 left-0" />
|
|
|
+ <view class=" flex items-center justify-center ft">
|
|
|
+ <view class="text-[10vh] font-bold">
|
|
|
+ 语文启蒙
|
|
|
</view>
|
|
|
-
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="flex-1 flex flex-col items-center justify-between gap-2 bg1 py-3">
|
|
|
- <cl-image src="https://oss.xiaoxiongcode.com/static/home/17.png" mode="widthFix" width="40%" height="auto" />
|
|
|
- <text class="text-[14px]">趣味虚拟实验</text>
|
|
|
- </view>
|
|
|
- <view class="flex-1 flex flex-col items-center justify-between gap-1 bg2 py-3"
|
|
|
- @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>
|
|
|
- </view>
|
|
|
- <view class="flex-1 flex flex-col items-center justify-between gap-1 bg3 py-3">
|
|
|
- <cl-image src="https://oss.xiaoxiongcode.com/static/home/18.png" mode="widthFix" width="35%" height="auto" />
|
|
|
- <text class="text-[14px]">学习报告</text>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
- <view class="content" @tap="handleView('/pages/chinese/index')">
|
|
|
- <cl-image src="https://oss.xiaoxiongcode.com/static/home/play.png" mode="heightFix" height="100%" width="auto" />
|
|
|
- <view class="flex-1 flex flex-col items-center justify-center gap-2 ft">
|
|
|
- <view class="text-[10vh] font-bold">
|
|
|
- 语文启蒙
|
|
|
+ <view class="flex items-center justify-center h-[60vh]">
|
|
|
+ <cl-image src="https://oss.xiaoxiongcode.com/static/home/play.png" mode="heightFix" lazy-load height="60%"
|
|
|
+ width="auto" class="ml-10" />
|
|
|
</view>
|
|
|
- <!-- <view class="h-[15vh]">
|
|
|
- <cl-image src="https://oss.xiaoxiongcode.com/static/home/play.png" mode="heightFix" height="100%"
|
|
|
- width="auto" />
|
|
|
- </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
</template>
|
|
|
<style lang="scss" scoped>
|
|
|
.bottom {
|
|
|
@@ -88,12 +62,15 @@ function handleView(url) {
|
|
|
|
|
|
.ft {
|
|
|
font-family: eryazhaocaimao;
|
|
|
- text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4), 0 0 40px rgba(62, 166, 238, 0.8);
|
|
|
+ text-shadow:
|
|
|
+ -1px -1px 0 #000,
|
|
|
+ 1px -1px 0 #000,
|
|
|
+ -1px 1px 0 #000,
|
|
|
+ 1px 1px 0 #000;
|
|
|
}
|
|
|
|
|
|
.content {
|
|
|
- @apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-white w-[120vh] border-[3px] border-[#fff] border-solid rounded-[30px] px-10 py-4 h-[40vh] flex flex-row items-center justify-between gap-4;
|
|
|
- background: linear-gradient(0deg, #C7F0FE 0%, #30B9FF 100%);
|
|
|
+ @apply relative mx-auto text-white w-[90vw] border-[3px] border-[#fff] border-solid rounded-[30px] flex flex-row items-center justify-around gap-4 h-[60vh];
|
|
|
|
|
|
}
|
|
|
</style>
|