|
@@ -8,21 +8,49 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- url: "http://192.168.110.231:8080",
|
|
|
+ url: "https://3dqueen.cloud/show3d/dev/index.html",
|
|
|
token: "",
|
|
|
};
|
|
|
},
|
|
|
onLoad: function (options) {
|
|
|
let renderUrl = this.url;
|
|
|
if (options.token) {
|
|
|
- renderUrl = `http://192.168.110.231:8080/#/login?token=${options.token}&redirect=${options.redirect}`;
|
|
|
+ renderUrl = `https://3dqueen.cloud/show3d/dev/index.html#/login?token=${options.token}&redirect=${options.redirect}`;
|
|
|
} else if (options.redirect) {
|
|
|
- renderUrl = `http://192.168.110.231:8080/#${options.redirect}`;
|
|
|
+ renderUrl = `https://3dqueen.cloud/show3d/dev/index.html#${options.redirect}`;
|
|
|
} else if (options.url) {
|
|
|
renderUrl = options.url;
|
|
|
}
|
|
|
this.url = renderUrl;
|
|
|
},
|
|
|
+ onShareAppMessage: function () {
|
|
|
+ return {
|
|
|
+ title: "数之鞋 · 鞋类3D展示、销售、设计平台",
|
|
|
+ path: "/pages/index/index",
|
|
|
+ imageUrl: "/static/share.png",
|
|
|
+ success: function () {
|
|
|
+ console.log("分享成功");
|
|
|
+ },
|
|
|
+ fail: function () {
|
|
|
+ console.log("分享失败");
|
|
|
+ },
|
|
|
+ };
|
|
|
+ },
|
|
|
+ //分享到朋友圈
|
|
|
+ onShareTimeline: function () {
|
|
|
+ return {
|
|
|
+ title: "数之鞋 · 鞋类3D展示、销售、设计平台",
|
|
|
+ path: "/pages/index/index",
|
|
|
+ imageUrl: "/static/share.png",
|
|
|
+ query: "kjbfrom=pyq",
|
|
|
+ success: function () {
|
|
|
+ console.log("分享成功");
|
|
|
+ },
|
|
|
+ fail: function () {
|
|
|
+ console.log("分享失败");
|
|
|
+ },
|
|
|
+ };
|
|
|
+ },
|
|
|
onShow: function () {},
|
|
|
methods: {},
|
|
|
};
|