完成了登录模块

This commit is contained in:
2025-05-19 09:08:33 +08:00
parent 7c934ded5f
commit 3fe9c3c209
20 changed files with 364 additions and 208 deletions

View File

@ -2,17 +2,32 @@
<view class="flex-col section">
<view class="flex-col section_2">
<text class="self-start font text">业务员姓名</text>
<input class="flex-col justify-start items-start view text-wrapper input" placeholder="请输入" />
<input class="flex-col justify-start items-start view text-wrapper input"
placeholder="请输入"
value="{{salespersonName}}"
bindinput="onNameInput"
disabled="{{mode === 'view'}}" />
<view class="self-stretch divider"></view>
<text class="self-start font text_3">业务员手机号</text>
<input class="flex-col justify-start items-start view text-wrapper input_1" placeholder="请输入" />
<input class="flex-col justify-start items-start view text-wrapper input_1"
placeholder="请输入"
value="{{salespersonPhone}}"
bindinput="onPhoneInput"
disabled="{{mode === 'view'}}" />
<view class="self-stretch divider"></view>
</view>
<view class="flex-col group">
<view class="flex-col justify-start items-center text-wrapper_2">
<view style="padding-top: {{mode === 'view' ? '0' : '80.63rpx'}}" class="flex-col group">
<!-- “申请资料报备”按钮只在新增模式显示 -->
<view class="flex-col justify-start items-center text-wrapper_2"
bindtap="onApply"
wx:if="{{mode !== 'view'}}">
<text class="font text_4">申请资料报备</text>
</view>
<view class="flex-col justify-start section_3 mt-27"><view class="section_4"></view></view>
<view class="flex-col justify-start section_3 mt-27">
<view class="section_4">
<rich-text class="promo-desc" nodes="{{promoCodeDesc}}"></rich-text>
</view>
</view>
</view>
</view>
</view>
</view>