替换埋点使用

This commit is contained in:
2022-11-28 16:08:55 +08:00
parent 44e24a52d3
commit 47174c95b4
3 changed files with 21021 additions and 108 deletions

View File

@@ -30,10 +30,12 @@
console.log('有ticket正常进入,' + window.sessionStorage.getItem('ticket')) console.log('有ticket正常进入,' + window.sessionStorage.getItem('ticket'))
} }
</script> </script>
<script type="text/javascript" src="https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085"></script> <!-- <script type="text/javascript" src="https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085"></script> -->
<script type="text/javascript" src="//jssdk.yyhj.zjzwfw.gov.cn/jsbridge/v2.0.0/bridge.min.js"></script> <script type="text/javascript" src="//jssdk.yyhj.zjzwfw.gov.cn/jsbridge/v2.0.0/bridge.min.js"></script>
<!-- 引入ZWJSBridge --> <!-- 引入ZWJSBridge -->
<script type="text/javascript" src="//assets.zjzwfw.gov.cn/assets/ZWJSBridge/1.0.1/zwjsbridge.js"></script> <script type="text/javascript" src="//assets.zjzwfw.gov.cn/assets/ZWJSBridge/1.0.1/zwjsbridge.js"></script>
<script type="text/javascript" src="//assets.zjzwfw.gov.cn/assets/zwlog/1.0.0/zwlog.js"></script>
</head> </head>
<body> <body>
@@ -68,19 +70,19 @@
arguments: ["aplus-waiting", "MAN"] arguments: ["aplus-waiting", "MAN"]
}); });
// 单页应用路由切换后 或 在异步获取到 pv 日志所需的参数后再执行 sendPV // 单页应用路由切换后 或 在异步获取到 pv 日志所需的参数后再执行 sendPV
aplus_queue.push({ // aplus_queue.push({
action: "aplus.sendPV", // action: "aplus.sendPV",
arguments: [ // arguments: [
{ // {
is_auto: false // is_auto: false
}, // },
{ // {
isMini: true, // isMini: true,
miniAppId: "2001833218", //'应用开发管理平台-应用 ID // miniAppId: "2001833218", //'应用开发管理平台-应用 ID
miniAppName: "房屋征收" // miniAppName: "房屋征收"
} // }
] // ]
}); // });
</script> </script>
</body> </body>

File diff suppressed because it is too large Load Diff

View File

