更新项目配置和添加小程序模块

- 修改 ArticleController.java
- 更新 application.yml 配置
- 更新 frontend/.env.production 环境配置
- 添加 single_uniapp22miao 小程序模块
- 添加 logs 目录
This commit is contained in:
panchengyong
2026-03-13 13:27:13 +08:00
parent 5432904bcb
commit 786bf78282
360 changed files with 571027 additions and 4 deletions

View File

@@ -0,0 +1,40 @@
<template>
<web-view class="web-view" :webview-styles="webviewStyles" :src="url" :style="{width: windowW + 'px', height: windowH + 'px'}"></web-view>
</template>
<script>
import {
mapGetters
} from "vuex";
export default {
//computed: mapGetters(['chatUrl']),
data() {
return {
windowH: 0,
windowW: 0,
webviewStyles: {
progress: {
color: 'transparent'
}
},
url: ''
}
},
onLoad(option) {
if(option.webUel) this.url = option.webUel;
// 蚂蚁智能客服场景参数
if(option.tntInstId) this.url += `?tntInstId=${option.tntInstId}`;
if(option.scene) this.url += `&scene=${option.scene}`;
uni.setNavigationBarTitle({
title: option.title
})
try {
const res = uni.getSystemInfoSync();
this.windowW = res.windowWidth;
this.windowH = res.windowHeight;
} catch (e) {
// error
}
}
}
</script>