@@ -13,8 +13,13 @@ | |||
align-items: flex-start; | |||
} | |||
.info_name { | |||
width: 300rpx; | |||
font-size: 28rpx; | |||
color: #333333; | |||
font-size: 26rpx; | |||
overflow: hidden; | |||
white-space: nowrap; | |||
text-overflow: ellipsis; | |||
} | |||
.info_area { | |||
width: 300rpx; |
@@ -1,6 +1,6 @@ | |||
const __request_base_url__ = { | |||
develop: "http://192.168.11.11:9061/api", | |||
// develop: "https://qmhhapi.test.t-aaron.com/api", | |||
// develop: "http://192.168.11.11:9061/api", | |||
develop: "https://qmhhapi.test.t-aaron.com/api", | |||
trial: "https://qmhhapi.test.t-aaron.com/api", | |||
release: "https://qmhh.t-aaron.com/api" | |||
} |
@@ -10,8 +10,8 @@ Page({ | |||
{label: '河道名称', value: 'name', unit: ''}, | |||
{label: '河道区域', value: 'cityArea', unit: ''}, | |||
{label: '河道长度', value: 'length', unit: '公里'}, | |||
{label: '起讫位置', value: 'location', unit: ''}, | |||
{label: '河道简介', value: 'note', unit: ''} | |||
{label: '起讫位置', value: 'location', unit: ''} | |||
// {label: '河道简介', value: 'note', unit: ''} | |||
] | |||
}, | |||
@@ -4,7 +4,11 @@ | |||
<view class="river_message"> | |||
<view class="message_item" wx:for="{{messageList}}" wx:key="index"> | |||
<text class="item_label">{{item.label}}:</text> | |||
<text class="item_value">{{dataSource[item.value] || ''}}{{item.unit}}</text> | |||
<view class="item_value">{{dataSource[item.value] || ''}}{{item.unit}}</view> | |||
</view> | |||
<view class="note_box"> | |||
<text class="item_label">河道简介:</text> | |||
<view class="note">{{dataSource.note || ''}}</view> | |||
</view> | |||
</view> | |||
</view> |
@@ -26,8 +26,29 @@ | |||
} | |||
.item_label { | |||
width: 170rpx; | |||
flex-shrink: 0; | |||
font-size: 30rpx; | |||
color: #666666; | |||
} | |||
.item_value { | |||
flex: 1; | |||
text-align: end; | |||
word-wrap: break-word; | |||
word-break: break-all; | |||
font-size: 26rpx; | |||
color: #333333; | |||
} | |||
.note_box { | |||
width: 100%; | |||
padding: 20rpx 30rpx; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: flex-start; | |||
align-items: flex-start; | |||
} | |||
.note { | |||
font-size: 26rpx; | |||
color: #333333; | |||
margin-top: 20rpx; | |||
text-align: start; | |||
} |
@@ -14,7 +14,7 @@ | |||
<image class="river_img" src="{{item.image}}"></image> | |||
<riverInfo dataSource="{{item}}"></riverInfo> | |||
</view> | |||
<view class="execute_btn" bindtap="uploadProblem" data-current="{{index}}" data-detail="{{item}}">上报问题</view> | |||
<view class="execute_btn" catchtap="uploadProblem" data-current="{{index}}" data-detail="{{item}}">上报问题</view> | |||
</view> | |||
</view> | |||