替换埋点使用

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'))
}
</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>
<!-- 引入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/zwlog/1.0.0/zwlog.js"></script>
</head>
<body>
@@ -68,19 +70,19 @@
arguments: ["aplus-waiting", "MAN"]
});
// 单页应用路由切换后 或 在异步获取到 pv 日志所需的参数后再执行 sendPV
aplus_queue.push({
action: "aplus.sendPV",
arguments: [
{
is_auto: false
},
{
isMini: true,
miniAppId: "2001833218", //'应用开发管理平台-应用 ID
miniAppName: "房屋征收"
}
]
});
// aplus_queue.push({
// action: "aplus.sendPV",
// arguments: [
// {
// is_auto: false
// },
// {
// isMini: true,
// miniAppId: "2001833218", //'应用开发管理平台-应用 ID
// miniAppName: "房屋征收"
// }
// ]
// });
</script>
</body>

File diff suppressed because it is too large Load Diff

View File

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