浏览代码

修复分享样式群聊分享

1
mo 3 年之前
父节点
当前提交
d0f062cdb9
共有 3 个文件被更改,包括 15 次插入3 次删除
  1. 1 1
      src/components/live-broadcast/groupChat.tsx
  2. 12 0
      src/components/live-broadcast/preview.module.less
  3. 2 2
      vite.config.ts

+ 1 - 1
src/components/live-broadcast/groupChat.tsx

@@ -61,7 +61,7 @@ export default defineComponent({
             <div >
                 <ElForm model={this.searchForm} ref="form" inline={true} class={styles.form}>
                     <ElFormItem>
-                        <ElInput clearable placeholder="群聊名称/乐团编号" modelValue={this.searchForm.search} onInput={val => this.searchForm.search = val}></ElInput>
+                        <ElInput clearable placeholder="群聊名称/课程名称" modelValue={this.searchForm.search} onInput={val => this.searchForm.search = val}></ElInput>
                     </ElFormItem>
                     <ElFormItem>
                         <ElButton type="primary" onClick={this.search}>搜索</ElButton>

+ 12 - 0
src/components/live-broadcast/preview.module.less

@@ -10,6 +10,10 @@
       color: #ffffff;
       line-height: 40px;
       text-shadow: 0px 2px 4px #9366ee;
+      min-height: 80px;
+      display: flex;
+      flex-direction: row;
+      align-items: center;
     }
     .preCore {
       .title {
@@ -29,6 +33,10 @@
       color: #ffffff;
       line-height: 40px;
       text-shadow: 0px 2px 4px #ff5f5f;
+      min-height: 80px;
+      display: flex;
+      flex-direction: row;
+      align-items: center;
     }
     .preCore {
       .title {
@@ -48,6 +56,10 @@
       color: #ffffff;
       line-height: 40px;
       text-shadow: 0px 2px 4px #1054f1;
+      min-height: 80px;
+      display: flex;
+      flex-direction: row;
+      align-items: center;
     }
   }
   .icon {

+ 2 - 2
vite.config.ts

@@ -6,8 +6,8 @@ import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
 const vueJsx = require('@vitejs/plugin-vue-jsx')
 const legacy = require('@vitejs/plugin-legacy')
 
-// const proxyUrl = "https://test.dayaedu.com/"; // test 环境
-const proxyUrl = "http://dev.dayaedu.com/"; // test 环境
+const proxyUrl = "https://test.dayaedu.com/"; // test 环境
+// const proxyUrl = "http://dev.dayaedu.com/"; // test 环境
 // https://vitejs.dev/config/
 export default defineConfig({
   base: "./",