1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <template>
- <view class="modal-page" v-show="showModal">
- <view class="modal-box">
- <image class="pic" src="../../../static/hint.png"></image>
- <text class="text">您的分配工作量较大,建议使用批量分配功能</text>
- <view class="btn" @click="hide">
- <text class="btn-text">确定</text>
- </view>
- </view>
- </view>
- </template>
- <script>
- //提示弹框
- export default {
- data() {
- return {
- showModal:false,//是否显示弹框
- }
- },
- methods: {
- show(){
- this.showModal=true;
- },
- hide(){
- this.showModal=false;
- }
- },
- }
- </script>
- <style lang="less">
- .modal-page{
- height: 100%;
- width: 100%;
- position: fixed;
- top: 0rpx;
- left: 0rpx;
- background: rgba(0,0,0,0.5);
- .modal-box{
- height: 317.5rpx;
- width: 562.5rpx;
- background: #FFFFFF;
- border-radius: 24px;
- overflow: hidden;
- position: fixed;
- top: 441.25rpx;
- left: 93.75rpx;
- .pic{
- height: 80rpx;
- width: 80rpx;
- position: absolute;
- top: 50rpx;
- left: 241.25rpx;
- }
- .text{
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #292C33;
- position: absolute;
- top: 170rpx;
- left: 56.25rpx;
- }
- .btn{
- height: 75rpx;
- width: 562.5rpx;
- background: #3377FF;
- position: absolute;
- bottom: 0rpx;
- text-align: center;
- .btn-text{
- font-size: 22.5rpx;
- font-family: SourceHanSansCN-Normal, SourceHanSansCN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 75rpx;
- }
- }
- }
- }
- </style>
|