瀏覽代碼

no message

xiaoxin 2 年之前
父節點
當前提交
9995aa1341
共有 2 個文件被更改,包括 13 次插入18 次删除
  1. 12 18
      src/components/classRoom/classRoom-main-right.vue
  2. 1 0
      vite.config.js

+ 12 - 18
src/components/classRoom/classRoom-main-right.vue

@@ -41,56 +41,49 @@ const tableData = ref([
     id: 1,
     type: '起立',
     name: '朱冬梅',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/Compress20230101.jpg',
     time: new Date().toLocaleDateString()
   },
   {
     id: 2,
     type: '听讲',
-    name: '李乐松',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    name: '李乐',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/360922201101031229.jpg',
     time: new Date().toLocaleDateString()
   },
   {
     id: 3,
     type: '阅读',
     name: '罗鸿文',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/360922201010080033.jpg',
     time: new Date().toLocaleDateString()
   },
   {
     id: 4,
     type: '书写',
-    name: '夏皓君',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    name: '夏兰君',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/36092220110623122x.jpg',
     time: new Date().toLocaleDateString()
   },
   {
     id: 5,
     type: '举手',
     name: '舒霖',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/360922201101120061.jpg',
     time: new Date().toLocaleDateString()
   },
   {
     id: 6,
     type: '趴桌子',
-    name: '刘景辉',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    name: '刘景丽',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/340123201102221111.jpg',
     time: new Date().toLocaleDateString()
   },
   {
     id: 7,
     type: '讨论',
-    name: '甘旭彬',
-    imgurl:
-      'https://img1.baidu.com/it/u=1398895526,1958525606&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
+    name: '甘旭芳',
+    imgurl: 'https://wanzai-1306339220.cos.ap-shanghai.myqcloud.com/360923201108310024.jpg',
     time: new Date().toLocaleDateString()
   }
 ])
@@ -200,6 +193,7 @@ const initPieChart = () => {
       .form_img {
         width: 55px;
         height: 30px;
+        object-fit: cover;
       }
     }
   }

+ 1 - 0
vite.config.js

@@ -6,6 +6,7 @@ import vue from '@vitejs/plugin-vue'
 // https://vitejs.dev/config/
 export default defineConfig({
   plugins: [vue()],
+  base: '/familyManage/',
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))