| | |
| | | <u-icon name="arrow-left" color="black" size="17" @click="goBack" /> |
| | | <view class="barText">信息详情</view> |
| | | </view> |
| | | |
| | | <view class="divider"></view> |
| | | </view> |
| | | </view> |
| | | <!-- 页面内容 --> |
| | | <view style="padding: 10px 15px;display: flex;flex-direction: column;"> |
| | | <view class="detailCard"> |
| | | <text style="font-size: 18px;"><b>标题:</b>{{detailData.title}}</text> |
| | | <text class="textTop"><b>类别:</b>{{detailData.disaster}}</text> |
| | | <view style="display: flex;align-items: center;" class="textTop"> |
| | |
| | | >确认发布</u-button> |
| | | </view> |
| | | <!-- //村级显示 --> |
| | | <view class="measures"> |
| | | <u-button type="primary" @click="goMeasures">响应措施反馈</u-button> |
| | | </view> |
| | | </view> |
| | | <view class="measures"> |
| | | <u-button class="resBtn" type="primary" @click="goMeasures">响应措施反馈</u-button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | }, |
| | | methods: { |
| | | goBack() { |
| | | console.log("1111") |
| | | uni.navigateBack({ |
| | | url:'./notice/notice' |
| | | }); |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | <style lang="scss" scoped> |
| | | a{ |
| | | text-decoration: none; |
| | | } |
| | | .navBarBox .navBar { |
| | | /* background-color:lightgrey; */ |
| | | height: 30px; |
| | | display: flex; |
| | | flex-direction: row; |
| | | /* justify-content: center; */ |
| | | align-items: center; |
| | | /* padding-top:5px ; */ |
| | | padding: 5px 8px; |
| | | background-color:#fff; |
| | | height: 50px; |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: center; |
| | | align-items: center; |
| | | box-shadow: 0 3px 12px rgba(0,0,0,0.05); |
| | | } |
| | | .barText{ |
| | | margin-left: 36%; |
| | | font-weight: 600; |
| | | font-size: 18px; |
| | | |
| | | /* margin-left: 20px; */ |
| | | text-align: center; |
| | | width: 85%; |
| | | font-size: 16px; |
| | | /* text-align: center; */ |
| | | font-weight: 600; |
| | | } |
| | | .navBarBox .navBar .logo { |
| | | width: 82rpx; |
| | |
| | | background-color: lightgray; |
| | | margin-left: 15px; |
| | | } |
| | | .detailCard{ |
| | | display: flex; |
| | | flex-direction: column; |
| | | background: #fff; |
| | | box-shadow: 0 3px 12px rgba(0,0,0,0.05); |
| | | margin: 12px 12px 20px; |
| | | border-radius: 5px; |
| | | padding: 30px 12px; |
| | | } |
| | | .btn{ |
| | | margin-top: 80px; |
| | | display: flex; |
| | |
| | | width: 100%; |
| | | } |
| | | .measures{ |
| | | margin-top: 50px; |
| | | margin-top: 50px 12px 0; |
| | | padding: 0 12px; |
| | | |
| | | .resBtn{ |
| | | border-radius: 5px; |
| | | box-shadow: 0 3px 12px rgba(33,148,239,0.4); |
| | | } |
| | | } |
| | | |
| | | </style> |