优化代码

This commit is contained in:
pengxiaolong
2025-08-05 22:05:56 +08:00
parent 3eddd94922
commit 40c3282515
86 changed files with 1700 additions and 399 deletions

View File

@@ -12,7 +12,9 @@ const _sfc_main = {
name: "",
id: "",
info: {},
useravatar: ""
useravatar: "",
email: null,
havaPassword: false
};
},
onLoad(option) {
@@ -22,110 +24,157 @@ const _sfc_main = {
this.id = res.data.id;
this.name = res.data.nickName;
this.userinfo = this.useravatar = res.data.headerIcon;
this.email = res.data.email;
this.havaPassword = res.data.havaPassword;
}
});
},
onShow() {
common_vendor.index.getStorage({
key: "userinfo",
success: (res) => {
this.id = res.data.id;
this.name = res.data.nickName;
this.userinfo = this.useravatar = res.data.headerIcon;
this.email = res.data.email;
this.havaPassword = res.data.havaPassword;
}
});
},
methods: {
cancel() {
//修改密码
modifyPassword() {
common_vendor.index.navigateTo({
url: "/pages/Setting/settingmod/changePassword?id=" + this.id
});
},
// 修改邮箱
modifyEmailAddress() {
common_vendor.index.navigateTo({
url: "/pages/Setting/settingmod/changeEmail?email=" + this.email + "&id=" + this.id
});
},
// 修改昵称
inputNickname() {
common_vendor.index.navigateTo({
url: "/pages/Setting/settingmod/changeNickname?name=" + this.name + "&id=" + this.id
});
},
// 扫码登录web端
scanCode() {
common_vendor.index.scanCode({
success: (res) => {
const data = JSON.parse(res.result);
if (data.type === "qrcdoe") {
components_request.request({
url: "user/scan",
method: "POST",
data: {
uuid: data.uuid,
userId: this.id
},
userInfo: true
}).then((res2) => {
if (res2.code === 200) {
common_vendor.index.showToast({
title: "登录成功",
icon: "success"
});
} else {
common_vendor.index.showToast({
title: res2,
icon: "none"
});
}
}).catch((err) => {
common_vendor.index.showToast({
title: "登录失败",
icon: "none"
});
});
}
}
});
},
onBack() {
common_vendor.index.navigateBack({
delta: 1
});
},
// 输入昵称
inputName(e) {
this.name = e.detail.value;
},
// 选择头像
async Userinfo(e) {
const { avatarUrl } = e.detail;
this.userinfo = avatarUrl;
this.changeHeaderIcon();
},
// 微信登录
wxLogin(e) {
// 修改头像
changeHeaderIcon() {
components_goEasyTool_tool.goEasylogout(this.$goeasy);
common_vendor.index.showLoading({
title: "修改中...",
mask: true
});
if (this.useravatar == this.userinfo) {
components_postFile.uploadFile({
path: this.userinfo,
name: components_generateFileName.generateFileName()
}).then((res) => {
components_request.request({
url: "user/updateUserInfo",
method: "POST",
data: {
id: this.id,
headerIcon: this.userinfo.split("/").pop(),
headerIcon: res.split("/").pop(),
nickName: this.name
},
userInfo: true
}).then((ress) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:226", "修改调用返回", ress);
if (ress.code === 200) {
common_vendor.index.showToast({
title: "修改成功",
icon: "success"
});
common_vendor.index.setStorageSync("userinfo", ress.data.info);
components_goEasyTool_tool.goEasylogin(this.$goeasy, String(ress.data.info.id), ress.data.info.headerIcon, ress.data.info.nickName);
components_goEasyTool_tool.goEasylogin(
this.$goeasy,
String(ress.data.info.id),
ress.data.info.headerIcon,
ress.data.info.nickName
);
common_vendor.index.hideLoading();
common_vendor.index.navigateBack({
delta: 1
});
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "修改失败",
title: ress.msg,
icon: "none"
});
}
});
} else {
components_postFile.uploadFile({
path: this.userinfo,
name: components_generateFileName.generateFileName()
}).then((res) => {
components_request.request({
url: "user/updateUserInfo",
method: "POST",
data: {
id: this.id,
headerIcon: res.split("/").pop(),
nickName: this.name
},
userInfo: true
}).then((ress) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:112", "修改调用返回", ress);
if (ress.code === 200) {
common_vendor.index.showToast({
title: "修改成功",
icon: "success"
});
common_vendor.index.setStorageSync("userinfo", ress.data.info);
components_goEasyTool_tool.goEasylogin(this.$goeasy, String(ress.data.info.id), ress.data.info.headerIcon, ress.data.info.nickName);
common_vendor.index.hideLoading();
common_vendor.index.navigateBack({
delta: 1
});
} else {
common_vendor.index.showToast({
title: "修改失败",
icon: "none"
});
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/Setting/Setting.vue:135", "上传失败", err);
}).catch((err) => {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: "上传失败",
icon: "none"
});
}
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.userinfo,
b: common_vendor.o((...args) => $options.Userinfo && $options.Userinfo(...args)),
c: common_vendor.o((...args) => $options.inputName && $options.inputName(...args)),
d: $data.name,
e: common_vendor.o(($event) => $data.name = $event.detail.value),
f: common_vendor.o((...args) => $options.wxLogin && $options.wxLogin(...args)),
g: common_vendor.o((...args) => $options.cancel && $options.cancel(...args))
a: common_vendor.o((...args) => $options.onBack && $options.onBack(...args)),
b: $data.userinfo,
c: common_vendor.o((...args) => $options.Userinfo && $options.Userinfo(...args)),
d: common_vendor.t($data.name),
e: common_vendor.o((...args) => $options.inputNickname && $options.inputNickname(...args)),
f: common_vendor.t($data.email == "" || $data.email == null ? "未绑定" : $data.email),
g: common_vendor.o((...args) => $options.modifyEmailAddress && $options.modifyEmailAddress(...args)),
h: common_vendor.t($data.havaPassword ? "" : "未设置"),
i: common_vendor.o((...args) => $options.modifyPassword && $options.modifyPassword(...args)),
j: common_vendor.o((...args) => $options.scanCode && $options.scanCode(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3c55a289"]]);

View File

@@ -1 +1 @@
<view class="container data-v-3c55a289"><button class="login-btn data-v-3c55a289" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-3c55a289" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-3c55a289" placeholder="请输入昵称" bindblur="{{c}}" value="{{d}}" bindinput="{{e}}"/><button class="weui-btn data-v-3c55a289" bindtap="{{f}}">修改</button><button class="weui-btn data-v-3c55a289" bindtap="{{g}}">取消</button></view>
<view class="container data-v-3c55a289"><view class="bg data-v-3c55a289"><image class="bgImg data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-3c55a289" bindtap="{{a}}"><image class="ReturnImg data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-3c55a289">设置</view><view class="contentbox data-v-3c55a289"><view class="content data-v-3c55a289"><button class="login-btn data-v-3c55a289" open-type="chooseAvatar" bindchooseavatar="{{c}}"><view class="avatarmodify data-v-3c55a289"><view class="avatarmodify-item data-v-3c55a289">头像</view><view class="avatarmodify-img data-v-3c55a289"><image class="avatar data-v-3c55a289" src="{{b}}"></image><image class="more data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view></button><view class="Nickname data-v-3c55a289" bindtap="{{e}}"><view class="avatarmodify-item data-v-3c55a289">昵称</view><view class="NicknameInput data-v-3c55a289"><view class="NicknameInput-name data-v-3c55a289">{{d}}</view><image class="more data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="Nickname data-v-3c55a289" bindtap="{{g}}"><view class="avatarmodify-item data-v-3c55a289">邮箱</view><view class="NicknameInput data-v-3c55a289"><view class="NicknameInput-name data-v-3c55a289">{{f}}</view><image class="more data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="Nickname data-v-3c55a289" bindtap="{{i}}"><view class="avatarmodify-item data-v-3c55a289">密码</view><view class="NicknameInput data-v-3c55a289"><view class="NicknameInput-name data-v-3c55a289">{{h}}</view><image class="more data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view><view class="Nickname data-v-3c55a289" bindtap="{{j}}"><view class="avatarmodify-item data-v-3c55a289">扫码</view><view class="NicknameInput data-v-3c55a289"><image class="more data-v-3c55a289" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/More.png" mode="scaleToFill"/></view></view></view></view></view>

View File

@@ -1,33 +1,115 @@
.container.data-v-3c55a289 {
.bg.data-v-3c55a289 {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: -1;
}
.bgImg.data-v-3c55a289 {
width: 100%;
height: 100%;
}
.Return.data-v-3c55a289 {
position: fixed;
left: 35rpx;
top: 120rpx;
width: 46rpx;
height: 46rpx;
z-index: 2;
}
.title.data-v-3c55a289 {
position: fixed;
top: 120rpx;
left: 0;
right: 0;
text-align: center;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
z-index: 1;
}
.ReturnImg.data-v-3c55a289 {
width: 100%;
height: 100%;
}
.contentbox.data-v-3c55a289 {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
bottom: 0rpx;
}
.content.data-v-3c55a289 {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, #11cb2a6e, #2574fc6d);
}
.avatarmodify.data-v-3c55a289 {
width: 94%;
height: 100rpx;
background-color: #fff;
padding-left: 3%;
padding-right: 3%;
display: flex;
justify-content: space-between;
align-items: center;
}
.avatarmodify-item.data-v-3c55a289 {
font-size: 24rpx;
color: #100e0f;
line-height: 100rpx;
font-weight: bold;
}
.avatarmodify-img.data-v-3c55a289 {
display: flex;
align-items: center;
}
.login-btn.data-v-3c55a289 {
width: 200rpx;
height: 200rpx;
border-radius: 50%;
padding: 0px;
margin-bottom: 60rpx;
width: 100%;
height: 100rpx;
padding: 0;
margin: 0;
border: none;
background-color: #fff;
border-radius: 0rpx;
display: flex;
}
.login-btn.data-v-3c55a289::after {
border: none;
border-radius: 0rpx;
}
.avatar.data-v-3c55a289 {
width: 100%;
height: 100%;
border-radius: 50%;
width: 80rpx;
height: 80rpx;
border-radius: 10rpx;
}
.weui-input.data-v-3c55a289 {
width: 80%;
text-align: center;
margin-bottom: 40rpx;
.more.data-v-3c55a289 {
width: 15rpx;
height: 30rpx;
margin-left: 30rpx;
}
.weui-btn.data-v-3c55a289 {
width: 40%;
margin-top: 20rpx;
background-color: #11cb2a00;
color: #fff;
.Nickname.data-v-3c55a289 {
width: 94%;
height: 100rpx;
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 3%;
padding-right: 3%;
background-color: #fff;
border-top: 1rpx solid #f0f0f0;
}
.NicknameInput.data-v-3c55a289 {
display: flex;
align-items: center;
}
.NicknameInput-name.data-v-3c55a289 {
font-size: 24rpx;
color: #bdbdbd;
line-height: 100rpx;
font-weight: bold;
}

View File

@@ -0,0 +1,27 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "Hello"
};
},
onLoad() {
},
methods: {
// 返回上一页
onBack() {
common_vendor.wx$1.navigateBack({
delta: 1
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o((...args) => $options.onBack && $options.onBack(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-87d0cc44"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Setting/settingmod/changeEmail.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "修改邮箱",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="changeEmail data-v-87d0cc44"><view class="bg data-v-87d0cc44"><image class="bgImg data-v-87d0cc44" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-87d0cc44" bindtap="{{a}}"><image class="ReturnImg data-v-87d0cc44" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-87d0cc44">邮箱</view><view class="contentbox data-v-87d0cc44"><view class="content data-v-87d0cc44"></view></view></view>

View File

@@ -0,0 +1,50 @@
.bg.data-v-87d0cc44 {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: -1;
}
.bgImg.data-v-87d0cc44 {
width: 100%;
height: 100%;
}
.Return.data-v-87d0cc44 {
position: fixed;
left: 35rpx;
top: 120rpx;
width: 46rpx;
height: 46rpx;
z-index: 2;
}
.title.data-v-87d0cc44 {
position: fixed;
top: 120rpx;
left: 0;
right: 0;
text-align: center;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
z-index: 1;
}
.ReturnImg.data-v-87d0cc44 {
width: 100%;
height: 100%;
}
.contentbox.data-v-87d0cc44 {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
bottom: 0rpx;
}
.content.data-v-87d0cc44 {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}

View File

@@ -0,0 +1,90 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const components_goEasyTool_tool = require("../../../components/goEasyTool/tool.js");
const components_request = require("../../../components/request.js");
const _sfc_main = {
data() {
return {
name: "",
id: ""
};
},
onLoad(options) {
this.name = options.name;
this.id = options.id;
},
methods: {
// 提交修改
onSubmit() {
if (this.name.trim() === "") {
common_vendor.wx$1.showToast({
title: "昵称不能为空",
icon: "none",
duration: 1e3
});
return;
}
common_vendor.index.showLoading({
title: "修改中...",
mask: true
});
components_goEasyTool_tool.goEasylogout(this.$goeasy);
components_request.request({
url: "user/updateUserInfo",
method: "POST",
data: {
id: this.id,
nickName: this.name
},
userInfo: true
}).then((ress) => {
common_vendor.index.__f__("log", "at pages/Setting/settingmod/changeNickname.vue:75", "修改调用返回", ress);
if (ress.code === 200) {
common_vendor.index.showToast({
title: "修改成功",
icon: "success"
});
common_vendor.index.setStorageSync("userinfo", ress.data);
components_goEasyTool_tool.goEasylogin(
this.$goeasy,
String(ress.data.id),
ress.data.headerIcon,
ress.data.nickName
);
common_vendor.index.hideLoading();
common_vendor.index.navigateBack({
delta: 1
});
} else {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
title: ress.msg,
icon: "none"
});
}
});
},
// 输入昵称
inputName(e) {
this.name = e.detail.value;
},
// 返回上一页
onBack() {
common_vendor.wx$1.navigateBack({
delta: 1
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o((...args) => $options.onBack && $options.onBack(...args)),
b: common_vendor.o((...args) => $options.inputName && $options.inputName(...args)),
c: $data.name,
d: common_vendor.o(($event) => $data.name = $event.detail.value),
e: common_vendor.o((...args) => $options.onSubmit && $options.onSubmit(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0dc78cdb"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Setting/settingmod/changeNickname.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "修改昵称",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="changeNickname data-v-0dc78cdb"><view class="bg data-v-0dc78cdb"><image class="bgImg data-v-0dc78cdb" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-0dc78cdb" bindtap="{{a}}"><image class="ReturnImg data-v-0dc78cdb" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-0dc78cdb">修改昵称</view><view class="contentbox data-v-0dc78cdb"><view class="content data-v-0dc78cdb"><input type="nickname" class="weui-input data-v-0dc78cdb" placeholder="请输入昵称" bindblur="{{b}}" value="{{c}}" bindinput="{{d}}"/><view class="btn data-v-0dc78cdb" bindtap="{{e}}">确认修改</view></view></view></view>

View File

@@ -0,0 +1,69 @@
.bg.data-v-0dc78cdb {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: -1;
}
.bgImg.data-v-0dc78cdb {
width: 100%;
height: 100%;
}
.Return.data-v-0dc78cdb {
position: fixed;
left: 35rpx;
top: 120rpx;
width: 46rpx;
height: 46rpx;
z-index: 2;
}
.title.data-v-0dc78cdb {
position: fixed;
top: 120rpx;
left: 0;
right: 0;
text-align: center;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
z-index: 1;
}
.ReturnImg.data-v-0dc78cdb {
width: 100%;
height: 100%;
}
.contentbox.data-v-0dc78cdb {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
bottom: 0rpx;
}
.content.data-v-0dc78cdb {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.weui-input.data-v-0dc78cdb {
width: 80%;
height: 80rpx;
margin-top: 40rpx;
border-bottom: 1px solid #ccc;
}
.btn.data-v-0dc78cdb {
width: 80%;
height: 80rpx;
margin-top: 50rpx;
background-color: #00b4ff;
color: #fff;
text-align: center;
line-height: 80rpx;
border-radius: 40rpx;
font-size: 30rpx;
border: none;
cursor: pointer;
}

View File

@@ -0,0 +1,28 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "Hello"
};
},
onLoad() {
},
methods: {
// 返回上一页
onBack() {
common_vendor.index.__f__("log", "at pages/Setting/settingmod/changePassword.vue:41", 1);
common_vendor.wx$1.navigateBack({
delta: 1
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o((...args) => $options.onBack && $options.onBack(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6e931930"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Setting/settingmod/changePassword.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "修改密码",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="change-password data-v-6e931930"><view class="bg data-v-6e931930"><image class="bgImg data-v-6e931930" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-6e931930" bindtap="{{a}}"><image class="ReturnImg data-v-6e931930" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-6e931930">修改密码</view><view class="contentbox data-v-6e931930"><view class="content data-v-6e931930"></view></view></view>

View File

@@ -0,0 +1,50 @@
.bg.data-v-6e931930 {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: -1;
}
.bgImg.data-v-6e931930 {
width: 100%;
height: 100%;
}
.Return.data-v-6e931930 {
position: fixed;
left: 35rpx;
top: 120rpx;
width: 46rpx;
height: 46rpx;
z-index: 2;
}
.title.data-v-6e931930 {
position: fixed;
top: 120rpx;
left: 0;
right: 0;
text-align: center;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
z-index: 1;
}
.ReturnImg.data-v-6e931930 {
width: 100%;
height: 100%;
}
.contentbox.data-v-6e931930 {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
bottom: 0rpx;
}
.content.data-v-6e931930 {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}

View File

@@ -0,0 +1,39 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {
uuid: "",
userId: ""
};
},
onLoad(options) {
this.uuid = options.uuid;
this.userId = options.userId;
},
methods: {
onBack() {
common_vendor.index.navigateBack({
delta: 1
});
}
// request({
// url: "user/scan",
// method: "POST",
// data: {
// userId: this.id,
// uuid: res.result,
// },
// userInfo: true,
// }).then((ress) => {
// });
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.o((...args) => $options.onBack && $options.onBack(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-d0939827"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/Setting/settingmod/scanCode.js.map

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "扫码验证",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="scanCode data-v-d0939827"><view class="bg data-v-d0939827"><image class="bgImg data-v-d0939827" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill"/></view><view class="Return data-v-d0939827" bindtap="{{a}}"><image class="ReturnImg data-v-d0939827" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="title data-v-d0939827">扫码登录</view><view class="content data-v-d0939827"><view class="box data-v-d0939827"></view></view></view>

View File

@@ -0,0 +1,50 @@
.bg.data-v-d0939827 {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: -1;
}
.bgImg.data-v-d0939827 {
width: 100%;
height: 100%;
}
.Return.data-v-d0939827 {
position: fixed;
left: 35rpx;
top: 120rpx;
width: 46rpx;
height: 46rpx;
z-index: 2;
}
.title.data-v-d0939827 {
position: fixed;
top: 120rpx;
left: 0;
right: 0;
text-align: center;
font-size: 34rpx;
color: #100e0f;
font-weight: bold;
z-index: 1;
}
.ReturnImg.data-v-d0939827 {
width: 100%;
height: 100%;
}
.content.data-v-d0939827 {
position: absolute;
top: 200rpx;
left: 0rpx;
right: 0rpx;
bottom: 0rpx;
}
.box.data-v-d0939827{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}