|
|
@@ -29,18 +29,22 @@ onMounted(async () => {
|
|
|
<Loading v-show="isLoading" />
|
|
|
<cl-page>
|
|
|
<Back />
|
|
|
+ <image class="absolute top-0 left-0 z-[1] w-full h-full " mode="aspectFill"
|
|
|
+ src="https://oss.xiaoxiongcode.com/static/scratch/2.jpg" />
|
|
|
<view class="main">
|
|
|
- <!-- <image class="absolute top-0 left-0 z-[1] w-full h-full " mode="aspectFill" src="https://oss.xiaoxiongcode.com/static/home/641.png" /> -->
|
|
|
|
|
|
- <view class="text-[20px] font-bold text-[#333333] absolute top-6 left-20">
|
|
|
+
|
|
|
+ <view class="text-[20px] font-bold text-[#fff] absolute top-6 left-20">
|
|
|
{{ course?.mainTitle }}
|
|
|
</view>
|
|
|
- <scroll-view class="courseSummary" :show-scrollbar="false" v-if="type === 2">
|
|
|
- <view class="text-[20px] font-bold mb-3 text-[#fff]" v-for="(item, index) in courseSummary"
|
|
|
- :key="index">
|
|
|
+ <view class="courseSummary" :show-scrollbar="false" v-if="type === 2">
|
|
|
+ <image class="absolute top-0 left-0 z-[1] w-full h-full " mode="aspectFill"
|
|
|
+ src="https://oss.xiaoxiongcode.com/static/scratch/1.png" />
|
|
|
+ <view class="text-[20px] w-[60vw] font-bold mb-3 text-[#000] relative z-[2]"
|
|
|
+ v-for="(item, index) in courseSummary" :key="index">
|
|
|
{{ index + 1 }}. {{ item }}
|
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
+ </view>
|
|
|
<scroll-view class="codeImage" v-else :show-scrollbar="false">
|
|
|
<cl-row :gutter="12">
|
|
|
<cl-col :span="8" v-for="item in codeImage" :key="item">
|
|
|
@@ -56,13 +60,15 @@ onMounted(async () => {
|
|
|
</template>
|
|
|
<style lang="scss" scoped>
|
|
|
.main {
|
|
|
- background: linear-gradient(0deg, #88C5F0, #D0ECFF);
|
|
|
+ // background: linear-gradient(0deg, #88C5F0, #D0ECFF);
|
|
|
width: 100vw;
|
|
|
height: 100vh;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
+ position: relative;
|
|
|
+ z-index: 2;
|
|
|
|
|
|
.progress {
|
|
|
position: relative;
|
|
|
@@ -75,7 +81,11 @@ onMounted(async () => {
|
|
|
}
|
|
|
|
|
|
.courseSummary {
|
|
|
- @apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 max-w-[1000px] w-[60vw] max-h-[620px] rounded-[30px] p-[20px] text-white;
|
|
|
+ @apply absolute max-w-[1000px] w-[70vw] rounded-[30px] text-white flex flex-col items-center p-[30px] text-center;
|
|
|
+ aspect-ratio: 585 / 324;
|
|
|
+ top: 60px;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
|
|
|
}
|
|
|
|