Ver Fonte

更新 项目集成

wzh há 3 anos atrás
pai
commit
f856497570
3 ficheiros alterados com 38 adições e 5 exclusões
  1. 5 1
      src/components/Aside.vue
  2. 3 0
      src/styles/index.css
  3. 30 4
      src/views/toolManage/urls.vue

+ 5 - 1
src/components/Aside.vue

@@ -110,12 +110,16 @@ export default {
       },
       {
         icon: "Document",
-        title: "版本日志",
+        title: "版本/入口",
         items: [
           {
             path: "/toolManage/versions",
             name: "版本日志",
           },
+          {
+            path: "/urls",
+            name: "项目集成",
+          },
         ],
       },
     ];

+ 3 - 0
src/styles/index.css

@@ -192,5 +192,8 @@
   padding-left: 30px;
 }
 
+.tac{
+  text-align: center;
+}
 
 

+ 30 - 4
src/views/toolManage/urls.vue

@@ -133,26 +133,52 @@
           </template>
           <div class="mb10 df jscb card-line aic" v-if="item.master_url">
             <div class="s-title">正式版:</div>
-            <el-popover placement="top" :width="200" trigger="hover">
+            <el-popover
+              placement="top"
+              :width="300"
+              :height="300"
+              trigger="hover"
+            >
               <template #reference>
                 <el-button type="primary" size="small">小程序码</el-button>
               </template>
               <el-image
-                style="width: 200px; height: 200px"
+                style="
+                  width: 240px;
+                  height: 240px;
+                  margin: 20px auto;
+                  display: block;
+                "
                 :src="item.master_url"
               ></el-image>
+              <div class="tac" style="font-size: 24px; margin: 20px">
+                正式版小程序码
+              </div>
             </el-popover>
           </div>
           <div class="mb10 df jscb card-line aic" v-if="item.dev_url">
             <div class="s-title">体验版:</div>
-            <el-popover placement="top" :width="200" trigger="hover">
+            <el-popover
+              placement="top"
+              :width="300"
+              :height="300"
+              trigger="hover"
+            >
               <template #reference>
                 <el-button type="primary" size="small">显示二维码</el-button>
               </template>
               <el-image
-                style="width: 200px; height: 200px"
+                style="
+                  width: 240px;
+                  height: 240px;
+                  margin: 20px auto;
+                  display: block;
+                "
                 :src="item.dev_url"
               ></el-image>
+              <div class="tac" style="font-size: 24px; margin: 20px">
+                体验版二维码
+              </div>
             </el-popover>
           </div>
           <div class="mb10 df jscb card-line aic" v-if="item.master_api">