Commit e06c253d by stingys@163.com

ts

parent a19ba160
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
const jsApiList = [
"updateAppMessageShareData",
"updateTimelineShareData",
"onMenuShareWeibo",
"onMenuShareQZone"
];
export default {
methods: {
getWeChatConf() {
let url = window.location.href;
this.$http.get("/car/test", { params: { url } }).then(res => {
if (res.status === 200) {
let data = res.data;
wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: data.appId, // 必填,公众号的唯一标识
timestamp: data.timestamp, // 必填,生成签名的时间戳
nonceStr: data.nonceStr, // 必填,生成签名的随机串
signature: data.signature, // 必填,签名
jsApiList: jsApiList // 必填,需要使用的JS接口列表
});
if (window.location.pathname.search("maintain") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019111310152545&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019111310152545&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
if (window.location.pathname.search("collision") > -1) {
wx.ready(function() {
// 需在用户可能点击分享按钮前就先调用
wx.updateAppMessageShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() {
// 设置成功
}
});
});
}
}
});
}
},
mounted() {
this.getWeChatConf();
}
};
</script>
import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import './plugins/vant.js'
import Vconsole from 'vconsole'
let vConsole = new Vconsole()
Vue.use(vConsole)
// import qs from 'qs'
import VueClipboard from 'vue-clipboard2'
// Vue.prototype.$qs = qs
Vue.use(VueClipboard)
axios.defaults.baseURL = 'https://collision.tiantiankaiche.com/api/'
// axios.defaults.baseURL = 'http://test-collision.tiantiankaiche.com/api/'
// axios.defaults.baseURL = 'http://weapp.car.checheng.net/api/'
axios.defaults.headers['Content-Type'] = 'application/json'
Vue.config.productionTip = false
Vue.prototype.$http = axios
new Vue({
router,
render: h => h(App)
}).$mount('#app')
import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import './plugins/vant.js'
// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()
// Vue.use(vConsole)
// import qs from 'qs'
import VueClipboard from 'vue-clipboard2'
// Vue.prototype.$qs = qs
Vue.use(VueClipboard)
axios.defaults.baseURL = 'https://collision.tiantiankaiche.com/api/'
// axios.defaults.baseURL = 'http://test-collision.tiantiankaiche.com/api/'
// axios.defaults.baseURL = 'http://weapp.car.checheng.net/api/'
axios.defaults.headers['Content-Type'] = 'application/json'
Vue.config.productionTip = false
Vue.prototype.$http = axios
new Vue({
router,
render: h => h(App)
}).$mount('#app')
<!DOCTYPE html><html lang=en><head><title>二手车圈</title><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><link href=/css/about.4475fe0f.css rel=prefetch><link href=/js/about.3e2841b8.js rel=prefetch><link href=/css/app.73e02543.css rel=preload as=style><link href=/css/chunk-vendors.bcbbcc52.css rel=preload as=style><link href=/js/app.976eb52d.js rel=preload as=script><link href=/js/chunk-vendors.8aa0341d.js rel=preload as=script><link href=/css/chunk-vendors.bcbbcc52.css rel=stylesheet><link href=/css/app.73e02543.css rel=stylesheet></head><body><noscript><strong>We're sorry but collision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.8aa0341d.js></script><script src=/js/app.976eb52d.js></script></body><script src=https://res.wx.qq.com/open/js/jweixin-1.5.0.js></script></html> <!DOCTYPE html><html lang=en><head><title>二手车圈</title><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><link href=/css/about.61302d23.css rel=prefetch><link href=/js/about.232a0c98.js rel=prefetch><link href=/css/app.73e02543.css rel=preload as=style><link href=/css/chunk-vendors.bcbbcc52.css rel=preload as=style><link href=/js/app.6fb81d08.js rel=preload as=script><link href=/js/chunk-vendors.8aa0341d.js rel=preload as=script><link href=/css/chunk-vendors.bcbbcc52.css rel=stylesheet><link href=/css/app.73e02543.css rel=stylesheet></head><body><noscript><strong>We're sorry but collision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.8aa0341d.js></script><script src=/js/app.6fb81d08.js></script></body><script src=https://res.wx.qq.com/open/js/jweixin-1.5.0.js></script></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(function(e){function t(t){for(var a,r,u=t[0],c=t[1],s=t[2],l=0,p=[];l<u.length;l++)r=u[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&p.push(o[r][0]),o[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);h&&h(t);while(p.length)p.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,r=1;r<n.length;r++){var u=n[r];0!==o[u]&&(a=!1)}a&&(i.splice(t--,1),e=c(c.s=n[0]))}return e}var a={},r={app:0},o={app:0},i=[];function u(e){return c.p+"js/"+({about:"about"}[e]||e)+"."+{about:"232a0c98"}[e]+".js"}function c(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[],n={about:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({about:"about"}[e]||e)+"."+{about:"61302d23"}[e]+".css",o=c.p+a,i=document.getElementsByTagName("link"),u=0;u<i.length;u++){var s=i[u],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return t()}var p=document.getElementsByTagName("style");for(u=0;u<p.length;u++){s=p[u],l=s.getAttribute("data-href");if(l===a||l===o)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.onload=t,h.onerror=function(t){var a=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete r[e],h.parentNode.removeChild(h),n(i)},h.href=o;var d=document.getElementsByTagName("head")[0];d.appendChild(h)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var i=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=i);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,c.nc&&l.setAttribute("nonce",c.nc),l.src=u(e);var p=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(h);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;p.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",p.name="ChunkLoadError",p.type=a,p.request=r,n[1](p)}o[e]=void 0}};var h=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},c.m=e,c.c=a,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)c.d(n,a,function(t){return e[t]}.bind(null,a));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var p=0;p<s.length;p++)t(s[p]);var h=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"4ee2":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("2d98"),n("041d"),n("3466"),n("c412");var a=n("0261"),r=(n("a4c2"),n("ff52"),n("f753")),o=n.n(r),i={},u=o.a.create(i);u.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),u.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)})),Plugin.install=function(e,t){e.axios=u,window.axios=u,Object.defineProperties(e.prototype,{axios:{get:function(){return u}},$axios:{get:function(){return u}}})},a["a"].use(Plugin);Plugin;var c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],l=(n("d450"),n("a328"),["updateAppMessageShareData","updateTimelineShareData","onMenuShareWeibo","onMenuShareQZone"]),p={methods:{getWeChatConf:function(){var e=window.location.href;this.$http.get("/car/test",{params:{url:e}}).then((function(e){if(200===e.status){var t=e.data;wx.config({debug:!1,appId:t.appId,timestamp:t.timestamp,nonceStr:t.nonceStr,signature:t.signature,jsApiList:l}),window.location.pathname.search("maintain")>-1&&wx.ready((function(){wx.updateAppMessageShareData({title:"维保查询|全网低价,最快一分钟出报告",desc:"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019111310152545&redirect_uri=https://collision.tiantiankaiche.com/all/maintain",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}}),wx.updateTimelineShareData({title:"维保查询|全网低价,最快一分钟出报告",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019111310152545&redirect_uri=https://collision.tiantiankaiche.com/all/maintain",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}})})),window.location.pathname.search("collision")>-1&&wx.ready((function(){wx.updateAppMessageShareData({title:"碰撞查询|全网低价,最快一分钟出报告",desc:"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}}),wx.updateTimelineShareData({title:"碰撞查询|全网低价,最快一分钟出报告",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}})}))}}))}},mounted:function(){this.getWeChatConf()}},h=p,d=n("4e82"),f=Object(d["a"])(h,c,s,!1,null,null,null),m=f.exports,g=n("c478");n("4ee2");a["a"].use(g["a"]);var b=[{path:"/all/collision",name:"collision",component:function(){return n.e("about").then(n.bind(null,"fc56"))}},{path:"/all/maintain",name:"maintain",component:function(){return n.e("about").then(n.bind(null,"f4ed"))}},{path:"/order",name:"order",component:function(){return n.e("about").then(n.bind(null,"cf2a"))}},{path:"/record",name:"record",component:function(){return n.e("about").then(n.bind(null,"43ef"))}},{path:"/example",name:"example",component:function(){return n.e("about").then(n.bind(null,"f3c2"))}},{path:"/exampleMaintain",name:"exampleMaintain",component:function(){return n.e("about").then(n.bind(null,"c8a7"))}},{path:"/vin",name:"vin",component:function(){return n.e("about").then(n.bind(null,"7b26"))}},{path:"/agree",name:"agree",component:function(){return n.e("about").then(n.bind(null,"c592"))}}],w=new g["a"]({routes:b,mode:"history"}),v=w,y=(n("976a"),n("0266")),x=(n("610a"),n("09c1")),k=(n("0039"),n("9276")),S=(n("1daf"),n("d2d9")),_=(n("aba3"),n("768e")),j=(n("940b"),n("a0c8")),C=(n("b7e8"),n("7d26")),P=(n("051f"),n("fd31")),M=(n("fa70"),n("8ed0")),O=(n("0759"),n("ab6e")),T=(n("47a6"),n("01ae")),I=(n("4f8a"),n("6acf")),L=(n("127e"),n("e5fd")),A=(n("518d"),n("e940")),E=(n("1792"),n("3c88"));a["a"].use(y["a"]).use(x["a"]).use(k["a"]).use(S["a"]).use(_["a"]).use(j["a"]).use(C["a"]).use(P["a"]).use(M["a"]).use(O["a"]).use(T["a"]).use(I["a"]).use(L["a"]).use(A["a"]).use(E["a"]);var J=n("9306"),D=n.n(J);a["a"].use(D.a),o.a.defaults.baseURL="https://collision.tiantiankaiche.com/api/",o.a.defaults.headers["Content-Type"]="application/json",a["a"].config.productionTip=!1,a["a"].prototype.$http=o.a,new a["a"]({router:v,render:function(e){return e(m)}}).$mount("#app")}});
//# sourceMappingURL=app.6fb81d08.js.map
\ No newline at end of file
(function(e){function t(t){for(var a,r,u=t[0],c=t[1],s=t[2],l=0,p=[];l<u.length;l++)r=u[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&p.push(o[r][0]),o[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);f&&f(t);while(p.length)p.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,r=1;r<n.length;r++){var u=n[r];0!==o[u]&&(a=!1)}a&&(i.splice(t--,1),e=c(c.s=n[0]))}return e}var a={},r={app:0},o={app:0},i=[];function u(e){return c.p+"js/"+({about:"about"}[e]||e)+"."+{about:"3e2841b8"}[e]+".js"}function c(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[],n={about:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({about:"about"}[e]||e)+"."+{about:"4475fe0f"}[e]+".css",o=c.p+a,i=document.getElementsByTagName("link"),u=0;u<i.length;u++){var s=i[u],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===a||l===o))return t()}var p=document.getElementsByTagName("style");for(u=0;u<p.length;u++){s=p[u],l=s.getAttribute("data-href");if(l===a||l===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete r[e],f.parentNode.removeChild(f),n(i)},f.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var i=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=i);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,c.nc&&l.setAttribute("nonce",c.nc),l.src=u(e);var p=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;p.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",p.name="ChunkLoadError",p.type=a,p.request=r,n[1](p)}o[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},c.m=e,c.c=a,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)c.d(n,a,function(t){return e[t]}.bind(null,a));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var p=0;p<s.length;p++)t(s[p]);var f=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"4ee2":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("2d98"),n("041d"),n("3466"),n("c412");var a=n("0261"),r=(n("a4c2"),n("ff52"),n("f753")),o=n.n(r),i={},u=o.a.create(i);u.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),u.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)})),Plugin.install=function(e,t){e.axios=u,window.axios=u,Object.defineProperties(e.prototype,{axios:{get:function(){return u}},$axios:{get:function(){return u}}})},a["a"].use(Plugin);Plugin;var c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},s=[],l=(n("d450"),n("a328"),["updateAppMessageShareData","updateTimelineShareData","onMenuShareWeibo","onMenuShareQZone"]),p={methods:{getWeChatConf:function(){var e=window.location.href;this.$http.get("/car/test",{params:{url:e}}).then((function(e){if(200===e.status){var t=e.data;wx.config({debug:!1,appId:t.appId,timestamp:t.timestamp,nonceStr:t.nonceStr,signature:t.signature,jsApiList:l}),window.location.pathname.search("maintain")>-1&&wx.ready((function(){wx.updateAppMessageShareData({title:"维保查询|全网低价,最快一分钟出报告",desc:"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}}),wx.updateTimelineShareData({title:"维保查询|全网低价,最快一分钟出报告",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}})})),window.location.pathname.search("collision")>-1&&wx.ready((function(){wx.updateAppMessageShareData({title:"碰撞查询|全网低价,最快一分钟出报告",desc:"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/collision",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}}),wx.updateTimelineShareData({title:"碰撞查询|全网低价,最快一分钟出报告",link:"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/collision",imgUrl:"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png",success:function(){}})}))}}))}},mounted:function(){this.getWeChatConf()}},f=p,h=n("4e82"),d=Object(h["a"])(f,c,s,!1,null,null,null),m=d.exports,g=n("c478");n("4ee2");a["a"].use(g["a"]);var b=[{path:"/all/collision",name:"collision",component:function(){return n.e("about").then(n.bind(null,"fc56"))}},{path:"/all/maintain",name:"maintain",component:function(){return n.e("about").then(n.bind(null,"f4ed"))}},{path:"/order",name:"order",component:function(){return n.e("about").then(n.bind(null,"cf2a"))}},{path:"/record",name:"record",component:function(){return n.e("about").then(n.bind(null,"43ef"))}},{path:"/example",name:"example",component:function(){return n.e("about").then(n.bind(null,"f3c2"))}},{path:"/exampleMaintain",name:"exampleMaintain",component:function(){return n.e("about").then(n.bind(null,"c8a7"))}},{path:"/vin",name:"vin",component:function(){return n.e("about").then(n.bind(null,"7b26"))}},{path:"/agree",name:"agree",component:function(){return n.e("about").then(n.bind(null,"c592"))}}],w=new g["a"]({routes:b,mode:"history"}),v=w,y=(n("976a"),n("0266")),x=(n("610a"),n("09c1")),k=(n("0039"),n("9276")),S=(n("1daf"),n("d2d9")),_=(n("aba3"),n("768e")),j=(n("940b"),n("a0c8")),C=(n("b7e8"),n("7d26")),P=(n("051f"),n("fd31")),M=(n("fa70"),n("8ed0")),O=(n("0759"),n("ab6e")),T=(n("47a6"),n("01ae")),I=(n("4f8a"),n("6acf")),L=(n("127e"),n("e5fd")),A=(n("518d"),n("e940")),E=(n("1792"),n("3c88"));a["a"].use(y["a"]).use(x["a"]).use(k["a"]).use(S["a"]).use(_["a"]).use(j["a"]).use(C["a"]).use(P["a"]).use(M["a"]).use(O["a"]).use(T["a"]).use(I["a"]).use(L["a"]).use(A["a"]).use(E["a"]);var J=n("9306"),D=n.n(J);a["a"].use(D.a),o.a.defaults.baseURL="https://collision.tiantiankaiche.com/api/",o.a.defaults.headers["Content-Type"]="application/json",a["a"].config.productionTip=!1,a["a"].prototype.$http=o.a,new a["a"]({router:v,render:function(e){return e(m)}}).$mount("#app")}});
//# sourceMappingURL=app.976eb52d.js.map
\ No newline at end of file
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
desc: desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述 "这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link: link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 "https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019111310152545&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标 "http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() { success: function() {
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
wx.updateTimelineShareData({ wx.updateTimelineShareData({
title: "维保查询|全网低价,最快一分钟出报告", // 分享标题 title: "维保查询|全网低价,最快一分钟出报告", // 分享标题
link: link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 "https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019111310152545&redirect_uri=https://collision.tiantiankaiche.com/all/maintain", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标 "http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() { success: function() {
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
desc: desc:
"这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述 "这是二手车圈官方为回馈广大车商提供的福利,所有认证车商都可以免费加入本地/全国车商会", // 分享描述
link: link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 "https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标 "http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() { success: function() {
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
wx.updateTimelineShareData({ wx.updateTimelineShareData({
title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题 title: "碰撞查询|全网低价,最快一分钟出报告", // 分享标题
link: link:
"https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=http://test-collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 "https://test-es.checheng.com/qrcode/get-weixin-code.html?appid=wx6bec797b5b47cf73&scope=snsapi_userinfo&state=2019121610148485&redirect_uri=https://collision.tiantiankaiche.com/all/collision", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: imgUrl:
"http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标 "http://test.car.checheng.net/storage/2019-09-19/tuZJh4siYwnI9m0m8uMlF4yC7rJ7xGBYibGnLkI4.png", // 分享图标
success: function() { success: function() {
......
...@@ -129,7 +129,8 @@ export default { ...@@ -129,7 +129,8 @@ export default {
const { data: res } = await this.$http.get("main-channels/system-info"); const { data: res } = await this.$http.get("main-channels/system-info");
if (res.message === "ok") { if (res.message === "ok") {
var config = res.data.config; var config = res.data.config;
this.price = localStorage.price = config[level].price; this.price = config[level].price;
localStorage.price = config[level].price;
} }
}, },
query() { query() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment