|
@@ -7,14 +7,14 @@
|
|
</view> -->
|
|
</view> -->
|
|
<!-- 加载组件 -->
|
|
<!-- 加载组件 -->
|
|
<view>
|
|
<view>
|
|
- <Page1 v-show="tabbarIndex === 0" />
|
|
|
|
- <Page2 v-show="tabbarIndex === 1" />
|
|
|
|
- <Page3 v-show="tabbarIndex === 2" />
|
|
|
|
|
|
+ <Page1 class="page1" v-show="tabbarIndex === 0" />
|
|
|
|
+ <Page2 class="page2" v-show="tabbarIndex === 1" />
|
|
|
|
+ <Page3 class="page3" v-show="tabbarIndex === 2" />
|
|
</view>
|
|
</view>
|
|
<up-tabbar :value="tabbarIndex" @change="tabbarChange" fixed placeholder safeAreaInsetBottom>
|
|
<up-tabbar :value="tabbarIndex" @change="tabbarChange" fixed placeholder safeAreaInsetBottom>
|
|
- <up-tabbar-item text="特困审批" icon="home" />
|
|
|
|
- <up-tabbar-item text="基本信息" icon="home" />
|
|
|
|
- <up-tabbar-item text="申请进度" icon="home" />
|
|
|
|
|
|
+ <up-tabbar-item text="特困审批" icon="chrome-circle-fill" />
|
|
|
|
+ <up-tabbar-item text="基本信息" icon="file-text-fill" />
|
|
|
|
+ <up-tabbar-item text="申请进度" icon="hourglass-half-fill" />
|
|
</up-tabbar>
|
|
</up-tabbar>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -28,8 +28,7 @@
|
|
import Page1 from './componenets/page1.vue';
|
|
import Page1 from './componenets/page1.vue';
|
|
import Page2 from './componenets/page2.vue';
|
|
import Page2 from './componenets/page2.vue';
|
|
import Page3 from './componenets/page3.vue';
|
|
import Page3 from './componenets/page3.vue';
|
|
- // 假设 Page1 和 Page2 已经通过某种方式导入或全局注册
|
|
|
|
- // const components = ref([Page1, Page2);
|
|
|
|
|
|
+
|
|
// 计算属性来确定要渲染的组件名称
|
|
// 计算属性来确定要渲染的组件名称
|
|
// const pages = [Page1, Page2, Page3];
|
|
// const pages = [Page1, Page2, Page3];
|
|
// const currentComponent = computed(() => pages[tabbarIndex.value]);
|
|
// const currentComponent = computed(() => pages[tabbarIndex.value]);
|
|
@@ -48,7 +47,7 @@
|
|
</script>
|
|
</script>
|
|
<style>
|
|
<style>
|
|
page {
|
|
page {
|
|
- background-color: #F6F8FD;
|
|
|
|
|
|
+ background-color: #F6FAFF;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@@ -86,7 +85,46 @@
|
|
color: #222222 !important;
|
|
color: #222222 !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .up-icon{
|
|
|
|
+ padding: 10rpx;
|
|
|
|
+ border-radius: 5rpx;
|
|
|
|
+ border: 1px dashed rgba(0,0,0,0.6);
|
|
|
|
+ width: 50rpx;
|
|
|
|
+ height: 50rpx;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+ .page1 {
|
|
|
|
+ // background-color: red;
|
|
|
|
+ :deep{
|
|
|
|
+ .u-form-item__body{
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-radius: 5rpx;
|
|
|
|
+ padding: 10rpx;
|
|
|
|
+ margin-bottom: 20rpx;
|
|
|
|
+ }
|
|
|
|
+ .u-form-item__body__right__content{
|
|
|
|
+ margin-top: 10rpx;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-radius: 5rpx;
|
|
|
|
+ padding: 0 24rpx;
|
|
|
|
+ }
|
|
|
|
+ .u-form-item__body__left__content__label{
|
|
|
|
+ font-weight: 550;
|
|
|
|
+ font-size: 32rpx;
|
|
|
|
+ color: rgba(0,0,0,0.85);
|
|
|
|
+ padding-left: 24rpx;
|
|
|
|
+ }
|
|
|
|
+ .u-form-item__body__left__content__required{
|
|
|
|
+ left: 0;
|
|
|
|
+ }
|
|
|
|
+ .u-textarea{
|
|
|
|
+ background-color: #fff !important;
|
|
|
|
+ border: none;
|
|
|
|
+ padding: 0;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.u-navbar-box {
|
|
.u-navbar-box {
|
|
background: radial-gradient(circle at left, #FFE5E4 0%, #EEF2F5 40%, #DBEEFB 100%);
|
|
background: radial-gradient(circle at left, #FFE5E4 0%, #EEF2F5 40%, #DBEEFB 100%);
|
|
}
|
|
}
|