bug修改

This commit is contained in:
姚亚男
2021-11-04 08:44:07 +08:00
parent 481fe7629c
commit a0ade5ec12
21 changed files with 97 additions and 19 deletions
+4
View File
@@ -8,6 +8,7 @@ Page({
* 页面的初始数据
*/
data: {
statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'],
form: {},
id: '', // 在工作组id,项目id
workingGroupId: '', //工作组id
@@ -21,6 +22,9 @@ Page({
// 当前登录人的id
currentId:''
},
goBack(){
wx.navigateBack()
},
// 预览
preview(e) {
const fileObj = e.currentTarget.dataset.file
+1 -1
View File
@@ -1,4 +1,4 @@
{
"navigationBarTitleText": "项目详情",
"navigationStyle": "custom",
"usingComponents": {}
}
+11 -2
View File
@@ -1,3 +1,10 @@
<!-- 自定义头部start -->
<view class="custom flex_center" style="padding-top:{{statusBarHeight}}px">
<image src="../../assets/images/back.png" bindtap="goBack"></image>
<text>项目详情</text>
</view>
<view class="empty_custom" style="padding-top:{{statusBarHeight}}px"></view><!-- 空view用来填充自定义头部的padding-top -->
<!-- 自定义头部end -->
<view>
<view class="basic-info">
<view class="meeting-name">
@@ -108,12 +115,14 @@
<image wx:if='{{item.sendMethod === 1}}' src="../../assets/images/ems.png"></image>
<text>{{item.sendMethod_dictText ? item.sendMethod_dictText : '未邮寄'}}</text>
</view>
<view class="way project-name">项目名称:{{item.projectName}}</view>
<view class="way project-name">
<text>项目名称:</text>
<text>{{item.projectName}}阿凡达富士达啊范德萨发大水啊士大夫犯得上电风扇阿凡达富士达啊范德萨发大水啊士大夫犯得上电风扇阿凡达富士达啊范德萨发大水啊士大夫犯得上电风扇阿凡达富士达啊范德萨发大水啊士大夫犯得上电风扇</text></view>
<view class="way-info">
<view class="way-left">
<text class="way-left-text green">票</text>
<view class="way-center">
<text>开票人:{{item.createBy}}</text>
<text>开票人:{{item.realName}}</text>
<text>开票时间:{{item.billDate}}</text>
</view>
</view>
+10 -8
View File
@@ -135,14 +135,16 @@ page{
height: auto !important;
}
.project-name{
display: block !important;
width: 100%;
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: nowrap !important;
box-sizing: border-box;
height: 40px !important;
line-height: 40px;
display: flex !important;
justify-content: flex-start;
align-items: center;
width: 100%;
box-sizing: border-box;
height: auto !important;
padding: 10px 15px !important;
}
.project-name text:nth-child(1){
flex-shrink: 0;
}
.info-file{
padding: 0 !important;