SanHQin преди 7 месеца
родител
ревизия
e4119d6fea

+ 18 - 10
src/components/pages/appStore/views/appManagement.vue

@@ -45,14 +45,14 @@
             </svg>
             工作空间</span
           >
-          <el-button
+          <!-- <el-button
             type="primary"
             size="small"
             icon="el-icon-plus"
             style="position: absolute;right: 15px;"
             @click="addApp"
             >添加应用</el-button
-          >
+          > -->
         </div>
         <div class="ac_h_banner" v-if="bannerObj">
           <img
@@ -102,8 +102,9 @@
               style="margin-left: 10px;"
               icon="el-icon-search"
               @click="getData"
+              clearable
             ></el-button>
-            <el-button type="primary" @click="resetData">重置</el-button>
+            <!-- <el-button type="primary" @click="releaseApp()">发布应用</el-button> -->
           </div>
         </div>
       </div>
@@ -164,7 +165,8 @@
             </div>
             <div class="ac_c_i_t_right">
               <div>{{ item.name }}</div>
-              <span>{{ item.label }}</span>
+              <span>{{ item.label}}</span>
+              <!-- <span>@{{ item.username }}</span> -->
             </div>
             <div class="ac_c_i_t_popover">
               <div
@@ -353,6 +355,9 @@ export default {
     addApp() {
       this.$refs.addAppDialogRef.open({ type: 1 });
     },
+    releaseApp(){
+      this.$message.info("发布应用")
+    },
     updateApp(data) {
       this.$refs.addAppDialogRef.open({
         type: 2,
@@ -712,8 +717,10 @@ export default {
 }
 
 .ac_left {
-  width: 280px;
-  min-width: 280px;
+  /* width: 280px;
+  min-width: 280px; */
+  width: clamp(150px,12vw,280px);
+  min-width: 150px;
   margin-right: 20px;
   height: 100%;
   border-radius: 5px;
@@ -725,7 +732,7 @@ export default {
 }
 
 .ac_right {
-  width: calc(100% - 280px);
+  flex: 1;
   min-width: 800px;
   height: 100%;
   overflow-y: hidden;
@@ -791,7 +798,7 @@ export default {
 
 .ac_h_banner {
   width: 100%;
-  height: 300px;
+  height: clamp(100px,20vh,300px);
   border-radius: 5px;
   overflow: hidden;
   box-sizing: border-box;
@@ -863,6 +870,7 @@ export default {
   margin-bottom: 15px;
   float: left;
   cursor: pointer;
+  font-size: calc(14px,20vh,16px);
 }
 
 @media screen and (min-width: 1400px) {
@@ -1006,7 +1014,7 @@ export default {
 }
 
 .ac_c_i_t_right > div {
-  font-size: 22px;
+  font-size: 1.4em;
   font-weight: bold;
   max-width: 100%;
   overflow: hidden;
@@ -1016,7 +1024,7 @@ export default {
 
 .ac_c_i_t_right > span {
   font-size: 1.1em;
-  font-weight: bold;
+  /* font-weight: bold; */
   color: #8991a1;
   display: block;
   max-width: 100%;

+ 14 - 13
src/components/pages/appStore/views/workSpace.vue

@@ -119,14 +119,14 @@
               style="margin-left: 10px;"
               icon="el-icon-search"
               @click="getData"
+              clearable
             ></el-button>
-            <el-button type="primary" @click="resetData">重置</el-button>
           </div>
         </div>
       </div>
 
       <div class="ac_content">
-        <div class="ac_c_item" v-for="item in 10">
+        <!-- <div class="ac_c_item" v-for="item in 0">
           <div class="ac_c_i_top">
             <img
               src="https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/default%2F%E6%B5%8B%E8%AF%951733981587859.jpg"
@@ -172,7 +172,7 @@
             <div>标签</div>
             <span>工作流</span>
           </div>
-        </div>
+        </div> -->
         <div class="ac_c_empty" v-if="dataList.length === 0">
           <span>暂无数据...</span>
         </div>
@@ -236,7 +236,7 @@ export default {
       org: this.$route.query["org"],
       oid: this.$route.query["oid"],
       getDataLoading: false,
-      dataList: [1],
+      dataList: [],
       recentUse: [],
       collect: [],
       editAppCard: null,
@@ -261,7 +261,7 @@ export default {
       this.getData();
     },
     getData() {
-      this.$message.info("获取数据暂未开发...");
+      // this.$message.info("获取数据暂未开发...");
     },
     updateCard(newValue) {
       // if (this.editAppCard === id) return (this.editAppCard = null);
@@ -324,8 +324,8 @@ export default {
 }
 
 .ac_left {
-  width: 280px;
-  min-width: 280px;
+  width: clamp(150px,12vw,280px);
+  min-width: 150px;
   margin-right: 20px;
   height: 100%;
   border-radius: 5px;
@@ -337,7 +337,7 @@ export default {
 }
 
 .ac_right {
-  width: calc(100% - 280px);
+  flex: 1;
   min-width: 800px;
   height: 100%;
   overflow-y: hidden;
@@ -392,7 +392,7 @@ export default {
 
 .ac_h_banner {
   width: 100%;
-  height: 300px;
+  height: clamp(100px,20vh,300px);
   border-radius: 5px;
   overflow: hidden;
   box-sizing: border-box;
@@ -465,6 +465,7 @@ export default {
   margin-bottom: 15px;
   float: left;
   position: relative;
+  overflow: hidden;
   /* cursor: pointer; */
 }
 
@@ -511,15 +512,15 @@ export default {
 
 .ac_c_i_top {
   width: 100%;
-  height: 180px;
+  height: calc(100px,10vw,180px);
   display: flex;
   justify-content: space-between;
   position: relative;
 }
 
 .ac_c_i_top > img {
-  width: 130px;
-  height: 130px;
+  width: clamp(80px,8vw,130px);
+  height:clamp(80px,8vw,130px);
   object-fit: cover;
   border-radius: 10px;
   margin: 10px 15px 10px 10px;
@@ -546,7 +547,7 @@ export default {
   font-size: 1em;
   color: #8991a1;
   width: calc(100%);
-  height: 74px;
+  height: clamp(2em,7vh,4em);
   /* 第四行溢出显示... */
   display: -webkit-box;
   display: block;

+ 6 - 6
src/components/pages/testStudent/view/preview.vue

@@ -42,7 +42,7 @@
           <div class="edit_top" :style="isN==1?'border-bottom:none;justify-content:space-between;padding:10px':''">
 						<div v-if="isN==1" class="edit_title"  :style=" isN==1? 'margin-left : 12px' : ''">提交记录</div>
             <div class="op_btn">
-							<el-button type="primary" :style=" isN==1? 'padding: 5px 10px;' : ''" size="small" @click="autoFill" v-if="(showAutoFillBtn && isN!=1)">智能填写</el-button>
+							<!-- <el-button type="primary" :style=" isN==1? 'padding: 5px 10px;' : ''" size="small" @click="autoFill" v-if="(showAutoFillBtn && isN!=1)">智能填写</el-button> -->
               <el-button type="primary" :style=" isN==1? 'padding: 5px 10px;' : ''" size="small" @click="refresh" v-if="isReset">刷新</el-button>
               <el-button :type="isN!=1?'primary':'info'" :style=" isN==1? 'padding: 5px 10px;' : ''" size="small" @click="reset">重置</el-button>
               <el-button type="primary" :style=" isN==1? 'padding: 5px 10px;' : ''" size="small" @click="save" v-if="(type != 3 && isN!=1)">保存</el-button>
@@ -130,7 +130,7 @@ export default {
               "&isN=" +
               this.isN +
               "&tcid=" +
-              this.tcid 
+              this.tcid
             );
           }
         })
@@ -512,7 +512,7 @@ export default {
             "&isN=" +
             this.isN +
             "&tcid=" +
-            this.tcid 
+            this.tcid
           );
         })
         .catch((err) => {
@@ -526,7 +526,7 @@ export default {
       let _uid = ''
       if(this.isN == 1){
         _uid = this.tcid
-      }else { 
+      }else {
         _uid = (this.tid) ? this.tid : this.userid
       }
       let params = [
@@ -565,7 +565,7 @@ export default {
               "&isN=" +
               this.isN +
               "&tcid=" +
-              this.tcid 
+              this.tcid
             );
           }
         })
@@ -745,4 +745,4 @@ export default {
 	top: 0;
 }
 
-</style>
+</style>