更换版本

This commit is contained in:
2024-01-22 18:48:00 +08:00
parent 9f65ea8fd9
commit 00e6dcaec0
1158 changed files with 70609 additions and 51780 deletions

51
pages/website/website.js Normal file
View File

@@ -0,0 +1,51 @@
var e;
(e = getApp()),
Page({
data: { data: "" },
onLoad: function (e) {
for (var t = e.url, a = 0; a < t.length; a++)
"#" == t[a] && (t = t.replace("#", "="));
for (a = 0; a < t.length; a++) "@" == t[a] && (t = t.replace("@", "&"));
(t = t.replace("$", "?")), this.setData({ url: t, urldata: e.url });
},
onShareAppMessage: function () {
return {
title: "",
desc: "",
imageUrl: " ",
path: "pages/website/website?url=" + this.data.urldata,
};
},
onShareTimeline: function (e) {
return {
title: "",
desc: "",
imageUrl: " ",
path: "pages/website/website?url=" + this.data.urldata,
};
},
onShow: function (e) {
this.getvip();
},
getvip: function (t) {
console.log(wx.getStorageSync("uid")),
wx.getStorageSync("uid")
? (console.log(wx.getStorageSync("uid")),
this.setData({
footerLink:
this.data.url +
"&uid=" +
wx.getStorageSync("uid") +
"&phone=" +
e.getSystemPlatform(),
}))
: wx.showModal({
title: "温馨提醒",
content: "使用本功能请先登录后在使用~",
showCancel: !1,
success: function (e) {
e.confirm && wx.reLaunch({ url: "/pages/mine/index" });
},
});
},
});

View File

@@ -0,0 +1 @@
{ "navigationBarTitleText": "浏览器", "usingComponents": {} }

View File

@@ -0,0 +1,5 @@
<view class="page-body">
<view class="page-section page-section-gap">
<web-view src="{{footerLink}}"></web-view>
</view>
</view>

View File

@@ -0,0 +1,4 @@
.page-section-gap {
box-sizing: border-box;
padding: 0 30rpx;
}