'栏目新闻优化'

master
fwb 4 weeks ago
parent 8828624840
commit 9a6032ebe0
  1. 3
      teaching_integration_platform_admin_template/src/views/message/components/messageContent.vue
  2. 4
      teaching_integration_platform_admin_template/src/views/message/components/receiveContentList.vue
  3. 2
      teaching_integration_platform_admin_template/src/views/message/components/sendMessageList.vue
  4. 5
      teaching_integration_platform_template/.env.development
  5. 4
      teaching_integration_platform_template/src/views/pedagogicalReform/index.vue

@ -15,7 +15,7 @@
</div>
</div>
</template>
<!-- 输入框内容-->
<!--输入框内容-->
<el-form>
<el-form-item label="收件人id:" label-width="100px">
<el-input :model-value="inputPerson" size="large" readonly>
@ -190,6 +190,7 @@ const send = async () => {
background: steelblue;
text-align: center;
font-size: 18px;
font-weight: 800;
line-height: 45px;
height: 45px;
width: 100%;

@ -22,7 +22,7 @@
<!-- <div class="content">-->
<!-- 内容{{ Message.content }}-->
<el-form-item label="文章内容">
<textarea style="width: 100%;height:55vh;border: 2px solid #d3d3d3;" v-model="Message.content"></textarea>
<textarea style="width: 100%;height:55vh;border: 2px solid #d3d3d3;" v-model="Message.content" readonly></textarea>
<!-- <el-input class="brief_text" type="textarea" /> -->
</el-form-item>
<!-- </div>-->
@ -48,7 +48,7 @@ const back = ()=>{
import {ref} from "vue";
//
const Message = ref(route.query)
console.log(Message,'获取信息')
</script>
<style scoped>

@ -23,7 +23,7 @@
<!-- 内容{{ sendMessage.content }}-->
<!-- </div>-->
<el-form-item label="文章内容">
<textarea style="width: 100%;height:55vh;border: 2px solid #d3d3d3;" v-model="sendMessage.content"></textarea>
<textarea style="width: 100%;height:55vh;border: 2px solid #d3d3d3;" v-model="sendMessage.content" readonly></textarea>
</el-form-item>
</div>
<!-- <template #footer>Footer content</template>-->

@ -1,6 +1,7 @@
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
NODE_ENV = 'development'
VITE_APP_TITLE = '教学一体化平台'
VITE_APP_BASE_API = 'http://127.0.0.1:8080'
VITE_APP_OTHER_ORIGIN = 'http://127.0.0.1:5173'
# VITE_APP_BASE_API = 'http://127.0.0.1:8080'
# VITE_APP_OTHER_ORIGIN = 'http://127.0.0.1:5173'
# VITE_APP_BASE_API = 'http://39.106.16.162:8080'
VITE_APP_BASE_API = 'http://10.100.200.177:8080'

@ -8,9 +8,11 @@
<ul>
<li v-for="category in column" :key="category.id">
<div class="box">
<!--栏目-->
<div class="categorySty">
<span>· {{category.categoryName}}</span>
</div>
<!--栏目下新闻列表-->
<div style="margin-left: 10px">
<ul v-if="category.essays">
<li class="essaySty" v-for="essay in category.essays" :key="essay.id" @click="selectEssay(essay)">
@ -38,10 +40,12 @@ const CategoryList = async () => {
const categoriesResponse = await queryCategory();
const showColumns = categoriesResponse.data.filter(column => column.status === 1);
column.value = showColumns;
// console.log(column.value,'')
// 1
for (const category of column.value) {
const essaysResponse = await queryEssay(category.id);
// 1
// console.log(essaysResponse,'')
category.essays = essaysResponse.data.filter(article => article.status === 1);
}
} catch (error) {

Loading…
Cancel
Save