提交 38fb8f97 编写于 作者: guangjun.yang's avatar guangjun.yang

代码优化

上级 f0390640
......@@ -2,7 +2,7 @@
<div class="card-1-no-wrapper">
<Logo></Logo>
<div class="bgi-wrapper">
<img src="~@/images/annual/page-7-back.png" alt />
<img src="https://file.yunqueyi.com/h5/images/asimg/page-7-back.png" alt />
</div>
<section class="detail">
<p v-if="anualData.doctorName" class="title">
......
......@@ -2,7 +2,7 @@
<div class="card-1-wrapper">
<Logo></Logo>
<div class="bgi-wrapper">
<img src="~@/images/annual/page-1-back.png" alt />
<img src="https://file.yunqueyi.com/h5/images/asimg/page-1-back.png" alt />
</div>
<section class="detail">
<p v-if="anualData.doctorName" class="title">
......@@ -26,7 +26,7 @@
<span class="fbig6 cg2">{{anualData.registerDays}}</span> 天啦
</p>
<p class="mt-15">
<span class="cg2 b">{{parseTime(anualData.registerTime, '{yyyy}')}}</span> 年 <span class="cg2 b">{{parseTime(anualData.registerTime, '{mm}')}}</span> <span class="cg2 b">{{parseTime(anualData.registerTime, '{dd}')}}</span>
<span class="cg2 b">{{parseTime(anualData.registerTime, '{yyyy}')}}</span> 年 <span class="cg2 b">{{parseTime(anualData.registerTime, '{mm}')}}</span> <span class="cg2 b">{{parseTime(anualData.registerTime, '{dd}')}}</span>
</p>
<p>第一次遇见您</p>
<p v-show="anualData.firstCourseName" class="mt-20">
......
......@@ -2,7 +2,7 @@
<div class="card-2-wrapper">
<Logo></Logo>
<div class="bgi-wrapper">
<img src="~@/images/annual/page-2-back.png" alt />
<img src="https://file.yunqueyi.com/h5/images/asimg/page-2-back.png" alt />
</div>
<section class="ani detail" swiper-animate-effect="fadeInRight"
swiper-animate-duration="1.5s"
......
<template>
<div class="card-3-wrapper">
<Logo></Logo>
<div class="bgi-wrapper"><img src="~@/images/annual/page-3-back.png" alt="" /></div>
<div class="bgi-wrapper"><img src="https://file.yunqueyi.com/h5/images/asimg/page-3-back.png" alt="" /></div>
<section class="ani detail" swiper-animate-effect="fadeInRight"
swiper-animate-duration="1.5s"
swiper-animate-delay="0">
......
......@@ -85,21 +85,21 @@ export default {
color: #3b3b3b;
&.ysl {
background: url("~@/images/annual/page-4-back.png") no-repeat center
background: url("https://file.yunqueyi.com/h5/images/asimg/page-4-back.png") no-repeat center
center;
background-size: cover;
color: #ffffff;
}
&.zqc {
background: url("~@/images/annual/page-5-back.png") no-repeat center
background: url("https://file.yunqueyi.com/h5/images/asimg/page-5-back.png") no-repeat center
center;
background-size: cover;
color: #134a5d;
}
&.no {
background: url("~@/images/annual/page-6-back.png") no-repeat center
background: url("https://file.yunqueyi.com/h5/images/asimg/page-6-back.png") no-repeat center
center;
background-size: cover;
color: #ffffff;
......
......@@ -2,8 +2,8 @@
<div class="card-5-wrapper">
<Logo></Logo>
<div class="bgi-wrapper">
<img v-show="type == 1" src="~@/images/annual/yqd-back.png" alt="" />
<img v-show="type == 2" src="~@/images/annual/no-yqd-back.png" alt="" />
<img v-show="type == 1" src="https://file.yunqueyi.com/h5/images/asimg/yqd-back.png" alt="" />
<img v-show="type == 2" src="https://file.yunqueyi.com/h5/images/asimg/no-yqd-back.png" alt="" />
</div>
<section v-show="type == 1" class="ani detail" swiper-animate-effect="fadeInRight"
swiper-animate-duration="1.5s"
......
......@@ -3,7 +3,7 @@
<Logo imgType="2"></Logo>
<div class="bgi-wrapper">
<img class="bg"
src="~@/images/annual/env-back.png" alt />
src="https://file.yunqueyi.com/h5/images/asimg/env-back.png" alt />
</div>
<section
class="ani detail"
......
......@@ -37,9 +37,10 @@ export default {
this.$sendBuriedData({
component_tag: `560#560001${this.backBDText}`
});
setTimeout( () => {
this.$router.back(-1);
}, 100);
rocNative.goBack();
// setTimeout( () => {
// this.$router.back(-1);
// }, 100);
} else {
this.$sendBuriedData({
component_tag: '559#559001'
......
......@@ -335,8 +335,8 @@ export default {
if (res.code !== "000000") {
console.log("跳登录", this.isInfresh);
if (this.isInfresh) {
// rocNative.goBack();
this.$router.back(-1);
rocNative.goBack();
// this.$router.back(-1);
} else {
rocNative.gotoLogin();
}
......
......@@ -2,7 +2,7 @@
<div class="as-index-wrapper">
<Logo imgType=2 backType=2></Logo>
<div class="bgi-wrapper">
<img src="~@/images/annual/index-back.png" alt />
<img src="https://file.yunqueyi.com/h5/images/asimg/index-back.png" alt />
</div>
<div class="text-wrapper">
<p class="fbig cw">2020年</p>
......@@ -49,6 +49,7 @@
</template>
<script>
import { Progress, Toast } from "vant";
import { getWebPageUrl } from "@/utils";
import Logo from "@/components/annual-summary/logo";
let _this = null;
......@@ -117,7 +118,23 @@ export default {
});
if(this.isSelect) {
this.$router.push('/as-detail');
// this.$router.push('/as-detail');
let pageUrl = getWebPageUrl(
`annualsummary/#/as-detail`
);
let paramList = [
{
key: "pageUrl",
value: pageUrl,
type: 4,
seqNo: 1
}
];
rocNative.dispatchEventByModuleCode({
modeCode: "M300",
jsonString: paramList
});
} else {
Toast("请勾选我同意后查看");
}
......
......@@ -3,7 +3,7 @@
<div class="card-wrapper">
<!-- <Logo imgType="2"></Logo> -->
<div class="bgi-wrapper">
<img class="bg" src="~@/images/annual/share-back.png" alt />
<img class="bg" src="https://file.yunqueyi.com/h5/images/asimg/share-back.png" alt />
</div>
<section class="detail">
<p class="title">2020年度学习报告</p>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册