提交 0d143511 编写于 作者: guangjun.yang's avatar guangjun.yang

I类学分项目

上级 519084d7
......@@ -15,7 +15,7 @@
<img class="img" src="https://file.yunqueyi.com/h5/images/tinified/I-detail-6.png">
<img class="img" src="https://file.yunqueyi.com/h5/images/tinified/I-detail-7.png">
<img @click="isBuy(1)" class="img" src="https://file.yunqueyi.com/h5/images/tinified/i-detail-8.png">
<CardPopup :cardInfo="cardInfo" :isShow="showGoUpdate" @cancle="jumpToCardList" @confirm="confirm"></CardPopup>
<CardPopup :cardInfo="cardInfo" :isShow="isShowPopup" @cancle="jumpToCardList" @confirm="confirm"></CardPopup>
</section>
</template>
<script>
......@@ -27,7 +27,7 @@ export default {
bgColor: "#fff",
bgColor: 'none',
showNavBar: true,
showGoUpdate: false,
isShowPopup: false,
isFixNavbar: true,
oneLevelUrl: '',
provinceId: 0,
......@@ -103,7 +103,7 @@ export default {
}
this.POST("trade/goods/cardList", param).then(res => {
if (res.code == "000000") {
this.showGoUpdate = true;
this.isShowPopup = true;
this.cardInfo = res.data && res.data[0] || {} ;
}
});
......@@ -121,6 +121,7 @@ export default {
// 跳转到原生的购买页面
confirm(goodId) {
this.isShowPopup = false;
let paramList = [
{
key: "className",
......@@ -143,6 +144,7 @@ export default {
// 跳转I类学习详情页面(中华医学会项目列表页面)
jumpToCardList() {
this.isShowPopup = false;
if (window.__isWeb) {
return;
} else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册