@@ -47,10 +47,7 @@
</div> </div>
<div class="projectTitle"> <div class="projectTitle">
{{ item.name }} {{ item.name }}
<van-icon <van-icon color="white" :name="item.show ? 'arrow-down' : 'arrow'" />
color="white"
:name="item.show ? 'arrow-down' : 'arrow'"
/>
</div> </div>
</div> </div>
<div class="TitListRight"> <div class="TitListRight">
@@ -97,24 +94,13 @@
<van-image :src="require('@/assets/img/assess_1.png')" /> <van-image :src="require('@/assets/img/assess_1.png')" />
<span>分户评估报告</span> <span>分户评估报告</span>
<van-icon <van-icon color="#2468f2" :name="activeIndexSon === index + 0 ? 'arrow-down' : 'arrow'" class="van-icon" />
color="#2468f2"
:name="activeIndexSon === index + 0 ? 'arrow-down' : 'arrow'"
class="van-icon"
/>
<div <div class="absolute1" v-on:click="absolute1_click($event, index, 0)"></div>
class="absolute1"
v-on:click="absolute1_click($event, index, 0)"
></div>
</div> </div>
<div v-if="activeIndexSon === index + 0"> <div v-if="activeIndexSon === index + 0">
<div <div :key="assess.id" @click="toEvaluate(assess.id, assess.type)" class="assessCenter1"
:key="assess.id" v-for="assess in item.fhpgList">
@click="toEvaluate(assess.id, assess.type)"
class="assessCenter1"
v-for="assess in item.fhpgList"
>
<div> <div>
<span>评估报告编号</span> <span>评估报告编号</span>
<span>{{ assess.assessmentNo }}</span> <span>{{ assess.assessmentNo }}</span>
@@ -127,9 +113,7 @@
</div> </div>
<div> <div>
<span>评估总金额</span> <span>评估总金额</span>
<span class="projectTitle" style="color: red" <span class="projectTitle" style="color: red">¥{{ assess.countValue }}</span>
>¥{{ assess.countValue }}</span
>
</div> </div>
<div> <div>
<span>评估公司</span> <span>评估公司</span>
@@ -141,25 +125,14 @@
<div class="assess2"> <div class="assess2">
<van-image :src="require('@/assets/img/assess_2.png')" /> <van-image :src="require('@/assets/img/assess_2.png')" />
<span>补偿结果</span> <span>补偿结果</span>
<van-icon <van-icon color="#2468f2" :name="activeIndexSonTwo === index + 1 ? 'arrow-down' : 'arrow'" class="van-icon" />
color="#2468f2"
:name="activeIndexSonTwo === index + 1 ? 'arrow-down' : 'arrow'"
class="van-icon"
/>
<!-- <i></i> <!-- <i></i>
--> -->
<div <div class="absolute2" v-on:click="absolute2_click($event, index, 1)"></div>
class="absolute2"
v-on:click="absolute2_click($event, index, 1)"
></div>
</div> </div>
<div v-if="activeIndexSonTwo === index + 1"> <div v-if="activeIndexSonTwo === index + 1">
<div <div :key="protocol.id" @click="toAgreement(item.prjId)" class="assessCenter2"
:key="protocol.id" v-for="protocol in item.bcxyList">
@click="toAgreement(item.prjId)"
class="assessCenter2"
v-for="protocol in item.bcxyList"
>
<div> <div>
<span>协议编号</span> <span>协议编号</span>
<span>{{ protocol.xyNo }}</span> <span>{{ protocol.xyNo }}</span>
@@ -178,9 +151,7 @@
</div> </div>
<div> <div>
<span>合计补偿资金</span> <span>合计补偿资金</span>
<span class="projectTitle" style="color: red" <span class="projectTitle" style="color: red">¥{{ protocol.summationShouldCompensateMoney }}</span>
>¥{{ protocol.summationShouldCompensateMoney }}</span
>
</div> </div>
<div> <div>
<span>合计安置面积</span> <span>合计安置面积</span>
@@ -201,17 +172,10 @@
<span>{{ data.policiesRegulationsLists.totalCount }}</span> <span>{{ data.policiesRegulationsLists.totalCount }}</span>
</div> </div>
<div class="protocolBox"> <div class="protocolBox">
<div <div :key="i" @click="pageJump(item.id)" class="protocolList"
:key="i" v-for="(item, i) in data.policiesRegulationsLists.list">
@click="pageJump(item.id)"
class="protocolList"
v-for="(item, i) in data.policiesRegulationsLists.list"
>
<!-- 非最后一行有边框 --> <!-- 非最后一行有边框 -->
<div <div style="border-bottom: 1px dashed #e8e9ec" v-if="i != data.policiesRegulationsLists.list.length - 1">
style="border-bottom: 1px dashed #e8e9ec"
v-if="i != data.policiesRegulationsLists.list.length - 1"
>
<div>{{ item.title }}</div> <div>{{ item.title }}</div>
<div> <div>
<span>发布时间{{ item.publicTime }}</span> <span>发布时间{{ item.publicTime }}</span>
@@ -289,9 +253,9 @@ export default {
.catch((error) => { .catch((error) => {
console.log( console.log(
"1201-index页面的close回调异常4--form-to:" + "1201-index页面的close回调异常4--form-to:" +
from.name + from.name +
"->" + "->" +
to.name to.name
); );
console.log(error); console.log(error);
}); });
@@ -307,7 +271,7 @@ export default {
this.mode = val; this.mode = val;
}, },
}, },
mounted() {}, mounted() { },
methods: { methods: {
// 获取数据 // 获取数据
onInit() { onInit() {
@@ -468,25 +432,39 @@ export default {
//经纬度 //经纬度
ZWJSBridge.getLocation() ZWJSBridge.getLocation()
.then((result2) => { .then((result2) => {
const zwlog = new ZwLog({
_user_id: this.data.idCard,
_user_nick: this.data.userName,
})
console.log(zwlog);
zwlog.onReady(function () {
zwlog.sendPV({
miniAppId: "2001833218",
log_status: '02',
long: result2.longitude,
lati: result2.latitude,
userType: result1.userType,
})
})
// console.log("getLocation():" + JSON.stringify(result2)); // console.log("getLocation():" + JSON.stringify(result2));
// console.log("result2.longitude:" + result2.longitude); // console.log("result2.longitude:" + result2.longitude);
// console.log("result2.latitude:" + result2.latitude); // console.log("result2.latitude:" + result2.latitude);
aplus_queue.push({ // aplus_queue.push({
action: "aplus.sendPV", // action: "aplus.sendPV",
arguments: [ // arguments: [
{ // {
is_auto: false, // is_auto: false,
}, // },
{ // {
isMini: true, // isMini: true,
miniAppId: "2001833218", //'应用开发管理平台-应用 ID // miniAppId: "2001833218", //'应用开发管理平台-应用 ID
miniAppName: "房屋征收", // miniAppName: "房屋征收",
long: result2.longitude, // long: result2.longitude,
lati: result2.latitude, // lati: result2.latitude,
userType: result1.userType, // userType: result1.userType,
}, // },
], // ],
}); // });
}) })
.catch((error) => { .catch((error) => {
// console.log(error); // console.log(error);
@@ -561,7 +539,8 @@ export default {
border-radius: 6px; border-radius: 6px;
background: #f6f7f8; background: #f6f7f8;
padding-bottom: 20px; padding-bottom: 20px;
> div:nth-child(n + 2) {
>div:nth-child(n + 2) {
margin: 10px 12px 0 10px; margin: 10px 12px 0 10px;
} }
} }
@@ -570,11 +549,13 @@ export default {
.topBox { .topBox {
background: url(~@/assets/img/bg.png) no-repeat; background: url(~@/assets/img/bg.png) no-repeat;
background-size: 100% 96%; background-size: 100% 96%;
.olderVersion { .olderVersion {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 15px 0; padding: 15px 0;
.titleBox { .titleBox {
width: 173px; width: 173px;
height: 36px; height: 36px;
@@ -586,6 +567,7 @@ export default {
font-weight: 600; font-weight: 600;
color: #ffffff; color: #ffffff;
} }
:nth-child(2) { :nth-child(2) {
margin-right: 5px; margin-right: 5px;
background: #f82b36; background: #f82b36;
@@ -599,23 +581,28 @@ export default {
color: #ffffff; color: #ffffff;
} }
} }
.baseInfo { .baseInfo {
display: flex; display: flex;
margin: 5px 0; margin: 5px 0;
align-items: center; align-items: center;
color: #fff; color: #fff;
img { img {
height: 21px; height: 21px;
padding-right: 10px; padding-right: 10px;
padding-left: 31px; padding-left: 31px;
} }
span:nth-child(2) { span:nth-child(2) {
white-space: nowrap; white-space: nowrap;
} }
:nth-child(3) { :nth-child(3) {
padding-top: 1px; padding-top: 1px;
} }
} }
.gridBg { .gridBg {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -623,7 +610,8 @@ export default {
margin: 10px 12px 0 10px; margin: 10px 12px 0 10px;
border-radius: 3px; border-radius: 3px;
background: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.28);
> div {
>div {
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
@@ -632,9 +620,11 @@ export default {
height: 80px; height: 80px;
margin: 20px 0 10px; margin: 20px 0 10px;
border-radius: 10px; border-radius: 10px;
img { img {
height: 35px; height: 35px;
} }
span { span {
padding-top: 5px; padding-top: 5px;
font-weight: 500; font-weight: 500;
@@ -643,12 +633,14 @@ export default {
} }
} }
} }
// 大背景图 // 大背景图
.bigImage { .bigImage {
img { img {
width: 100%; width: 100%;
} }
} }
// 项目部分 // 项目部分
//修改的项目部分 //修改的项目部分
.TitList { .TitList {
@@ -661,9 +653,11 @@ export default {
justify-content: space-between; justify-content: space-between;
height: 41px; height: 41px;
background: url(~@/assets/img/project_bg.png) no-repeat 0 -2px/101% 120%; background: url(~@/assets/img/project_bg.png) no-repeat 0 -2px/101% 120%;
.TitListLeft { .TitListLeft {
display: flex; display: flex;
height: 100%; height: 100%;
.projectIcon { .projectIcon {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -673,11 +667,13 @@ export default {
margin-right: 10px; margin-right: 10px;
border-radius: 5px 0 0; border-radius: 5px 0 0;
background: #3284cd; background: #3284cd;
img { img {
width: 25px; width: 25px;
height: 25px; height: 25px;
} }
} }
.projectTitle { .projectTitle {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -688,22 +684,26 @@ export default {
color: #fff; color: #fff;
} }
} }
.TitListRight { .TitListRight {
display: flex; display: flex;
align-items: center; align-items: center;
height: 27px; height: 27px;
> div {
>div {
background: #24bca3; background: #24bca3;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
border-radius: 13px 0 0 13px; border-radius: 13px 0 0 13px;
img { img {
width: 17px; width: 17px;
margin-right: 3px; margin-right: 3px;
margin-left: 10px; margin-left: 10px;
} }
} }
span { span {
font-size: 12px; font-size: 12px;
font-weight: 600; font-weight: 600;
@@ -722,50 +722,60 @@ export default {
font-weight: 600; font-weight: 600;
color: #fff; color: #fff;
} }
.projectCenter { .projectCenter {
padding-bottom: 25px; padding-bottom: 25px;
background: #fff; background: #fff;
box-shadow: 0 2px 6px 1px rgba(212, 212, 212, 0.5); box-shadow: 0 2px 6px 1px rgba(212, 212, 212, 0.5);
.projectCenterBox { .projectCenterBox {
> div { >div {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
padding-top: 15px; padding-top: 15px;
line-height: 20px; line-height: 20px;
> :nth-child(1) { > :nth-child(1) {
display: flex; display: flex;
align-items: center; align-items: center;
img { img {
height: 22px; height: 22px;
padding: 0 7px; padding: 0 7px;
} }
:nth-child(2) { :nth-child(2) {
font-weight: 400; font-weight: 400;
color: #b3b5b9; color: #b3b5b9;
width: 106px; width: 106px;
} }
} }
> :last-child { > :last-child {
color: #363a44; color: #363a44;
padding-top: 1px; padding-top: 1px;
// width: 55%; // width: 55%;
} }
.blue { .blue {
color: #3883f1; color: #3883f1;
} }
} }
} }
.assess { .assess {
display: flex; display: flex;
align-items: center; align-items: center;
height: 25px; height: 25px;
padding: 25px 10px 10px; padding: 25px 10px 10px;
position: relative; position: relative;
.van-image { .van-image {
width: 24px; width: 24px;
height: 24px; height: 24px;
margin-right: 10px; margin-right: 10px;
} }
span { span {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
font-size: 16px; font-size: 16px;
@@ -792,42 +802,51 @@ export default {
bottom: 0; bottom: 0;
} }
} }
.assessCenter1 { .assessCenter1 {
margin: 25px 16px 22px; margin: 25px 16px 22px;
border-left: 2px solid #24bca3; border-left: 2px solid #24bca3;
font-weight: 400; font-weight: 400;
> div {
>div {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
padding-left: 12px; padding-left: 12px;
line-height: 20px; line-height: 20px;
:nth-child(1) { :nth-child(1) {
white-space: nowrap; white-space: nowrap;
color: #b3b5b9; color: #b3b5b9;
} }
:nth-child(2) { :nth-child(2) {
color: #363a44; color: #363a44;
} }
} }
> :nth-child(2) { > :nth-child(2) {
margin: 15px 0; margin: 15px 0;
} }
> :nth-child(3) { > :nth-child(3) {
margin: 15px 0; margin: 15px 0;
} }
} }
.assess2 { .assess2 {
display: flex; display: flex;
align-items: center; align-items: center;
height: 25px; height: 25px;
padding: 5px 10px; padding: 5px 10px;
position: relative; position: relative;
.van-image { .van-image {
width: 24px; width: 24px;
height: 24px; height: 24px;
margin-right: 10px; margin-right: 10px;
} }
span { span {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
@@ -853,25 +872,30 @@ export default {
bottom: 0; bottom: 0;
} }
} }
.assessCenter2 { .assessCenter2 {
margin: 25px 16px 22px; margin: 25px 16px 22px;
border-left: 2px solid #ff5959; border-left: 2px solid #ff5959;
font-weight: 400; font-weight: 400;
> div {
>div {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
padding-left: 12px; padding-left: 12px;
line-height: 20px; line-height: 20px;
:nth-child(1) { :nth-child(1) {
white-space: nowrap; white-space: nowrap;
color: #b3b5b9; color: #b3b5b9;
} }
:nth-child(2) { :nth-child(2) {
color: #363a44; color: #363a44;
} }
} }
> div:nth-child(n + 2) {
>div:nth-child(n + 2) {
margin: 15px 0; margin: 15px 0;
} }
} }
@@ -885,6 +909,7 @@ export default {
color: #202020; color: #202020;
display: block; display: block;
} }
:nth-child(2) { :nth-child(2) {
margin: 10px 0; margin: 10px 0;
color: #2c2b2b; color: #2c2b2b;
@@ -896,9 +921,11 @@ export default {
border-radius: 4px; border-radius: 4px;
background: #fff; background: #fff;
box-shadow: 0 2px 5px 0 rgba(168, 168, 168, 0.5); box-shadow: 0 2px 5px 0 rgba(168, 168, 168, 0.5);
.protocolList { .protocolList {
padding: 0 20px; padding: 0 20px;
> div {
>div {
> :nth-child(1) { > :nth-child(1) {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
@@ -908,11 +935,13 @@ export default {
color: #202020; color: #202020;
padding-top: 20px; padding-top: 20px;
} }
> :nth-child(2) { > :nth-child(2) {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 18px 0; padding: 18px 0;
span { span {
font-size: 12px; font-size: 12px;
color: #9da2a3; color: #9da2a3;
@@ -922,6 +951,7 @@ export default {
} }
} }
} }
// 老年化 // 老年化
.old_container { .old_container {
.olderVersion { .olderVersion {
@@ -932,26 +962,32 @@ export default {
line-height: 41px; line-height: 41px;
} }
} }
.baseInfo { .baseInfo {
align-items: flex-start; align-items: flex-start;
font-size: 22px; font-size: 22px;
line-height: 30px; line-height: 30px;
img { img {
height: 30px; height: 30px;
padding-left: 15px; padding-left: 15px;
} }
> div:nth-child(3) {
>div:nth-child(3) {
word-break: break-all; word-break: break-all;
padding-top: 2px; padding-top: 2px;
} }
} }
.gridBg { .gridBg {
margin-left: 4px; margin-left: 4px;
margin-right: 4px; margin-right: 4px;
font-size: 20px; font-size: 20px;
> div {
>div {
width: 110px; width: 110px;
height: 100px; height: 100px;
img { img {
height: 55px; height: 55px;
} }
@@ -963,26 +999,31 @@ export default {
.TitListLeft { .TitListLeft {
.projectIcon { .projectIcon {
font-size: 24px; font-size: 24px;
img { img {
width: 27px; width: 27px;
height: 27px; height: 27px;
} }
} }
.projectTitle { .projectTitle {
font-size: 22px !important; font-size: 22px !important;
} }
} }
.TitListRight { .TitListRight {
display: flex; display: flex;
align-items: center; align-items: center;
height: 27px; height: 27px;
> div {
>div {
img { img {
width: 20px; width: 20px;
margin-right: 3px; margin-right: 3px;
margin-left: 10px; margin-left: 10px;
} }
} }
span { span {
font-size: 16px; font-size: 16px;
} }
@@ -991,63 +1032,77 @@ export default {
.projectCenterBox { .projectCenterBox {
font-size: 20px; font-size: 20px;
> div {
>div {
line-height: 28px; line-height: 28px;
> :nth-child(1) { > :nth-child(1) {
:nth-child(2) { :nth-child(2) {
width: unset !important; width: unset !important;
white-space: nowrap; white-space: nowrap;
} }
} }
> :last-child { > :last-child {
width: unset; width: unset;
} }
} }
} }
.assess, .assess,
.assess2 { .assess2 {
span { span {
font-size: 22px; font-size: 22px;
} }
} }
.assessCenter1, .assessCenter1,
.assessCenter2 { .assessCenter2 {
font-size: 20px; font-size: 20px;
> div {
>div {
line-height: 28px; line-height: 28px;
} }
.projectTitle { .projectTitle {
font-size: 20px; font-size: 20px;
} }
} }
.zszc { .zszc {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
> :nth-child(1) { > :nth-child(1) {
font-size: 20px; font-size: 20px;
} }
> :nth-child(2) { > :nth-child(2) {
font-size: 18px; font-size: 18px;
} }
} }
.protocolList { .protocolList {
> div { >div {
> :nth-child(1) { > :nth-child(1) {
font-size: 20px !important; font-size: 20px !important;
line-height: 28px; line-height: 28px;
padding-top: 15px !important; padding-top: 15px !important;
white-space: unset !important; white-space: unset !important;
} }
> :nth-child(2) { > :nth-child(2) {
display: block !important; display: block !important;
padding: 15px 0 5px !important; padding: 15px 0 5px !important;
span { span {
font-size: 18px !important; font-size: 18px !important;
display: block; display: block;
height: unset !important; height: unset !important;
} }
> span:nth-child(2) {
>span:nth-child(2) {
padding-top: 5px; padding-top: 5px;
} }
} }