diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 9b0d791..69faf69 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -4,16 +4,22 @@ "version" : "0.0", "configurations" : [ { - "app-plus" : { - "launchtype" : "local" - }, - "default" : { - "launchtype" : "local" - }, - "type" : "uniCloud" + "app-plus" : + { + "launchtype" : "local" + }, + "default" : + { + "launchtype" : "local" + }, + "mp-weixin" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" }, { - "playground" : "standard", + "playground" : "custom", "type" : "uni-app:app-android" } ] diff --git a/components/MultiColorNoticeBar/index.vue b/components/MultiColorNoticeBar/index.vue new file mode 100644 index 0000000..f65ce05 --- /dev/null +++ b/components/MultiColorNoticeBar/index.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/pages/realName/index/index.vue b/pages/realName/index/index.vue index 2a05630..32f87b0 100644 --- a/pages/realName/index/index.vue +++ b/pages/realName/index/index.vue @@ -115,15 +115,26 @@ - 今日风险 + 今日风险 - + > --> + + @@ -352,6 +363,7 @@ import PieChartsModelRingTwo from './components/pie-charts-model-ring-two' import PieChartsModelMan from './components/pie-charts-model-man.vue' import PieChartsModelGirl from './components/pie-charts-model-girl.vue' import { getHomePageListApi } from '@/api/phaseTwo/homePage' +import MultiColorNoticeBar from '../../../components/MultiColorNoticeBar' export default { components: { @@ -360,7 +372,8 @@ export default { PieChartsModelRing, PieChartsModelRingTwo, PieChartsModelMan, - PieChartsModelGirl + PieChartsModelGirl, + MultiColorNoticeBar }, data() { return { @@ -1064,7 +1077,7 @@ export default { .today-warning { margin: 30rpx 0; height: 68rpx; - padding: 0 30rpx; + padding-left: 30rpx; display: flex; align-items: center; border: 1rpx solid #ccc; @@ -1077,8 +1090,10 @@ export default { } .uni-notice-bar { - flex: 1; + // flex: 1; + width: 65%; height: 50rpx; + padding-left: 20rpx; // line-height: 50rpx; // background-color: orange; } diff --git a/pages/workPlan/index/components/home-notice-bar.vue b/pages/workPlan/index/components/home-notice-bar.vue index ea25fb7..06b0bf6 100644 --- a/pages/workPlan/index/components/home-notice-bar.vue +++ b/pages/workPlan/index/components/home-notice-bar.vue @@ -2,22 +2,49 @@ - 今日风险 - - + 今日风险 + + + + + +