From 4b48bacef8646cee8b66f5e10b0ed7124534e93e Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期五, 12 五月 2023 17:10:47 +0800
Subject: [PATCH] 首页修改
---
miniprogram/pages/user/report/submitReport/index.wxml | 103 ++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 85 insertions(+), 18 deletions(-)
diff --git a/miniprogram/pages/user/report/submitReport/index.wxml b/miniprogram/pages/user/report/submitReport/index.wxml
index 80e7bc0..722eda3 100644
--- a/miniprogram/pages/user/report/submitReport/index.wxml
+++ b/miniprogram/pages/user/report/submitReport/index.wxml
@@ -1,20 +1,86 @@
<!--index.wxml-->
<view>
+ <van-notice-bar
+ wx:if="{{isInGroup==2}}"
+ left-icon="volume-o"
+ text="{{'椹冲洖鍘熷洜锛�'+remarks}}"
+
+/>
<view>
<!-- <view class="content">{{reportDetail.reporterName}}</view>
<view class="font-wenzi">鎶ユ浜哄鍚�</view> -->
- <view class="text">*璇峰~鍐欑湡瀹炴姤妗堜俊鎭紝濡傚~鍐欐湁璇垨铏氭嫙鎶ユ锛屽悗鏋滆嚜璐熴��</view>
+ <view class="text">涓烘洿蹇鏍革紝璇峰瀹炲~鍐欑浉鍏充俊鎭紝*涓哄繀濉」</view>
</view>
- <view class="list1">
- <!-- <picker bindchange="cheatTime" class="content" mode="time">璇烽�夋嫨 </picker> -->
+ <van-cell-group>
+ <van-field bind:input="getrealName" required value="{{ realName }}" label="濮撳悕" placeholder="璇疯緭鍏ュ鍚�" />
+ <!-- <van-field
+ bind:input="getsex"
+ required
+ value="{{ sex }}"
+ label="鎬у埆"
+ placeholder="璇疯緭鍏ュ鍚�"
+ /> -->
+ <view class="listSex">
+ <view> <span class="list-sure">*</span>鎬у埆</view>
+ <picker bindchange="bindPickerChangeSex" value="{{sexId}}" range="{{arraySex}}" range-key="sex">
+ <view class="picker">
+ 褰撳墠閫夋嫨锛歿{arraySex[sexId].sex}}
+ </view>
+ </picker>
+ </view>
+
+ <van-field bind:input="getuserIdCard" required value="{{ userIdCard }}" label="韬唤璇�" placeholder="璇疯緭鍏ヨ韩浠借瘉" />
+ <van-field disabled="{{phoneDisab}}" bind:input="getuserPhone" required value="{{ phone }}" label="鑱旂郴鐢佃瘽" placeholder="璇疯緭鍏ヨ仈绯荤數璇�" />
+ <van-field bind:input="getLocation" required value="{{ Location }}" label="鐜颁綇鍧�" placeholder="璇疯緭鍏ョ幇浣忓潃" />
+ <van-field bind:input="getworkingLocation" required value="{{ workingLocation }}" label="宸ヤ綔鍗曚綅" placeholder="璇疯緭鍏ュ伐浣滃崟浣�" />
+ <view class="cause">
+ <view class="font-wenzi-cause"> <span class="list-sure">*</span>鎸変簨浠�</view>
+ <picker bindchange="pickCause" class="content" value="{{causeIndex}}" range="{{causeList}}" range-key="{{'name'}}" mode="selector">
+ <view class="picker-cause">
+ {{causeIndex==null?'璇烽�夋嫨':causeList[causeIndex].name}}>
+ </view>
+ </picker>
+
+ </view>
+ <van-field bind:input="getamountInvolved" required value="{{ amountInvolved }}" label="鍙楁崯閲戦" placeholder="璇疯緭鍏ュ彈鎹熼噾棰�" />
+ <van-field required readonly value="{{ }}" label="浣滆瘉鏉愭枡" placeholder=" ">
+
+ </van-field>
+ <van-notice-bar left-icon="volume-o" text="韬唤璇佹鍙嶉潰蹇呴』涓婁紶銆傜浉鍏冲悎鍚屻�佷氦鏄撳嚟璇併�佸叾浠栦笁椤硅嚦灏戜笂浼犱竴椤广��" />
+ <!-- <view class="upload" bindtap="uploadImage">
+ <image class="imageUp" src="../../../icon/Photograph.png"></image>
+ <view class="upload-wenzi">鎷嶆憚韬唤璇佺収鐗�</view>
+ </view>
+ <view class="imagess" wx:for="{{images}}" wx:key="index">
+ <image class="image" style="width: 100%;" src="{{item.url}}" mode="aspectFill"></image>
+ </view> -->
+ <van-tabs active="a" ellipsis="{{false}}" bind:change="onChangeTabs">
+ <van-tab title="韬唤璇佹鍙嶉潰" name="a">
+ <van-uploader bind:delete="afterRadeDel" file-list="{{ cardIdList }}" max-count="2" bind:after-read="afterReadImg" capture="{{ capture }}" accept="image" />
+
+ </van-tab>
+ <van-tab title="鐩稿叧鍚堝悓" name="b">
+ <van-uploader bind:delete="afterRadeDelFile" file-list="{{ fileImgList }}" bind:after-read="afterReadImg" />
+ </van-tab>
+ <van-tab title="浜ゆ槗鍑瘉" name="c">
+ <van-uploader bind:delete="afterRadeDelTran" file-list="{{ transactionReceiptList }}" bind:after-read="afterReadImg" />
+ </van-tab>
+ <van-tab title="鍏朵粬" name="d">
+ <van-uploader bind:delete="afterRadeDelOther" file-list="{{ otherList }}" bind:after-read="afterReadImg" />
+ </van-tab>
+ </van-tabs>
+ </van-cell-group>
+
+ <!-- <view class="list1">
+ <picker bindchange="cheatTime" class="content" mode="time">璇烽�夋嫨 </picker>
<time-picker mode="{{mode}}" class="content" bind:onPickerChange="onPickerChange"></time-picker>
<view class="font-wenzi">琚獥鏃堕棿</view>
- </view>
- <view class="list1">
+ </view> -->
+ <!-- <view class="list1">
<input bindinput="getMoney" type="digit" class="content" placeholder="璇疯緭鍏�" />
<view class="font-wenzi">娑夊強閲戦</view>
- </view>
+ </view> -->
<!-- <view class="list1">
<view class="content">{{reportDetail.idcard}}</view>
<view class="font-wenzi">妗堜欢鎻忚堪</view>
@@ -34,16 +100,16 @@
<view class="content">{{reportDetail.cheatTime}}</view>
<view class="font-wenzi">琚獥鏃堕棿</view>
</view> -->
- <view class="list1">
+ <!-- <view class="list1">
<input bindinput="getDe" class="content" placeholder="璇疯緭鍏�" />
<view class="font-wenzi">妗堜欢鎻忚堪</view>
- </view>
- <view class="list1">
+ </view> -->
+ <!-- <view class="list1">
<input bindinput="getInfor" maxlength="140" class="content" placeholder="璇疯緭鍏�" />
<view class="font-wenzi">琛ュ厖淇℃伅</view>
- </view>
- <view>
+ </view> -->
+ <!-- <view>
<view class="font-wenzi-1">鎶ユ鏉愭枡</view>
<view class="upload" bindtap="uploadImage">
<image class="imageUp" src="../../../icon/Photograph.png"></image>
@@ -52,15 +118,16 @@
<view class="imagess" wx:for="{{images}}" wx:key="index">
<image class="image" style="width: 100%;" src="{{item.url}}" mode="aspectFill"></image>
</view>
- </view>
+ </view> -->
- <!-- <view class="list1">
+ <!-- <view class="list1">
<picker bindchange="pickCause" class="content" value="{{causeIndex}}" range="{{causeList}}" range-key="{{'name'}}" mode="selector">璇烽�夋嫨 >
</picker>
<view class="font-wenzi">鍏宠仈妗堜欢</view>
</view> -->
- <view class="button">
- <button class="button2" size="mini" bindtap="pass">鎻愪氦</button>
- <button class="button1" size="mini" bindtap="cancel">鍙栨秷</button>
- </view>
- </view>
\ No newline at end of file
+ <view class="button">
+ <button class="button2" size="mini" bindtap="pass">鎻愪氦</button>
+ <button class="button1" size="mini" bindtap="cancel">鍙栨秷</button>
+ </view>
+ <van-toast id="van-toast" />
+</view>
\ No newline at end of file
--
Gitblit v1.8.0