From 0ad28dbac74ba51b604c31c2dee7494d4e7f8fe4 Mon Sep 17 00:00:00 2001
From: hailu <962012470@qq.com>
Date: 星期一, 27 十一月 2023 17:21:15 +0800
Subject: [PATCH] 安装流程
---
GoldC/pages/problemReport/proRep.wxml | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/GoldC/pages/problemReport/proRep.wxml b/GoldC/pages/problemReport/proRep.wxml
index 674b5e0..bdc5137 100644
--- a/GoldC/pages/problemReport/proRep.wxml
+++ b/GoldC/pages/problemReport/proRep.wxml
@@ -6,7 +6,7 @@
<image class="primg" src="/images/ProRep/pingding.png"></image>
<view>璁惧</view>
</view>
- <picker bindchange="bindPicker" value="{{deviceIndex}}" range="{{deviceList2}}" disabled='{{showJD}}'>
+ <picker bindchange="bindPicker" value="{{deviceIndex}}" range="{{deviceList2}}" disabled='{{showJD&&form.state>0}}'>
<view class="chose">{{deviceList2[deviceIndex]?deviceList2[deviceIndex]:'璇烽�夋嫨璁惧'}}</view>
</picker>
</view>
@@ -17,7 +17,7 @@
<image class="primg" src="/images/ProRep/name.png"></image>
<view>瀹夎宸�</view>
</view>
- <picker bindchange="bindPicker2" value="{{erectoIndex}}" range="{{erectoList2}}" disabled='{{showJD}}'>
+ <picker bindchange="bindPicker2" value="{{erectoIndex}}" range="{{erectoList2}}" disabled='{{showJD&&form.state>0}}'>
<view class="chose">{{erectoList2[erectoIndex]?erectoList2[erectoIndex]:'璇烽�夋嫨瀹夎宸�'}}</view>
</picker>
</view>
@@ -27,20 +27,20 @@
<image class="primg" src="/images/ProRep/gongsixiangmu.png"></image>
<view>鐘舵��</view>
</view>
- <!-- <radio-group bindchange="radioChange"> -->
+ <radio-group bindchange="radioChange">
<label>
- <radio value="0" checked="{{form.state==0}}" disabled='{{showJD}}'>鏈寚娲�</radio>
+ <radio value="0" checked="{{form.state==0}}" disabled='{{true}}'>鏈寚娲�</radio>
</label>
<label>
- <radio value="1" checked="{{form.state==1}}" disabled='{{showJD}}'>宸叉淳鍗�</radio>
+ <radio value="1" checked="{{form.state==1}}" disabled='{{true}}'>宸叉淳鍗�</radio>
</label>
<label>
- <radio value="2" checked="{{form.state==2}}" disabled='{{showJD}}'>宸叉帴鍗�</radio>
+ <radio value="2" checked="{{form.state==2}}" disabled='{{true}}'>宸叉帴鍗�</radio>
</label>
<label>
- <radio value="3" checked="{{form.state==3}}" disabled='{{showJD}}'>宸插畬鎴�</radio>
+ <radio value="3" checked="{{form.state==3}}" disabled='{{true}}'>宸插畬鎴�</radio>
</label>
- <!-- </radio-group> -->
+ </radio-group>
<!-- <van-radio-group value="{{ from.state }}" direction="horizontal">
<van-radio name="0">鏈寚娲�</van-radio>
<van-radio name="1">宸叉淳鍗�</van-radio>
@@ -54,21 +54,21 @@
<image class="primg" src="/images/ProRep/uptext.png"></image>
<view>鐢ㄦ埛濮撳悕</view>
</view>
- <input bindinput="shangbao" value="{{form.userName}}" class="textbox" placeholder="璇疯緭鍏ョ敤鎴峰鍚�"></input>
+ <input bindinput="changeUserName" value="{{form.userName}}" class="textbox" placeholder="璇疯緭鍏ョ敤鎴峰鍚�"></input>
</view>
<view>
<view class="title">
<image class="primg" src="/images/ProRep/uptext.png"></image>
<view>鎵嬫満鍙�</view>
</view>
- <input bindinput="shangbao" value="{{form.userPhone}}" class="textbox" placeholder="璇疯緭鍏ユ墜鏈哄彿"></input>
+ <input bindinput="changePhone" value="{{form.userPhone}}" class="textbox" placeholder="璇疯緭鍏ユ墜鏈哄彿"></input>
</view>
<view>
<view class="title">
<image class="primg" src="/images/ProRep/uptext.png"></image>
<view>瀹夎鍦板潃</view>
</view>
- <input bindinput="shangbao" value="{{form.address}}" class="textbox" placeholder="璇疯緭鍏ュ畨瑁呭湴鍧�"></input>
+ <input bindinput="changeaddress" value="{{form.address}}" class="textbox" placeholder="璇疯緭鍏ュ畨瑁呭湴鍧�"></input>
</view>
<view>
@@ -88,25 +88,25 @@
<image class="primg" src="/images/ProRep/uptext.png"></image>
<view>澶囨敞</view>
</view>
- <textarea bindinput="shangbao" class="textbox" value="{{form.remark}}" placeholder="璇疯緭鍏ュ娉ㄥ唴瀹�..."></textarea>
+ <textarea bindinput="changeRemark" class="textbox" value="{{form.remark}}" placeholder="璇疯緭鍏ュ娉ㄥ唴瀹�..."></textarea>
</view>
<!-- 涓婁紶鍥剧墖 -->
-<view>
+<view wx:if="{{form&&form.state==3 }}">
<view class="title">
<image class="primg" src="/images/ProRep/imgicon.png"></image>
<view>涓婁紶鐓х墖</view>
</view>
<view class="photoBox">
- <view wx:for="{{imageUrl}}" style="display:inline" class="upimgbox">
- <image class="upphotoimg" src="{{item}}" mode="aspectFill" style="margin-right:15rpx"></image>
- <image class="removeimg" src="/images/del.png" bindtap="removeimg" data-index="{{index}}"></image>
- </view>
- <image wx:if="{{imageUrl.length<2}}" class="upphotoimg" src="/images/img.png" mode="aspectFill" bindtap="chooseImage"></image>
- <view>灏哄鍦�512*512浠ュ唴锛屽ぇ灏忓湪500kb浠ュ唴</view>
- </view>
+ <view wx:for="{{imageUrl}}" style="display:inline" class="upimgbox">
+ <image class="upphotoimg" src="{{item}}" mode="aspectFill" style="margin-right:15rpx"></image>
+ <image class="removeimg" src="/images/del.png" bindtap="removeimg" data-index="{{index}}"></image>
+ </view>
+ <image wx:if="{{imageUrl.length<2}}" class="upphotoimg" src="{{imgUrl}}" mode="aspectFill" bindtap="chooseimage"></image>
+ <!-- <view>灏哄鍦�512*512浠ュ唴锛屽ぇ灏忓湪500kb浠ュ唴</view> -->
+ </view>
</view>
<!-- <view class="addressBtn" bindtap="openBaiduMap">鎵撳紑鐧惧害鍦板浘</view> -->
--
Gitblit v1.8.0