Selaa lähdekoodia

调整营销工具详情

qymljy 2 vuotta sitten
vanhempi
commit
f53d7caaa8

+ 9 - 9
src/SManagement/archives/components/Drawer.vue

@@ -1,17 +1,17 @@
 <template>
-  <div >
-    <el-drawer title="详情" append-to-body :visible.sync="isFileInfoPanlShow" >
-      <div>
-        <p class="title">{{currentSelectFile.siteid}}</p>
-        <p class="people">浏览数:{{currentSelectFile.readcount}}</p>
+    <el-drawer title="详情" :with-header="true" append-to-body :visible.sync="isFileInfoPanlShow" >
+      <div class="drawer__panel">
+        <div style="border-bottom: 10px solid #FAFAFA">
+          <p class="title">{{currentSelectFile.siteid}}</p>
+          <p class="people">浏览数:{{currentSelectFile.readcount}}</p>
+        </div>
+
         <file-item :itemStyle="itemStyle"
                    :fileData="[currentSelectFile]"
-                   :isDownLoad="true">
+                   :isDownLoad="true" style="margin-top: 10px">
         </file-item>
       </div>
     </el-drawer>
-  </div>
-
 </template>
 
 <script>
@@ -64,7 +64,7 @@ export default {
     width: 550px !important;
   }
   /deep/.el-drawer__body {
-    padding: 0 30px 30px 30px;
+    padding: 0 0px 0px 0px;
   }
   .el-drawer__body .title {
     font-size: 16px;

+ 24 - 21
src/SManagement/archives_sc/archives_details/detail.vue

@@ -1,28 +1,31 @@
 <template>
   <el-drawer append-to-body title="详情" :visible.sync="isFileInfoPanlShow" :with-header="true">
-    <div class="top">
-      <p class="title">{{currentSelectFile.classname}} {{currentSelectFile.title}}</p>
-      <div class="info1">
-        <p>发布者: {{currentSelectFile.createby}}</p>
-        <p>发布时间: {{currentSelectFile.createdate}}</p>
+    <div class="drawer__panel">
+      <div class="top" style="border-bottom: 10px solid #FAFAFA">
+        <p class="title">{{currentSelectFile.classname}} {{currentSelectFile.title}}</p>
+        <div class="info1">
+          <p>发布者: {{currentSelectFile.createby}}</p>
+          <p>发布时间: {{currentSelectFile.createdate}}</p>
+        </div>
       </div>
-    </div>
-    <div class="descript" v-if="currentSelectFile.notes">
-      <p class="title">课程描述</p>
-      <p>
-        {{currentSelectFile.notes}}
-      </p>
-    </div>
-    <div class="file1" v-if="currentSelectFile.attinfos.length >= 1">
-      <p class="title">课件</p>
-      <div class="file-box">
-        <file-item :itemStyle="itemStyle" 
-                   :fileData="currentSelectFile.attinfos | fileType"
-                   :isDownLoad="true"
-                   @updateDownLoadRecord="updateDownLoadRecord">
-        </file-item>
+      <div class="descript" v-if="currentSelectFile.notes" style="border-bottom: 10px solid #FAFAFA">
+        <p class="title">课程描述</p>
+        <p>
+          {{currentSelectFile.notes}}
+        </p>
+      </div>
+      <div class="file1" v-if="currentSelectFile.attinfos.length >= 1" >
+        <p class="title">课件</p>
+        <div class="file-box">
+          <file-item :itemStyle="itemStyle"
+                     :fileData="currentSelectFile.attinfos | fileType"
+                     :isDownLoad="true"
+                     @updateDownLoadRecord="updateDownLoadRecord">
+          </file-item>
+        </div>
       </div>
     </div>
+
   </el-drawer>
 </template>
 
@@ -99,7 +102,7 @@ export default {
 }
 .el-drawer__body .top {
   border-bottom: 1px solid #dddddd;
-  margin: 30px  0;
+  margin: 0px  0;
   padding: 0 20px;
 }
 .el-drawer__body .title {

+ 2 - 2
vue.config.js

@@ -14,8 +14,8 @@ module.exports = {
       port: 8000,
       proxy: {
         '/apis': {
-          target: 'http://61.164.207.46:8000',  // target host*/
-          // target: 'http://192.168.3.9:8090',  // target host*!
+          // target: 'http://61.164.207.46:8000',  // target host*/
+          target: 'http://192.168.3.9:8090',  // target host*!
           // target: 'https://oms.idcgroup.com.cn:8079/',  // target host
           // target: 'localhost:8080',  // target host
           ws: true,  // proxy websockets