tangjunhao 5 months ago
parent
commit
11e845d473

BIN
src/assets/img/daohang.png


BIN
src/assets/img/jiaocheng.png


BIN
src/assets/img/shiying.png


+ 0 - 5
src/components/layout/openpage.vue

@@ -89,11 +89,6 @@ const activeIndex = computed(() => {
   color: #333333;
 }
 
-.custom-icon-button {
-  padding: 0;
-  border: none;
-}
-
 .open-page-content{
   display: flex;
   width: 100%;

+ 5 - 0
src/style/index.css

@@ -105,3 +105,8 @@ img{
   height: 47px;
   line-height: 47px;
 }
+
+.custom-icon-button {
+  padding: 0;
+  border: none;
+}

+ 14 - 1
src/views/project/index.vue

@@ -28,7 +28,18 @@
             Project List
         </div>
         <div class="project-main-header-actions">
-          <el-button >New Project</el-button>
+          <el-select v-model="select1" style="width: 120px;margin-right: 5px;">
+            <el-option label="Save" value="save"></el-option>
+          </el-select>
+          <el-button class="custom-icon-button">
+            <img :src="getImgPath('daohang.png')" style="width: 22px;"/>
+          </el-button>
+          <el-button class="custom-icon-button">
+            <img :src="getImgPath('jiaocheng.png')" style="width: 22px;"/>
+          </el-button>
+          <el-button class="custom-icon-button">
+            <img :src="getImgPath('shiying.png')" style="width: 22px;"/>
+          </el-button>
         </div>
       </div>  
       <div class="project-main-content custom-table">
@@ -85,6 +96,8 @@ let gd = ref({
     searchtag: ''
 })
 
+let select1 = ref('save');
+
 const getImgPath = (url) => {
   return new URL(`../../assets/img/${url}`, import.meta.url).href
 }