Browse Source

上架删除可见范围

dusenyao 10 months ago
parent
commit
e5900727d1
2 changed files with 5 additions and 22 deletions
  1. 3 3
      package-lock.json
  2. 2 19
      src/views/home/components/ListingDialog.vue

+ 3 - 3
package-lock.json

@@ -7234,9 +7234,9 @@
       }
     },
     "node_modules/electron": {
-      "version": "29.3.2",
-      "resolved": "https://registry.npmmirror.com/electron/-/electron-29.3.2.tgz",
-      "integrity": "sha512-pRWsaFtbd78kEHR0lg5aMhZDY6b5JykIEhZRtyTCaJpGFObB2NFIJDzR7mTia0cZp3pPq60n/SS4gRxvSM5WFQ==",
+      "version": "29.4.2",
+      "resolved": "https://registry.npmmirror.com/electron/-/electron-29.4.2.tgz",
+      "integrity": "sha512-XyIkuWQguwY8hGtLg0j5Q4Fqphdbh0ctBsKCSVzJ/R7Z2+2WN/oQ1M+zYwchmfiDgiuL3EKkrBrfPdxXYdMr+A==",
       "dev": true,
       "hasInstallScript": true,
       "dependencies": {

+ 2 - 19
src/views/home/components/ListingDialog.vue

@@ -1,12 +1,6 @@
 <template>
   <el-dialog :visible="visible" title="上架" width="450px" @close="dialogClose">
     <div class="listing">
-      <div class="visible-range">
-        <div class="visible-range-title">可见范围</div>
-        <el-radio-group v-model="publish_scope">
-          <el-radio v-for="{ label, value } in publishList" :key="value" :label="value">{{ label }}</el-radio>
-        </el-radio-group>
-      </div>
       <div class="authorized-agency">
         <div class="authorized-agency-title">选择授权机构(可多选)</div>
         <el-select
@@ -49,7 +43,7 @@ export default {
   },
   data() {
     return {
-      publish_scope: 1, // 可见范围
+      publish_scope: 0, // 可见范围
       publishList: [
         { label: '全部机构可见', value: 1 },
         { label: '仅授权机构可见', value: 0 },
@@ -99,17 +93,6 @@ export default {
     .listing {
       padding: 0 16px;
 
-      .visible-range {
-        display: flex;
-        flex-direction: column;
-        row-gap: 12px;
-
-        &-title {
-          font-size: 14px;
-          color: $font-light-color;
-        }
-      }
-
       .authorized-agency {
         display: flex;
         flex-direction: column;
@@ -119,7 +102,7 @@ export default {
     }
 
     &__body {
-      padding: 16px 20px;
+      padding: 0 20px 16px;
     }
 
     &__header {