diff --git a/src/App.vue b/src/App.vue index dc082938..3ce8ce59 100644 --- a/src/App.vue +++ b/src/App.vue @@ -71,7 +71,11 @@ export default defineComponent({ background-color: rgba(245, 247, 250, 1); main { - flex: 1; + height: 0; + flex: 1 1 auto; + // flex-shrink: 0; + display: flex; + overflow-y: scroll; width: calc(100% - 40px); // margin-bottom: 20px; margin: 0px 20px 20px 20px; diff --git a/src/views/projectcenter/ProjectAdd.vue b/src/views/projectcenter/ProjectAdd.vue index 17875ebf..eaddee91 100644 --- a/src/views/projectcenter/ProjectAdd.vue +++ b/src/views/projectcenter/ProjectAdd.vue @@ -1,303 +1,501 @@ - \ No newline at end of file + .template { + width: 50%; + display: flex; + flex-direction: column; + align-items: center; + //justify-content: center; + float: right; + .name { + width: 78%; + // background-color: lightcoral; + display: flex; + margin-top: 20px; + align-items: center; + height: 40px; + // border: 1px solid black; + .d { + margin-top: 8px; + font-size: 25px; + color: #ff4e4e; + } + .inname { + color: #6f6f6f; + font-size: 14px; + margin-left: 7px; + width: 65px; + } + .in { + margin-left: 14px; + width: 81%; + .ant-input { + border-radius: 5px; + // height: 120%; + width: 100%; + height: 40px; + } + .ant-select-selector { + border-radius: 5px; + // height: 120%; + width: 100%; + height: 40px; + } + } + } + } + } + .footer { + width: 100%; + margin-top: 31px; + margin-bottom: 14px; + padding-bottom: 20px; + .btn { + display: flex; + justify-content: center; + } + .text { + color: rgba(153, 155, 163, 1); + font-size: 14px; + margin-left: 223px; + } + } +} + diff --git a/src/views/system/SystemManage.vue b/src/views/system/SystemManage.vue index 973a625a..00c9f030 100644 --- a/src/views/system/SystemManage.vue +++ b/src/views/system/SystemManage.vue @@ -41,13 +41,68 @@
-
*
-
投票名称:
-
+
+ +
投票名称:
+
+
+ +
+
+ +
创建投票:
+
+
创建投票
+
+ + +
+
+
+
起止时间:
+
+
+ +
+
+ + +
+
+
+
基础投票数:
+
+
+
点击上传
+
支持:xls.xlsx
+
+
+ + +
+
+
+
投票说明:
+
+
+ +
+
+
@@ -119,6 +174,51 @@ export default { .vote { display: flex; align-items: center; + margin-top: 32px; + margin-left: 20px; + .votebox { + width: 100px; + display: flex; + align-items: center; + justify-content: flex-end; + // background-color: pink; + .voteimg { + width: 10px; + height: 10px; + margin-right: 5px; + } + .votename { + font-size: 14px; + font-weight: 400; + color: #333333; + line-height: 20px; + } + } + + .votebtn { + width: 130px; + height: 40px; + background: #388be1; + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + font-size: 14px; + font-weight: 400; + color: #ffffff; + line-height: 20px; + } + .voteclassify { + font-size: 14px; + font-weight: 400; + color: #999999; + line-height: 20px; + margin-top: 16px; + } + .ant-picker { + width: 424px; + } } } }