| | |
| | | <view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view> |
| | | <!-- 真正的导航栏内容 --> |
| | | <view class="navBar"> |
| | | <u-icon name="arrow-left" color="black" size="17" @click="goBack" /> |
| | | <view class="barText">响应措施反馈</view> |
| | | </view> |
| | | </view> |
| | | <view style="display: flex;flex-direction: column; padding: 10px 15px;"> |
| | | <view class="measureCard"> |
| | | <view class="first"> |
| | | <text style="font-size: 16px;margin-bottom: 20px;">基础措施</text> |
| | | <u-checkbox-group |
| | |
| | | {{item.name}} |
| | | </view> |
| | | </view> |
| | | <u-button class="btn" type="success">提交</u-button> |
| | | </view> |
| | | <view class="measures"> |
| | | <u-button class="measureBtn" type="success">提交</u-button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | uni.hideTabBar(); |
| | | }, |
| | | methods: { |
| | | goBack() { |
| | | uni.navigateBack({ |
| | | url:'./detail/detail' |
| | | }); |
| | | }, |
| | | |
| | | checkboxChange(n) { |
| | | console.log('change', n); |
| | | }, |
| | |
| | | |
| | | <style lang='scss' scoped> |
| | | .navBarBox .navBar { |
| | | background-color:lightgrey; |
| | | height: 25px; |
| | | 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: 20px; */ |
| | | text-align: center; |
| | | width: 85%; |
| | | font-size: 16px; |
| | | /* text-align: center; */ |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .measureCard{ |
| | | 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; |
| | | } |
| | | .fix{ |
| | | position: sticky; |
| | |
| | | margin-top: 5px; |
| | | font-size: 14px; |
| | | } |
| | | |
| | | .measures{ |
| | | margin-top: 50px 12px 0; |
| | | padding: 0 12px; |
| | | |
| | | .measureBtn{ |
| | | border-radius: 5px; |
| | | box-shadow: 0 3px 12px rgba(33,239,102,0.4); |
| | | } |
| | | } |
| | | |
| | | /* .btn{ |
| | | position: fixed; |
| | | bottom: var(--window-bottom, 1); |