|
@@ -30,24 +30,131 @@
|
|
<div class="min_title">2023年二级建造师考前培训</div>
|
|
<div class="min_title">2023年二级建造师考前培训</div>
|
|
<div class="details">
|
|
<div class="details">
|
|
<div class="detail_one">
|
|
<div class="detail_one">
|
|
|
|
+ <div class="deatil_titles">黄金基础班</div>
|
|
|
|
+ <div class="detail_mid">
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">全科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥980</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(1, 1)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">公共单科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥350</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(2, 1)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">实务单科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥500</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(3, 1)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="down_img">
|
|
|
|
+ <img class="l_img" src="@/assets/topic/detail_one.png" alt="" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="detail_one">
|
|
|
|
+ <div class="deatil_titles two">钻石强化班</div>
|
|
|
|
+ <div class="detail_mid">
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">全科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥1280</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(1, 2)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">公共单科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥450</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(2, 2)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">实务单科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥700</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(3, 2)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="down_img">
|
|
|
|
+ <img class="l_img" src="@/assets/topic/detail_two.png" alt="" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
+ <div class="detail_one">
|
|
|
|
+ <div class="deatil_titles three">至尊私塾班</div>
|
|
|
|
+ <div class="detail_mid">
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">全科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥1980</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(1, 3)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">公共单科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥700</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(2, 3)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="mid_item">
|
|
|
|
+ <div class="lefts">实务单科</div>
|
|
|
|
+ <div class="rights">
|
|
|
|
+ <span class="price">¥900</span>
|
|
|
|
+ <div class="right_buy" @click="togoBuy(3, 3)">立即购买</div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="down_img">
|
|
|
|
+ <img class="l_img" src="@/assets/topic/detail_three.png" alt="" />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</section>
|
|
</section>
|
|
|
|
+
|
|
|
|
+ <!-- 弹窗 -->
|
|
|
|
+ <buy-dialog :buyModal.sync="buyModal" :topicId="topicId" :subjectType="subjectType" :type="type"></buy-dialog>
|
|
|
|
+ <ToolBar></ToolBar>
|
|
|
|
+ <Footer></Footer>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import Header from "@/components/header/index";
|
|
|
|
|
|
+import Header from "@/components/header/index.vue";
|
|
|
|
+import Footer from "@/components/footer/index.vue";
|
|
|
|
+import ToolBar from "@/components/toolbar/index.vue";
|
|
|
|
+import buyDialog from './components/buyDialog.vue'
|
|
export default {
|
|
export default {
|
|
name: '',
|
|
name: '',
|
|
- components: { Header },
|
|
|
|
|
|
+ components: { Header, Footer, ToolBar, buyDialog },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
-
|
|
|
|
|
|
+ buyModal: false,
|
|
|
|
+ topicId: '',
|
|
|
|
+ subjectType: 0,
|
|
|
|
+ type: 0,
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ created() {
|
|
|
|
+ this.topicId = this.$route.query.topicId
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+ togoBuy(subjectType, type) {
|
|
|
|
+ this.subjectType = subjectType
|
|
|
|
+ this.type = type
|
|
|
|
+ this.buyModal = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -89,7 +196,8 @@ export default {
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
width: 100%;
|
|
- height: 3444px;
|
|
|
|
|
|
+ // height: 3444px;
|
|
|
|
+ height: 3100px;
|
|
background: url('../../assets/topic/topic_bg.png') center center no-repeat;
|
|
background: url('../../assets/topic/topic_bg.png') center center no-repeat;
|
|
background-size: 100% 100%;
|
|
background-size: 100% 100%;
|
|
|
|
|
|
@@ -112,9 +220,83 @@ export default {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
color: #363543;
|
|
color: #363543;
|
|
}
|
|
}
|
|
- .details {
|
|
|
|
- .detail_one {
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ .details {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .detail_one {
|
|
|
|
+ width: 358px;
|
|
|
|
+ height: 2753px;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ margin-right: 20px;
|
|
|
|
+ }
|
|
|
|
+ .deatil_titles {
|
|
|
|
+ width: 358px;
|
|
|
|
+ height: 110px;
|
|
|
|
+ line-height: 110px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ border-radius: 8px 8px 0px 0px;
|
|
|
|
+ background: linear-gradient(45deg, #71A9F6 0%, #1658DA 100%);
|
|
|
|
+ font-size: 32px;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ &.two {
|
|
|
|
+ background: linear-gradient(45deg, #FE8D6D 0%, #ED3531 100%);
|
|
|
|
+ }
|
|
|
|
+ &.three {
|
|
|
|
+ background: linear-gradient(45deg, #E3BC79 0%, #BF7D2E 100%);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .detail_mid {
|
|
|
|
+ width: 358px;
|
|
|
|
+ padding: 0px 24px;
|
|
|
|
+
|
|
|
|
+ .mid_item {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 74px;
|
|
|
|
+ border-bottom: 1px solid #EAEAEA;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ }
|
|
|
|
+ .lefts {
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ color: #363543;
|
|
|
|
+ }
|
|
|
|
+ .rights {
|
|
|
|
+ display: flex;
|
|
|
|
+ }
|
|
|
|
+ .price {
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ color: #FC3F3F;
|
|
|
|
+ margin-right: 20px;
|
|
|
|
+ }
|
|
|
|
+ .right_buy {
|
|
|
|
+ width: 76px;
|
|
|
|
+ height: 28px;
|
|
|
|
+ line-height: 28px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ background: #FC3F3F;
|
|
|
|
+ border-radius: 50px;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .down_img {
|
|
|
|
+ width: 358px;
|
|
|
|
+ height: 2369px;
|
|
|
|
+ >.l_img {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|