提交 237c9226 编写于 作者: guangjun.yang's avatar guangjun.yang

Ⅰ类学分继续医学教育10分学习卡

上级 a8974c3d
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div class="info"> <div class="info">
<span>Ⅰ类学分继续医学教育10分学习卡</span> <span>Ⅰ类学分继续医学教育10分学习卡</span>
<p> <p>
<span>¥60</span><span>原价¥80</span> <span class="price">¥60</span><span class="discount"> 原价¥80</span>
</p> </p>
</div> </div>
</section> </section>
...@@ -80,6 +80,21 @@ export default { ...@@ -80,6 +80,21 @@ export default {
height: px2rem(60px); height: px2rem(60px);
margin-right: px2rem(8px); margin-right: px2rem(8px);
} }
.info {
p {
display: flex;
align-items: center;
.price {
color: #FB5B52;
font-size: px2rem(18px);
font-weight: 700;
margin-right: px2rem(8px);
}
.discount {
color: #979899;
}
}
}
} }
.line { .line {
margin-top: px2rem(30px); margin-top: px2rem(30px);
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
}) })
} }
}) })
}("gotoLogin", "dispatchEventByModuleCode", "gotoAuthentication", "shareWechat", "backPreviousPage", "bindingWechat", "getDeviceInfo", "goBack", "appBuryingPointEntrust", "getAuthPermission", "getAppVersionCode", "getToken", "gotoNewActivity", "gotoNewActivityWithParams", "gotoNewWebActivity", "gotoYidianActivity", "readMessage", "openFiveMintusAudio", "getStatusBarSize", "showNativeDialog", "showNativeToast", "gotoViewTop", "appInit", "checkPermissions", "getStatusBarHeight", "setTabMiniIcon", "getUserInfo", "pauseAudioView", "sendBuriedPoint", "openErrorDebug", "upGradeVersion", "getLocalData"); }("gotoLogin", "dispatchEventByModuleCode", "gotoAuthentication", "shareWechat", "backPreviousPage", "bindingWechat", "getDeviceInfo", "goBack", "appBuryingPointEntrust", "getAuthPermission", "getAppVersionCode", "getToken", "gotoNewActivity", "gotoNewActivityWithParams", "gotoNewWebActivity", "gotoYidianActivity", "readMessage", "openFiveMintusAudio", "getStatusBarSize", "showNativeDialog", "showNativeToast", "gotoViewTop", "appInit", "checkPermissions", "getStatusBarHeight", "setTabMiniIcon", "getUserInfo", "pauseAudioView", "sendBuriedPoint", "openErrorDebug", "upGradeVersion", "getLocalData", "getPositionData");
if (e.__rocAndroid) { if (e.__rocAndroid) {
e.__isAndroid = true e.__isAndroid = true
e.__isIOS = false e.__isIOS = false
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<img src="../images/cme/phrase2/back-top.png" alt /> <img src="../images/cme/phrase2/back-top.png" alt />
</article> </article>
</transition> </transition>
<CardPopup showGoUpdate></CardPopup> <CardPopup :showGoUpdate="showGoUpdate"></CardPopup>
</div> </div>
</template> </template>
<script> <script>
...@@ -99,7 +99,8 @@ export default { ...@@ -99,7 +99,8 @@ export default {
token: "", token: "",
toastTitle: "", toastTitle: "",
userMobile: "", userMobile: "",
needShowBackup: false needShowBackup: false,
showGoUpdate: false,
}; };
}, },
computed: { computed: {
...@@ -139,6 +140,10 @@ export default { ...@@ -139,6 +140,10 @@ export default {
component_tag: "210#0#0#0" component_tag: "210#0#0#0"
}); });
window.__getPositionData = function(param) {
console.log(param)
}
this.getPositionData();
window.addEventListener("scroll", this.scrollFun); window.addEventListener("scroll", this.scrollFun);
}, },
mounted() { mounted() {
...@@ -208,6 +213,15 @@ export default { ...@@ -208,6 +213,15 @@ export default {
__funcName: "__getUserInfo" __funcName: "__getUserInfo"
}); });
}, },
//获取位置信息
getPositionData() {
console.log('getPositionData');
rocNative.getPositionData({
__funcName: "__getPositionData"
});
},
changeTab(index) { changeTab(index) {
let tag = index == 1 ? "210#210001#0" : "210#210001#1"; let tag = index == 1 ? "210#210001#0" : "210#210001#1";
this.tabIndex = index; this.tabIndex = index;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册