scorpio 2 rokov pred
rodič
commit
b8743fdb17
2 zmenil súbory, kde vykonal 7 pridanie a 6 odobranie
  1. 5 4
      src/views/dash/compoents/read.vue
  2. 2 2
      vite.config.js

+ 5 - 4
src/views/dash/compoents/read.vue

@@ -2,10 +2,10 @@
   <div class="flex flex-col full-width mb-20">
     <div class="full-width text-left bold font-16">今日学习</div>
     <div class="flex flex-center">
-      <div class="flex flex-center ml-10" style="flex: 5">
+      <div class="flex flex-center" style="flex: 5">
         <preview
           :id="item.fileId"
-          class="flex flex-col flex-center flex-justify-start border radius box-shadow mr-15 mt-15 item"
+          class="flex flex-col flex-center flex-justify-start border radius box-shadow item"
           v-for="item in data"
           :key="item.id"
         >
@@ -73,13 +73,14 @@ export default {
 
 <style scoped>
 .item {
-  width: 260px;
+  width: 245px;
+  padding: 0;
 }
 
 .img {
   border-top-right-radius: 8px;
   border-top-left-radius: 8px;
-  width: 260px;
+  width: 245px;
   height: 180px;
   object-fit: cover;
 }

+ 2 - 2
vite.config.js

@@ -57,8 +57,8 @@ export default defineConfig({
     proxy: {
       '/api': {
         // 正式环境地址
-        target: 'https://dev.wutongresearch.club/api',
-        // target: 'https://prod.wutongshucloud.com/api',
+        // target: 'https://dev.wutongresearch.club/api',
+        target: 'https://prod.wutongshucloud.com/api',
         // target: 'http://192.168.31.181:8110',
         changeOrigin: true,
         rewrite: path => path.replace(/^\/api/, '')