From 45be153eaef9e1c1a3fe21515e9cbd785fba8e1f Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 22 四月 2025 17:38:35 +0800 Subject: [PATCH] 线索任务 --- pages/inspection/scene/info/device-status/index.wxml | 43 ++++++++++++++++++++++++++++++++++--------- 1 files changed, 34 insertions(+), 9 deletions(-) diff --git a/pages/inspection/scene/info/device-status/index.wxml b/pages/inspection/scene/info/device-status/index.wxml index 1908ff0..b17acf9 100644 --- a/pages/inspection/scene/info/device-status/index.wxml +++ b/pages/inspection/scene/info/device-status/index.wxml @@ -1,22 +1,47 @@ <view class="page"> <view class="page-header"> - <t-button - wx:if="{{!showNewStatus}}" - icon="add" - theme="primary" - size="small" - bind:tap="onAddStatus" - >娣诲姞璁惧鐘舵��</t-button - > + <view class="flex-center"> + <t-button + wx:if="{{!showNewStatus}}" + icon="add" + theme="primary" + size="small" + bind:tap="onAddStatus" + >娣诲姞璁惧鐘舵��</t-button + > + </view> <t-form wx:if="{{showNewStatus}}" formArr="{{formArray}}" bind:submit="saveNewStatus" bind:cancel="cancelNewStatus" > - <view>sssss</view> + <t-input + label="璁惧浣嶇疆" + placeholder="璇疯緭鍏ヨ澶囦綅缃�" + value="{{locations.address}}" + bind:change="handleLocation" + > + <t-button slot="suffix" theme="primary" size="extra-small" bindtap="chooseLocation"> + 鍦板浘瀹氫綅 + </t-button> + </t-input> + <t-cell title="鐜板満鍥剧墖"> + <t-upload + slot="description" + media-type="{{['image']}}" + files="{{fileList}}" + gridConfig="{{gridConfig}}" + max="{{3}}" + files="{{fileList}}" + size-limit="{{sizeLimit}}" + bind:add="handleAddImg" + bind:remove="handleRemoveImg" + /> + </t-cell> </t-form> </view> + <t-divider /> <view class="page-container"> <block wx:for="{{deviceStatusList}}"> <device-location -- Gitblit v1.9.3