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

I类学分项目

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