SanHQin před 8 měsíci
rodič
revize
ed0a3a2530

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.4cfcbb76a661055da2c861f726039f08.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.de15001ce66f032e9274.js></script><script type=text/javascript src=./static/js/app.cdd9b000cbe5e7192df3.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.8ee2214496e1119a1fbb4801d1f29acb.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.de15001ce66f032e9274.js></script><script type=text/javascript src=./static/js/app.d62abfb9d07f10fd0b41.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.8ee2214496e1119a1fbb4801d1f29acb.css


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/css/app.8ee2214496e1119a1fbb4801d1f29acb.css.map


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/app.d62abfb9d07f10fd0b41.js


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/app.d62abfb9d07f10fd0b41.js.map


Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 1 - 1
src/components/pages/appStore/dialog/addAppDialog.vue

@@ -224,7 +224,7 @@ export default {
         // nlabel: [
         //   { required: true, message: "请输入应用标签", trigger: "blur" }
         // ],
-        // ntype: [{ required: true, message: "请选择应用类型", trigger: "blur" }],
+        type: [{ required: true, message: "请选择应用类型", trigger: "blur" }],
         // ndetail:[{required:true,message:"请输入应用简介",trigger:"blur"}],
         juri: [{ required: true, message: "请选择权限管理", trigger: "blur" }],
         url: [

+ 5 - 0
src/components/pages/appStore/dialog/releaseAppDialog.vue

@@ -120,6 +120,7 @@ export default {
       rules: {
 
         juri: [{ required: true, message: "请选择权限管理", trigger: "blur" }],
+        type: [{ required: true, message: "请选择应用类型", trigger: "blur" }],
         url: [
           { required: true, message: "请输入应用链接", trigger: "blur" },
           { validator: validUrl, trigger: "blur" }
@@ -142,6 +143,10 @@ export default {
         data.form.json.model = "1"
       }
 
+      if(!data.form.type){
+        data.form.type = this.typeList[0].id?this.typeList[0].id:''
+      }
+
       data.form.juri = '3'
       this.form = data.form;
       this.loading = false;

+ 28 - 24
src/components/pages/appStore/views/appManagement.vue

@@ -347,7 +347,7 @@
             <div class="ac_c_tc_i_top">
               <div>{{ item2.name }}</div>
 
-              <span
+              <span @click="changeType(item2.id)"
                 >查看更多
                 <img
                   src="../../../../assets/icon/appStore/arrow.svg"
@@ -357,8 +357,8 @@
             <div class="ac_c_tc_i_bottom">
               <div
                 class="ac_c_item"
-                v-if="item.type === item2.id"
-                v-for="(item, index) in dataList"
+                v-if="index<8"
+                v-for="(item, index) in dataList.filter(i=>i.type==item2.id)"
                 :key="item.id"
               >
                 <div class="ac_c_i_top" @click="openApp(item)">
@@ -561,6 +561,9 @@
                   </div>
                 </div>
               </div>
+              <div class="ac_c_empty" v-if="dataList.filter(i=>i.type==item2.id).length === 0">
+                <span>暂无数据...</span>
+              </div>
             </div>
           </div>
         </div>
@@ -673,7 +676,7 @@
             <div>{{ item.detail }}</div>
           </div>
         </div> -->
-        <div class="ac_c_empty" v-if="dataList.length === 0">
+        <div class="ac_c_empty" v-if="dataList.length === 0 && showType!==''">
           <span>暂无数据...</span>
         </div>
       </div>
@@ -1367,8 +1370,8 @@ export default {
 .ac_left {
   /* width: 280px;
   min-width: 280px; */
-  width: clamp(150px, 12vw, 280px);
-  min-width: 150px;
+  width: clamp(200px, 12vw, 280px);
+  min-width: 200px;
   margin-right: 20px;
   height: 100%;
   /* border-radius: 5px; */
@@ -1510,7 +1513,7 @@ export default {
 
 .ac_h_b_typeList > span {
   font-size: 18px;
-  margin-right: 20px;
+  margin-right: 30px;
   margin-top: 10px;
   margin-bottom: 5px;
   cursor: pointer;
@@ -1553,7 +1556,7 @@ export default {
 
 .ac_c_item {
   width: calc(100% / 4 - (15px * 4) / 4);
-  height: 250px;
+  height: 260px;
   background-color: #fff;
   border-radius: 10px;
   /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
@@ -1623,33 +1626,34 @@ export default {
   height: 40%;
   display: flex;
   box-sizing: border-box;
-  padding-top: 2%;
+  /* padding-top: 2%; */
   justify-content: center;
+  color: #a1a1a1;
   /* align-items: center; */
 }
 
 .ac_c_i_top {
   width: 100%;
   display: flex;
-  height: calc(100% - 40px);
+  height: calc(100% - 40px - 10px);
   cursor: pointer;
 }
 
 .ac_c_i_t_left {
-  width: 100px;
-  min-width: 100px;
-  height: 100px;
+  width: 80px;
+  min-width: 80px;
+  height: 80px;
   box-sizing: border-box;
   display: flex;
   align-items: flex-start;
   box-sizing: border-box;
-  padding: 10px;
+  /* padding: 10px; */
   margin-right: 10px;
 }
 
 .ac_c_i_t_left > svg {
   width: 100%;
-  height: auto;
+  height: 80px;
   border: 1px solid #e7e7e7;
   border-radius: 4px;
   box-sizing: border-box;
@@ -1759,7 +1763,7 @@ export default {
   display: flex;
   justify-content: space-between;
   align-items: center;
-  margin: 5px 0;
+  margin: 10px 0;
 }
 
 .ac_c_i_t_r_center > span {
@@ -1767,7 +1771,7 @@ export default {
   max-width: calc(100% - 80px);
   white-space: nowrap;
   overflow: hidden;
-  font-size: 20px;
+  font-size: 18px;
   color: #00000066;
   text-overflow: ellipsis;
 }
@@ -1795,7 +1799,7 @@ export default {
   max-height: calc(100% - 30px - 40px - 20px - 10px + 5px);
   margin-top: 5px;
   margin-bottom: 10px;
-  font-size: 18px;
+  font-size: 16px;
   color: #00000099;
   display: -webkit-box;
   -webkit-box-orient: vertical;
@@ -1806,25 +1810,25 @@ export default {
 
 .ac_c_i_bottom {
   width: 100%;
-  height: 50px;
+  height: 60px;
   box-sizing: border-box;
-  border-top: solid 2px #e7e7e7;
+  border-top: solid 1px #e7e7e7;
   display: flex;
   align-items: center;
   justify-content: space-between;
 }
 
 .ac_c_i_b_left {
-  width: 130px;
+  width: calc(100% - 60px);
   display: flex;
   align-items: center;
-  justify-content: space-between;
+  /* justify-content: space-between; */
   overflow: auto;
   height: 100%;
 }
 
 .ac_c_i_b_left > div {
-  /* margin-right: 20px; */
+  margin-right: 20px;
   display: flex;
   align-items: center;
 }
@@ -1895,7 +1899,7 @@ export default {
 }
 
 .ac_c_tc_i_top > div {
-  font-size: 20px;
+  font-size: 26px;
 }
 
 .ac_c_tc_i_top > span {

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů