| | |
| | | <view class="row-info"> |
| | | <view class="body"> |
| | | <view class="dialog-title">文件上传</view> |
| | | <view style="width: 100%; height: 2rpx; background-color: #F4F4F4;"></view> |
| | | <view style="width: 100%; height: 2rpx; background-color: #f4f4f4"></view> |
| | | <view class="from-item"> |
| | | <view class="label"> |
| | | <text class="icon">*</text>资源名称: |
| | | </view> |
| | | <view class="label"> <text class="icon">*</text>资源名称: </view> |
| | | <view class="item-content"> |
| | | <view class="inputBox1"> |
| | | <t-input placeholder="输入资源名称" borderless value="{{resourceInfo.resourceName}}" bindchange="onNameInput" /> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="from-item"> |
| | | <view class="label"> |
| | | <text class="icon">*</text>资源类型: |
| | | </view> |
| | | <view class="label"> <text class="icon">*</text>资源类型: </view> |
| | | <view class="item-content"> |
| | | <view class="inputBox1"> |
| | | <!-- <view class="inputBox1"> |
| | | <t-input placeholder="输入资源类型" borderless value="{{resourceInfo.fileType}}" bindchange="onFileTypeInput" /> |
| | | </view> |
| | | </view> --> |
| | | <t-cell class="mb-16" title="" arrow hover note="{{resourceInfo.fileType}}" bind:click="onResourcePicker" /> |
| | | <t-picker visible="{{resourceVisible}}" value="{{resourceValue}}" data-key="resource" title="选择资源类型" cancelBtn="取消" confirmBtn="确认" usingCustomNavbar bindchange="onPickerChange" bindcancel="onPickerCancel"> |
| | | <t-picker-item options="{{fileTypeList}}" /> |
| | | </t-picker> |
| | | </view> |
| | | </view> |
| | | <view class="from-item"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="from-item"> |
| | | <view class="label"> |
| | | <text class="icon">*</text>上传文件: |
| | | </view> |
| | | <view class="label"> <text class="icon">*</text>上传文件: </view> |
| | | <view class="item-content"> |
| | | <t-button size="small" class="right-btn" bind:tap="uploadPicture" wx:if="{{isShowUp}}">点击上传</t-button> |
| | | <view wx:if="{{!isShowUp && fileList.length > 0}}" class="fileList"> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="popupBox"> |
| | | <t-popup visible="{{protocolShow}}" bind:visible-change="onVisibleChange" placement="center"> |
| | | <view class="block"> |