上传代码

This commit is contained in:
pengxiaolong
2025-07-01 21:30:08 +08:00
parent 89c9f8f1df
commit dc1fab2f90
48 changed files with 516 additions and 103 deletions

View File

@@ -43,6 +43,12 @@ const _sfc_main = {
});
},
methods: {
// 返回首页
Return() {
common_vendor.index.reLaunch({
url: "/pages/Home/Home"
});
},
// 输入昵称
inputName(e) {
this.name = e.detail.value;
@@ -99,7 +105,7 @@ const _sfc_main = {
}
});
}).catch((err) => {
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:126", err);
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:136", err);
});
} else {
common_vendor.index.showToast({
@@ -113,10 +119,11 @@ const _sfc_main = {
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.userinfo,
b: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
c: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
d: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args))
a: common_vendor.o$1((...args) => $options.Return && $options.Return(...args)),
b: $data.userinfo,
c: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
d: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
e: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-35d730ef"]]);

View File

@@ -1 +1 @@
<view class="container data-v-35d730ef"><button class="login-btn data-v-35d730ef" open-type="chooseAvatar" bindchooseavatar="{{b}}"><image class="avatar data-v-35d730ef" src="{{a}}"></image></button><input type="nickname" class="weui-input data-v-35d730ef" placeholder="请输入昵称" bindblur="{{c}}"/><button class="weui-btn data-v-35d730ef" bindtap="{{d}}">登录</button></view>
<view class="return data-v-35d730ef" bindtap="{{a}}"><image class="data-v-35d730ef" style="width:40rpx;height:40rpx" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill"/></view><view class="container data-v-35d730ef"><button class="login-btn data-v-35d730ef" open-type="chooseAvatar" bindchooseavatar="{{c}}"><image class="avatar data-v-35d730ef" src="{{b}}"></image></button><input type="nickname" class="weui-input data-v-35d730ef" placeholder="请输入昵称" bindblur="{{d}}"/><button class="weui-btn data-v-35d730ef" bindtap="{{e}}">登录</button></view>

View File

@@ -31,3 +31,9 @@
background-color: #11cb2a00;
color: #fff;
}
.return.data-v-35d730ef {
position: fixed;
top: 100rpx;
left: 80rpx;
z-index: 999;
}