| | |
| | | <u-popup round="19rpx" :show="showPop" mode="center" @close="close" @open="open"> |
| | | <view class="popup-content"> |
| | | <view class="title-pop">请选择下派单位</view> |
| | | <view class="pop-label">社区:</view> |
| | | <view class="pop-label">{{['','区县','街道','社区'][accountLevel]}}:</view> |
| | | <uni-data-select :disabled="false" v-model="value" :localdata="range"></uni-data-select> |
| | | |
| | | <view class="botton-btn"> |
| | |
| | | showPop: false, |
| | | value: '', |
| | | range: [], |
| | | accountLevel: 1, //1、市级 2、区县 3、街道 4、社区 |
| | | }; |
| | | }, |
| | | onShow() { |
| | | this.accountLevel = uni.getStorageSync('userInfo').accountLevel || 1 |
| | | }, |
| | | onLoad(option) { |
| | | // option.id = 1 |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | // height: 106rpx; |
| | | background: linear-gradient( 270deg, rgba(255,241,0,0.5) 0%, rgba(255,249,172,0.25) 48%, rgba(255,255,255,0.2) 100%, #FFFFFF 100%); |
| | | background: linear-gradient(270deg, rgba(255, 241, 0, 0.5) 0%, rgba(255, 249, 172, 0.25) 48%, rgba(255, 255, 255, 0.2) 100%, #FFFFFF 100%); |
| | | box-shadow: 0rpx 0rpx 27rpx 0rpx rgba(0, 0, 0, 0.1); |
| | | border-radius: 19rpx; |
| | | align-items: center; |