| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <template>
- <view class="container">
- <!-- 空状态图标区域 -->
- <view class="empty-icon">
- <view class="file-icon">
- <view class="file-corner"></view>
- <view class="file-line"></view>
- <view class="file-line"></view>
- </view>
- <view class="warn-icon">
- <text>!</text>
- </view>
- </view>
- <!-- 提示文字 -->
- <view class="tip-text">还未上报延包摸底数据</view>
- <!-- 操作按钮 -->
- <view class="btn-wrap">
- <button class="submit-btn" @click="goToReport">去上报</button>
- </view>
- </view>
- </template>
- <script setup lang="ts">
- import { onLoad } from '@dcloudio/uni-app';
- import { ref } from 'vue';
- const getCbfbmjump = ref([]);
- // 导入后即可正常使用 onLoad
- onLoad((options) => {
- getCbfbmjump.value = JSON.parse(decodeURIComponent(options.groupInfo));
- console.log(222, getCbfbmjump.value)
- });
- const goToReport = () => {
- console.log(1123,getCbfbmjump.value)
- // 跳转到上报页面,根据实际路由修改
- uni.navigateTo({
- url: `/pages/Escalation/index?groupInfo=${encodeURIComponent(JSON.stringify(getCbfbmjump.value))}`
- })
- }
- </script>
- <style lang="scss" scoped>
- .container {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- min-height: 100vh;
- background-color: #fff;
- padding: 0 60rpx;
- }
- .empty-icon {
- position: relative;
- width: 200rpx;
- height: 200rpx;
- margin-bottom: 60rpx;
- .file-icon {
- width: 160rpx;
- height: 200rpx;
- background-color: #e5e5e5;
- border-radius: 8rpx;
- position: relative;
- .file-corner {
- position: absolute;
- top: 0;
- right: 0;
- width: 40rpx;
- height: 40rpx;
- background-color: #fff;
- clip-path: polygon(100% 0, 0 0, 100% 100%);
- }
- .file-line {
- width: 100rpx;
- height: 16rpx;
- background-color: #d5d5d5;
- border-radius: 8rpx;
- position: absolute;
- left: 30rpx;
- &:first-child {
- top: 60rpx;
- }
- &:last-child {
- top: 100rpx;
- }
- }
- }
- .warn-icon {
- width: 80rpx;
- height: 80rpx;
- background-color: #e5e5e5;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- position: absolute;
- right: 0;
- bottom: 0;
- text {
- font-size: 40rpx;
- color: #fff;
- font-weight: bold;
- line-height: 80rpx;
- }
- }
- }
- .tip-text {
- font-size: 36rpx;
- color: #333;
- margin-bottom: 120rpx;
- }
- .btn-wrap {
- width: 100%;
- }
- .submit-btn {
- width: 100%;
- height: 88rpx;
- background-color: #007aff;
- color: #fff;
- border-radius: 44rpx;
- font-size: 32rpx;
- line-height: 88rpx;
- text-align: center;
- border: none;
- }
- </style>
|