123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <template>
- <view class="goods_topic">
- <nav-bar title="选课中心"></nav-bar>
- <view class="banner_header">
- <image class="ban_img" src="../static/topic/banner_bg.png"></image>
- <view class="selects">
- <view class="titles">
- 考前培训:二级建造师
- </view>
- <view class="icons">
- <u-icon name="arrow-right" color="#3E4055" size="26"></u-icon>
- </view>
- </view>
- <view class="imgs">
- <image class="banner" src="../static/topic/banner.png"></image>
- </view>
- </view>
- <view class="mains">
- <view class="titles">
- <image class="code" src="@/static/learn/act_icon.png" ></image>
- <text class="title">免费试听</text>
- </view>
- <view class="pictures">
- <view class="pic_imgs">
- <image class="basic_img" src="../static/topic/basic.png" ></image>
- </view>
- <view class="pic_title">建筑全科 2022年二建精华班建筑知识全系列课程</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: 'goodsTopic',
- data() {
- return {
-
- }
- },
- }
- </script>
- <style>
- page {
- width: 100%;
- background: linear-gradient(180deg, rgba(223,236,253,0) 0%, #DFECFD 100%);
- }
- </style>
- <style lang="scss" scoped>
- @mixin dis_center {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- @mixin dis_around {
- display: flex;
- align-items: center;
- justify-content: space-around;
- }
- .goods_topic {
- width: 100%;
-
- .banner_header {
-
- height: 378rpx;
- position: relative;
- top: 0rpx;
- left: 0rpx;
- .ban_img {
- width: 100%;
- height: 378rpx;
- position: absolute;
- top: 0rpx;
- left: 0rpx;
- z-index: 99;
- }
- .selects {
- margin: 32rpx 0rpx 0rpx 40rpx;
- width: 370rpx;
- height: 64rpx;
- background: rgba(255,255,255,0.6);
- border-radius: 160rpx;
- // opacity: 0.6;
- @include dis_around();
- position: absolute;
- top: 0rpx;
- left: 0rpx;
- z-index: 100;
- .icons {
- width: 36rpx;
- height: 36rpx;
- background: #FFFFFF;
- border-radius: 50%;
- @include dis_center()
- }
- }
- .imgs {
- position: absolute;
- bottom: 0rpx;
- left: 0rpx;
- z-index: 100;
- margin-left: 40rpx;
- }
- .banner {
- width: 670rpx;
- height: 250rpx;
- border-radius: 20rpx;
- }
- }
-
- .mains {
- padding: 0rpx 40rpx 0rpx 40rpx;
- .titles {
- margin: 72rpx 0rpx 32rpx 10rpx;
- .code {
- width: 38rpx;
- height: 24rpx;
- }
- .title {
- font-size: 40rpx;
- font-family: OPPOSans-Bold, OPPOSans;
- font-weight: bold;
- color: #222222;
- margin-left: 14rpx;
- }
- }
- .pictures {
- width: 100%;
- height: 522rpx;
- .pic_imgs {
- width: 100%;
- height: 374rpx;
- .basic_img {
- width: 100%;
- height: 374rpx;
- }
- }
- .pic_title {
- width: 100%;
- height: 148rpx;
- background: #FFFFFF;
- border-radius: 0rpx 0rpx 24rpx 24rpx;
- font-size: 32rpx;
- font-family: OPPOSans-Bold, OPPOSans;
- font-weight: bold;
- color: #222222;
- padding: 32rpx;
- }
- }
- }
- }
- </style>
|