<template> <view class="flex-col page"> <view class="flex-col"> <view class="flex-row justify-between group"> <view class="flex-row items-end"> <view class="flex-col justify-start items-end image-wrapper"> <image class="image" src="https://ide.code.fun/api/image?token=673992edc471750012df23be&name=764c28fa933e84fab043d3accbf2bbec.png" /> </view> <view class="flex-col group_2 ml-14"> <view class="self-start group_3"> <text class="text">¥</text> <text class="text_2">99</text> </view> <view class="flex-row self-stretch group_4"> <text class="font">请选择</text> <text class="font ml-9">场次</text> </view> <text class="self-start font text_1">数量:20</text> </view> </view> <image class="self-start image_2" src="https://ide.code.fun/api/image?token=673992edc471750012df23be&name=037e673ff4e043469617699bd3d80b2f.png" /> </view> <view class="flex-col justify-start items-start text-wrapper"> <text class="font_2 text_3">参加日期:2024年11月</text> </view> <view class="divider"></view> </view> <view class="flex-col group_5"> <view class="flex-col group_6"> <image class="shrink-0 self-start image_3 image_4" src="https://ide.code.fun/api/image?token=673992edc471750012df23be&name=958476853f8c341f67f1eb6053f9a005.png" /> <view class="flex-row self-center relative grid"> <view class="flex-col justify-start grid-item pos_1"> <view class="section"></view> <text class="font_3 pos">11月12日</text> </view> <view class="flex-col justify-start grid-item_2 pos_9"> <view class="section"></view> <text class="font_3 pos_2">11月13日</text> </view> <view class="flex-col justify-start items-center grid-item_3 pos_6"> <text class="font_3">11月14日</text> <image class="image_5 pos_3" src="https://ide.code.fun/api/image?token=673992edc471750012df23be&name=c9d6fb2a044e18583ff8a4e56c720383.png" /> </view> <view class="flex-col justify-start grid-item_2 pos_7"> <view class="section"></view> <text class="font_3 text_4 pos_4">11月15日</text> </view> </view> <image class="shrink-0 self-start image_3 image_6" src="https://ide.code.fun/api/image?token=673992edc471750012df23be&name=5482bec71b24de224668a897bd56ce5c.png" /> </view> <view class="flex-col mt-20"> <view class="flex-col justify-start items-start text-wrapper_2"><text class="font_2 text_5">场次</text></view> <view class="flex-col group_7"> <view class="flex-row group_8"> <view class="flex-col justify-start items-center text-wrapper_3"> <text class="font_4 text_6">上午场(09:30-12:00)</text> </view> <view class="flex-col justify-start items-center text-wrapper_4 ml-37"> <text class="font_4 text_7">下午场(13:00-16:00)</text> </view> </view> <view class="flex-col justify-start items-start group_9 mt-24"> <view class="flex-col items-start section_2"> <text class="font_2 text_9">购买须知:本次课程活动最少需要到</text> <text class="font_2">达5人才能进行授课</text> </view> </view> </view> </view> </view> <view class="flex-col justify-start items-center section_3"> <view class="flex-row section_4"> <text class="font_5 text_8">购</text> <text class="font_5 ml-18">买</text> </view> </view> </view> </template> <script setup> </script> <style lang="scss" scoped> .ml-9 { margin-left: 16.88rpx; } .ml-37 { margin-left: 69.38rpx; } .page { padding-bottom: 26.25rpx; background-color: #fffef8; border-radius: 37.5rpx 37.5rpx 0rpx 0rpx; width: 100%; overflow-y: auto; overflow-x: hidden; height: 100%; } .group { padding: 28.13rpx 30rpx 3.75rpx; } .image-wrapper { padding-bottom: 166.88rpx; border-radius: 5.63rpx; background-image: url('https://ide.code.fun/api/image?token=673992edc471750012df23be&name=f41b64b57071affd8eecfaa15a455af2.png'); background-size: 100% 100%; background-repeat: no-repeat; width: 195rpx; height: 204.38rpx; } .image { border-radius: 5.63rpx; width: 37.5rpx; height: 37.5rpx; } .group_2 { margin-bottom: 5.31rpx; } .group_3 { margin-left: 12.15rpx; line-height: 31.03rpx; } .text { color: #c35c5d; font-size: 37.5rpx; font-family: Times New Roman; font-weight: 700; line-height: 27.68rpx; } .text_2 { color: #c35c5d; font-size: 45rpx; font-family: Times New Roman; font-weight: 700; line-height: 31.03rpx; } .group_4 { margin-top: 19.88rpx; } .font { font-size: 26.25rpx; font-family: STXingkai; line-height: 31.88rpx; color: #818181; } .text_1 { margin-left: 2.1rpx; } .image_2 { margin-right: 20.63rpx; margin-top: 5.63rpx; width: 37.5rpx; height: 37.5rpx; } .text-wrapper { padding: 33.6rpx 0 26.89rpx; background-color: #fffef8; border-radius: 28.13rpx; } .font_2 { font-size: 37.5rpx; font-family: 'YuHongLiang'; line-height: 45rpx; color: #000000; } .text_3 { margin-left: 26.46rpx; line-height: 37.01rpx; } .divider { margin: 9.38rpx 26.27rpx 0 20.63rpx; background-color: #d9d9d9; height: 1.88rpx; } .group_5 { margin-top: 69.38rpx; overflow-x: hidden; } .group_6 { overflow-x: hidden; height: 388.13rpx; } .image_3 { width: 155.63rpx; height: 120rpx; } .image_4 { margin-left: -13.13rpx; } .grid { margin-top: -28.13rpx; width: 605.63rpx; height: 228.75rpx; } .grid-item { background-color: #fbdedf; border-radius: 18.75rpx; background-image: url('https://ide.code.fun/api/image?token=673992edc471750012df23be&name=c9d6fb2a044e18583ff8a4e56c720383.png'); background-size: 100% 100%; background-repeat: no-repeat; width: 253.13rpx; } .pos_1 { position: absolute; left: 3.75rpx; top: 0; } .section { background-image: url('https://ide.code.fun/api/image?token=673992edc471750012df23be&name=c9d6fb2a044e18583ff8a4e56c720383.png'); background-size: 100% 100%; background-repeat: no-repeat; height: 90rpx; } .font_3 { font-size: 30rpx; font-family: 'YuHongLiang'; line-height: 22.29rpx; color: #000000; } .pos { position: absolute; left: 57.99rpx; top: 50%; transform: translateY(-50%); } .grid-item_2 { background-color: #ffffff; border-radius: 18.75rpx; background-image: url('https://ide.code.fun/api/image?token=673992edc471750012df23be&name=c9d6fb2a044e18583ff8a4e56c720383.png'); background-size: 100% 100%; background-repeat: no-repeat; width: 253.13rpx; } .pos_9 { position: absolute; right: 0; top: 0; } .pos_2 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } .grid-item_3 { padding: 40.78rpx 0 26.92rpx; background-color: #ffffff; border-radius: 18.75rpx; width: 253.13rpx; } .pos_6 { position: absolute; left: 0; top: 138.75rpx; } .image_5 { width: 255rpx; height: 90rpx; } .pos_3 { position: absolute; left: 0; right: 0; top: 0; bottom: 0; } .pos_7 { position: absolute; right: 0; top: 138.75rpx; } .text_4 { line-height: 22.65rpx; } .pos_4 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } .image_6 { margin-left: 603.77rpx; margin-top: -52.5rpx; } .text-wrapper_2 { padding: 29.33rpx 0 39.94rpx; background-color: #fffef8; border-radius: 28.13rpx; } .text_5 { margin-left: 67.16rpx; line-height: 28.24rpx; } .group_7 { padding-left: 30rpx; padding-right: 15rpx; } .group_8 { padding: 46.88rpx 5.63rpx 43.13rpx; border-top: solid 1.88rpx #d9d9d9; } .text-wrapper_3 { padding: 17.66rpx 0 17.79rpx; flex: 1 1 301.88rpx; background-color: #f3f3f3; border-radius: 5.63rpx; height: 60rpx; } .font_4 { font-size: 26.25rpx; font-family: STXingkai; line-height: 24.54rpx; } .text_6 { color: #323233; } .text-wrapper_4 { margin-right: 20.63rpx; padding: 17.66rpx 0 17.79rpx; flex: 1 1 301.88rpx; background-color: #fbdedf; border-radius: 5.63rpx; height: 60rpx; } .text_7 { color: #c35c5d; } .group_9 { padding-top: 43.13rpx; height: 234.38rpx; border-top: solid 1.88rpx #d9d9d9; } .section_2 { margin-left: 24.38rpx; padding: 35.33rpx 0 68.63rpx 13.73rpx; background-color: #fff2f2f5; border-radius: 18.75rpx; } .text_9 { margin-left: 3.64rpx; } .section_3 { margin-left: 15rpx; margin-top: 189.38rpx; padding: 16.88rpx 0; background-color: #fffef8; } .section_4 { padding: 27.3rpx 0 23.79rpx; background-color: #fbdedf; border-radius: 46.88rpx; width: 618.75rpx; } .font_5 { font-size: 30rpx; font-family: Open Sans; line-height: 27.54rpx; color: #c35c5d; } .text_8 { margin-left: 263.59rpx; } @import url(/common/css/global.css); @font-face { font-family: 'YuHongLiang'; src: url('https://carbon2.obs.cn-north-4.myhuaweicloud.com/fonts/%E4%BA%8E%E6%B4%AA%E4%BA%AE%E7%A1%AC%E7%AC%94%E8%A1%8C%E6%A5%B7%E6%89%8B%E5%86%99%E5%AD%97%E4%BD%93.TTF') format('truetype'); } </style>