123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <template>
- <view class="">
- <view class="road">
- <view class="nav"
- ><view class="left">科目三真实考场</view
- ><view class="right" @click="goPath">
- 查找我的考场<van-icon color="#498EF5" name="arrow"
- /></view>
- </view>
- <view class="mark">
- <view class="button1">社会化驾驶人考场</view>
- <image mode="widthFix" class="play" :src="bottom_arrrow"></image>
- </view>
- <view class="nav2">
- <image
- mode="widthFix"
- class="left"
- src="https://ct.zzxcx.net/ctjk/mp-wx/teacherVideo/kemu3.png"
- ></image>
- <view class="right">
- <view>熟记考场</view>
- <view>考试不用慌</view>
- <view class="look">去看考场</view>
- </view>
- </view>
- </view>
- <view class="subject">
- <view v-for="(item, index) in kemu" :key="index" class="list">
- <navigator url="/otherPages/videoSubjectList/index">
- <image
- mode="widthFix"
- class="subject-bg"
- src="https://ct.zzxcx.net/ctjk/mp-wx/teacherVideo/kemubg1.png"
- ></image>
- <view class="text1"> 科目{{ item }} </view>
- <view class="text2"> 《视频讲解》 </view>
- </navigator>
- </view>
- </view>
- <view class="wxad">
- <ad
- ad-type="video"
- :ad-intervals="100"
- unit-id="adunit-8eb44bbd7e3147d4"
- ></ad>
- </view>
- </view>
- </template>
- <script>
- import bottom_arrrow from "@/assets/img/bottom_arrrow.png";
- export default {
- data() {
- return {
- bottom_arrrow,
- query: {},
- kemu: ["一", "二", "三", "四"],
- };
- },
- methods: {
- goPath() {
- uni.navigateTo({
- url: "/otherPages/examRoadVideo/index",
- });
- },
- onLoad(query) {
- this.query = query;
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .road {
- width: 690rpx;
- margin: 0 auto;
- height: 478rpx;
- background: linear-gradient(
- 188deg,
- #edf4ff 0%,
- rgba(237, 244, 255, 0.43) 100%
- );
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- opacity: 1;
- .nav {
- display: flex;
- width: 100%;
- justify-content: space-between;
- align-content: center;
- align-items: center;
- padding-left: 30rpx;
- padding-right: 30rpx;
- padding-top: 36rpx;
- .left {
- font-size: 36rpx;
- font-weight: bold;
- }
- .right {
- color: #498ef5;
- }
- }
- .mark {
- position: relative;
- padding-left: 30rpx;
- padding-right: 30rpx;
- margin-top: 22rpx;
- width: 328rpx;
- text-align: center;
- font-size: 0;
- .button1 {
- width: 268rpx;
- line-height: 64rpx;
- background: #498ef5;
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- opacity: 1;
- color: #fff;
- font-size: 26rpx;
- text-align: center;
- }
- .play {
- width: 36rpx;
- margin-top: 4rpx;
- }
- }
- .nav2 {
- display: flex;
- width: 100%;
- padding-left: 30rpx;
- padding-right: 30rpx;
- justify-content: space-between;
- margin-top: 20rpx;
- .left {
- width: 408rpx;
- }
- .right {
- width: 200rpx;
- color: #498ef5;
- font-size: 30rpx;
- text-align: center;
- line-height: 1.5;
- .look {
- width: 200rpx;
- line-height: 92rpx;
- background: #498ef5;
- border-radius: 50rpx 50rpx 50rpx 50rpx;
- opacity: 1;
- font-size: 34rpx;
- color: #fff;
- margin-top: 10rpx;
- }
- }
- }
- }
- .subject {
- padding: 0 30rpx;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-between;
- .list {
- position: relative;
- margin-bottom: 15rpx;
- .subject-bg {
- width: 334rpx;
- }
- .text1 {
- font-size: 42rpx;
- color: #fff;
- position: absolute;
- top: 30rpx;
- left: 60rpx;
- }
- .text2 {
- font-size: 42rpx;
- color: #fff;
- position: absolute;
- top: 88rpx;
- left: 40rpx;
- }
- }
- }
- .wxad {
- border: none;
- padding: 0 30rpx;
- }
- </style>
|