1.
This commit is contained in:
@@ -93,13 +93,6 @@ const _sfc_main = {
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (!this.profile) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请输入个人简介",
|
||||
icon: "none"
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.avatar) {
|
||||
let param = {
|
||||
avatar: this.avatar,
|
||||
@@ -172,7 +165,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: $data.avatar ? $data.avatar : $data.avatarUrl,
|
||||
d: common_assets._imports_1$4,
|
||||
d: common_assets._imports_1$5,
|
||||
e: common_vendor.o((...args) => $options.chooseAvatar && $options.chooseAvatar(...args)),
|
||||
f: common_vendor.s("top:" + $data.avatarTop + "px;"),
|
||||
g: $data.nickname,
|
||||
@@ -183,11 +176,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
l: common_assets._imports_2$5,
|
||||
m: $data.sexList,
|
||||
n: common_vendor.o((...args) => $options.sexChange && $options.sexChange(...args)),
|
||||
o: $data.profile,
|
||||
p: common_vendor.o(($event) => $data.profile = $event.detail.value),
|
||||
q: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
r: common_vendor.o(($event) => $options.clickFinishOrNext(0)),
|
||||
s: common_vendor.o(($event) => $options.clickFinishOrNext(1))
|
||||
o: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
p: common_vendor.o(($event) => $options.clickFinishOrNext(0)),
|
||||
q: common_vendor.o(($event) => $options.clickFinishOrNext(1))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view><nav-bar wx:if="{{a}}" u-i="8b6eb184-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="avatarC fixed" style="{{f}}"><image class="avatar" src="{{c}}" mode="aspectFill"></image><image class="icon absolute" src="{{d}}" mode="widthFix"></image><button class="absolute" open-type="chooseAvatar" bindchooseavatar="{{e}}"></button></view><view class="basicInfoC fixed" style="{{q}}"><view class="title">基本信息</view><view class="section">昵称</view><view class="inputC"><input type="nickname" value="{{g}}" bindinput="{{h}}"/></view><view class="section">手机号</view><view class="selectC flex relative">{{i}} <button class="absolute" open-type="getPhoneNumber" bindgetphonenumber="{{j}}"></button></view><view class="section">性别</view><picker mode="selector" range="{{m}}" bindchange="{{n}}"><view class="selectC flex"><view class="flex1">{{k}}</view><image class="arrow" src="{{l}}" mode="widthFix"></image></view></picker><view class="section">个人简介</view><view class="textareaC"><block wx:if="{{r0}}"><textarea placeholder="简单介绍一下自己吧" placeholder-style="color:#AAA" value="{{o}}" bindinput="{{p}}"></textarea></block></view></view><view class="bottomC fixed flex"><view class="finish btn" bindtap="{{r}}">完成</view><view class="next btn flex1" bindtap="{{s}}">下一步</view></view></view>
|
||||
<view><nav-bar wx:if="{{a}}" u-i="0bdd913e-0" bind:__l="__l" u-p="{{a}}"></nav-bar><image class="topBg absolute" src="{{b}}" mode="widthFix"></image><view class="avatarC fixed" style="{{f}}"><image class="avatar" src="{{c}}" mode="aspectFill"></image><image class="icon absolute" src="{{d}}" mode="widthFix"></image><button class="absolute" open-type="chooseAvatar" bindchooseavatar="{{e}}"></button></view><view class="basicInfoC fixed" style="{{o}}"><view class="title">基本信息</view><view class="section">昵称</view><view class="inputC"><input type="nickname" value="{{g}}" bindinput="{{h}}"/></view><view class="section">手机号</view><view class="selectC flex relative">{{i}} <button class="absolute" open-type="getPhoneNumber" bindgetphonenumber="{{j}}"></button></view><view class="section">性别</view><picker mode="selector" range="{{m}}" bindchange="{{n}}"><view class="selectC flex"><view class="flex1">{{k}}</view><image class="arrow" src="{{l}}" mode="widthFix"></image></view></picker></view><view class="bottomC fixed flex"><view class="finish btn" bindtap="{{p}}">完成</view><view class="next btn flex1" bindtap="{{q}}">下一步</view></view></view>
|
||||
Reference in New Issue
Block a user