106 lines
3.3 KiB
Plaintext
106 lines
3.3 KiB
Plaintext
<!--pages/demand/deliver/index.wxml-->
|
|
<view class="page-content">
|
|
|
|
<!-- 开发完成凭证截图 -->
|
|
<view class="form-card">
|
|
<view class="form-card__head">
|
|
<text class="form-card__title">开发完成凭证截图</text>
|
|
<text class="form-card__require">*</text>
|
|
<text class="form-card__extra">最多 {{imageMax}} 张</text>
|
|
</view>
|
|
<view class="form-card__desc">上传软件成品展示图等开发完成凭证,供客户核对</view>
|
|
<t-upload
|
|
media-type="{{['image']}}"
|
|
files="{{imageFiles}}"
|
|
gridConfig="{{gridConfig}}"
|
|
max="{{imageMax}}"
|
|
size-limit="{{imageSizeLimit}}"
|
|
bind:success="handleSuccessImage"
|
|
bind:remove="handleRemoveImage"
|
|
/>
|
|
</view>
|
|
|
|
<!-- 沟通群交付引导 -->
|
|
<view class="form-card form-card--tip">
|
|
<view class="form-card__head">
|
|
<text class="form-card__title">源码交付方式</text>
|
|
</view>
|
|
<view class="form-card__desc">
|
|
建议在<text class="tip-strong">企业微信沟通群</text>中直接发送源码文件,或使用网盘地址。下方的附件与链接为选填补充。
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 交付附件 -->
|
|
<view class="form-card">
|
|
<view class="form-card__head">
|
|
<text class="form-card__title">交付附件(源码或软件成品)</text>
|
|
<text class="form-card__extra">选填 {{attachFiles.length}}/{{attachMax}}</text>
|
|
</view>
|
|
<view class="form-card__desc">小体积源码或软件成品可直接上传,大文件请在沟通群交付;从聊天记录选择文件</view>
|
|
<view class="attach-list" wx:if="{{attachFiles.length}}">
|
|
<t-tag
|
|
wx:for="{{attachFiles}}"
|
|
wx:for-index="index"
|
|
wx:key="index"
|
|
class="file-tag-margin"
|
|
max-width="{{220}}"
|
|
size="medium"
|
|
variant="light"
|
|
data-index="{{index}}"
|
|
bind:close="handleRemoveAttach"
|
|
closable
|
|
>{{item.name}}</t-tag>
|
|
</view>
|
|
<t-upload
|
|
wx:if="{{attachFiles.length < attachMax}}"
|
|
files="{{[]}}"
|
|
gridConfig="{{gridConfig}}"
|
|
config="{{attachConfig}}"
|
|
size-limit="{{attachSizeLimit}}"
|
|
source="messageFile"
|
|
bind:success="handleSuccessAttach"
|
|
/>
|
|
</view>
|
|
|
|
<!-- 交付链接 -->
|
|
<view class="form-card">
|
|
<view class="form-card__head">
|
|
<text class="form-card__title">交付链接</text>
|
|
<text class="form-card__extra">选填</text>
|
|
</view>
|
|
<view class="form-card__desc">填写一个网盘下载地址</view>
|
|
<t-input
|
|
placeholder="https://pan.xxx.com/s/xxx"
|
|
value="{{deliverLinks}}"
|
|
bindchange="onDeliverLinksChange"
|
|
maxlength="300"
|
|
/>
|
|
</view>
|
|
|
|
<!-- 发货备注 -->
|
|
<view class="form-card">
|
|
<view class="form-card__head">
|
|
<text class="form-card__title">发货备注</text>
|
|
<text class="form-card__extra">选填</text>
|
|
</view>
|
|
<t-textarea
|
|
autosize="{{ { maxHeight: 120, minHeight: 50 } }}"
|
|
disableDefaultPadding="{{true}}"
|
|
placeholder="填写交付说明,如软件安装方式、源码目录结构、注意事项等"
|
|
value="{{remark}}"
|
|
bindchange="onRemarkChange"
|
|
maxlength="255"
|
|
/>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 底部提交栏 -->
|
|
<view class="wx-pay-cover">
|
|
<view class="wx-pay">
|
|
<view class="submit-btn {{imageFiles.length ? '' : 'btn-gray'}}" bindtap="onSubmit">
|
|
确认发货
|
|
</view>
|
|
</view>
|
|
</view>
|