dev-QQq
qinzhenpen 1 year ago
parent 9fd07f22a9
commit 23246d13d8

@ -2,15 +2,15 @@
# @Author: qinzhenpen qzp1807@126.com # @Author: qinzhenpen qzp1807@126.com
# @Date: 2024-08-28 17:21:18 # @Date: 2024-08-28 17:21:18
# @LastEditors: qinzhenpen qzp1807@126.com # @LastEditors: qinzhenpen qzp1807@126.com
# @LastEditTime: 2024-08-30 17:10:29 # @LastEditTime: 2025-04-15 14:11:55
# @FilePath: \digital-marketing\.env.development # @FilePath: \digital-marketing\.env.development
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
### ###
# 页面标题 # 页面标题
VITE_APP_TITLE = 数字电子商务实训系统 VITE_APP_TITLE = 数字营销
# 开发环境配置 # 开发环境配置
VITE_APP_ENV = 'development' VITE_APP_ENV = 'development'
# 若依管理系统/开发环境 # 若依管理系统/开发环境
VITE_APP_BASE_API = 'https://szyx.sztzjy.com:9868' VITE_APP_BASE_API = 'https://szyx.sztzjy.com:8042'

@ -2,18 +2,18 @@
# @Author: qinzhenpen qzp1807@126.com # @Author: qinzhenpen qzp1807@126.com
# @Date: 2024-08-27 10:39:50 # @Date: 2024-08-27 10:39:50
# @LastEditors: qinzhenpen qzp1807@126.com # @LastEditors: qinzhenpen qzp1807@126.com
# @LastEditTime: 2024-08-28 17:15:51 # @LastEditTime: 2025-04-15 15:28:47
# @FilePath: \digital-marketing\.env.production # @FilePath: \digital-marketing\.env.production
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
### ###
# 页面标题 # 页面标题
VITE_APP_TITLE = 数字电子商务实训系统 VITE_APP_TITLE = 数字营销实训系统
# 生产环境配置 # 生产环境配置
VITE_APP_ENV = 'production' VITE_APP_ENV = 'production'
# 若依管理系统/生产环境 # 若依管理系统/生产环境
VITE_APP_BASE_API = 'https://szyx.sztzjy.com:9868' VITE_APP_BASE_API = 'https://szyx.sztzjy.com:8042'
# 是否在打包时开启压缩,支持 gzip 和 brotli # 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip VITE_BUILD_COMPRESS = gzip

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VITE_APP_TITLE = 数字电子商务实训系统 VITE_APP_TITLE = 数字营销
# 生产环境配置 # 生产环境配置
VITE_APP_ENV = 'staging' VITE_APP_ENV = 'staging'

Binary file not shown.

@ -7,7 +7,7 @@
<meta name="renderer" content="webkit"> <meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">
<title>数字电子商务实训系统</title> <title>数字营销实训系统</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style> <style>
html, html,

@ -1,13 +1,13 @@
<template> <template>
<div :class="classObj" class="app-wrapper" :style="{ '--current-color': theme }"> <div :class="classObj" class="app-wrapper" :style="{ '--current-color': theme }">
<div class="title" style="height: 58px; background-color: #072048 !important; z-index: 900 !important; position: relative"> <div class="title" style="height: 58px; background-color: #072048 !important; z-index: 900 !important; position: relative">
<div :class="[role!==3 ? 'navTitle':'TnavTitle']"> <div :class="[role !== 3 ? 'navTitle' : 'TnavTitle']">
<span class="nacber-name" v-if="role!==3"></span> <span class="nacber-name" v-if="role !== 3"> </span>
<span class="nacber-name" v-else> - </span> <span class="nacber-name" v-else> - </span>
</div> </div>
</div> </div>
<div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside" /> <div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside" />
<sidebar v-if="!sidebar.hide" class="sidebar-container" :class="[role===3?'newImg':'']" /> <sidebar v-if="!sidebar.hide" class="sidebar-container" :class="[role === 3 ? 'newImg' : '']" />
<div :class="{ hasTagsView: needTagsView, sidebarHide: sidebar.hide }" class="main-container"> <div :class="{ hasTagsView: needTagsView, sidebarHide: sidebar.hide }" class="main-container">
<div :class="{ 'fixed-header': fixedHeader }"></div> <div :class="{ 'fixed-header': fixedHeader }"></div>
<app-main /> <app-main />
@ -21,11 +21,11 @@ import { useWindowSize } from "@vueuse/core";
import Sidebar from "./components/Sidebar/index.vue"; import Sidebar from "./components/Sidebar/index.vue";
import { AppMain, Navbar, Settings, TagsView } from "./components"; import { AppMain, Navbar, Settings, TagsView } from "./components";
import defaultSettings from "@/settings"; import defaultSettings from "@/settings";
import { getUserInfo } from '@/utils/auth' import { getUserInfo } from "@/utils/auth";
import useAppStore from "@/store/modules/app"; import useAppStore from "@/store/modules/app";
import useSettingsStore from "@/store/modules/settings"; import useSettingsStore from "@/store/modules/settings";
const role=ref(JSON.parse(getUserInfo()).roleId) const role = ref(JSON.parse(getUserInfo()).roleId);
const settingsStore = useSettingsStore(); const settingsStore = useSettingsStore();
const theme = computed(() => settingsStore.theme); const theme = computed(() => settingsStore.theme);
const sideTheme = computed(() => settingsStore.sideTheme); const sideTheme = computed(() => settingsStore.sideTheme);
@ -69,8 +69,8 @@ function setLayout() {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/assets/styles/mixin.scss"; @import "@/assets/styles/mixin.scss";
@import "@/assets/styles/variables.module.scss"; @import "@/assets/styles/variables.module.scss";
.newImg{ .newImg {
background: url('../assets/images/侧边栏1e.png') no-repeat center !important; background: url("../assets/images/侧边栏1e.png") no-repeat center !important;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
.app-wrapper { .app-wrapper {
@ -106,8 +106,8 @@ function setLayout() {
letter-spacing: 4px; letter-spacing: 4px;
} }
} }
.TnavTitle{ .TnavTitle {
background: url('../assets/images/top1.png'); background: url("../assets/images/top1.png");
background-size: 100% 100% !important; background-size: 100% 100% !important;
box-shadow: 0 1px 4px #00152914; box-shadow: 0 1px 4px #00152914;
position: fixed; position: fixed;
@ -115,7 +115,7 @@ function setLayout() {
height: 58px; height: 58px;
z-index: 1000; z-index: 1000;
padding: 5px 20px; padding: 5px 20px;
span{ span {
font-size: 26px; font-size: 26px;
font-family: Source Han Sans CN; font-family: Source Han Sans CN;
font-weight: 700; font-weight: 700;

@ -18,7 +18,7 @@ import Layout from "@/layout";
* meta : { * meta : {
noCache: true // 如果设置为true则不会被 <keep-alive> 缓存(默认 false) noCache: true // 如果设置为true则不会被 <keep-alive> 缓存(默认 false)
title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字 title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字
icon: 'svg-name' // 设置该路由的图标对应路径src/assets/icons/svg icon: 'svg-name' // 设置该路由的图标对应路径src/asse ts/icons/svg
breadcrumb: false // 如果设置为false则不会在breadcrumb面包屑中显示 breadcrumb: false // 如果设置为false则不会在breadcrumb面包屑中显示
activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。 activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。
} }

@ -15,8 +15,8 @@ axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分 // axios中请求配置有baseURL选项表示请求URL公共部分
// baseURL: import.meta.env.VITE_APP_BASE_API, baseURL: import.meta.env.VITE_APP_BASE_API,
baseURL: "https://szyx.sztzjy.com:9868/", // baseURL: "https://szyx.sztzjy.com:8042/",
// baseURL:'http://192.168.2.13:9868/', // baseURL:'http://192.168.2.13:9868/',
// 超时 // 超时
timeout: 100000, timeout: 100000,

@ -128,7 +128,7 @@ const sendText = async () => {
const messageId = Date.now(); const messageId = Date.now();
const newMessage = reactive({ id: messageId, type: "ai-main", displayContent: "" }); const newMessage = reactive({ id: messageId, type: "ai-main", displayContent: "" });
messages.push(newMessage); messages.push(newMessage);
const resp = await fetch("https://szyx.sztzjy.com:9868/api/bigModule/createArticleByAi", { const resp = await fetch("https://szyx.sztzjy.com:8042/api/bigModule/createArticleByAi", {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",

@ -24,7 +24,7 @@
<p><el-radio label="B" size="large" v-model="item.studentAnswer" >B. {{ item.optionB }}</el-radio></p> <p><el-radio label="B" size="large" v-model="item.studentAnswer" >B. {{ item.optionB }}</el-radio></p>
<div class="footer"> <div class="footer">
<el-button class="--primary" type="primary" round plain size="large" @click="stepOneanswer" >提交任务</el-button> <el-button class="--primary" type="primary" round plain size="large" @click="stepOneanswer" >提交任务</el-button>
<el-button class="--primary " type="primary" round plain size="large" @click="downloadArticle" >点击下载文章图片</el-button> <el-button class="--primary " type="primary" round plain size="large" @click="downloadArticle" >文章图片</el-button>
</div> </div>
</div> </div>
<el-divider /> <el-divider />
@ -237,7 +237,7 @@ const downloadArticle=()=>{
return proxy.$modal.msgWarning("请先完成上一步") return proxy.$modal.msgWarning("请先完成上一步")
} }
answerRecord.value=2 answerRecord.value=2
window.open(`https://szyx.sztzjy.com:9868/api/stu/experimental/downloadImg?userId=${JSON.parse(getUserInfo()).userId}&TOKEN=${getToken()}`) window.open(`https://szyx.sztzjy.com:8042/api/stu/experimental/downloadImg?userId=${JSON.parse(getUserInfo()).userId}&TOKEN=${getToken()}`)
} }
// //

@ -477,7 +477,7 @@ const uploadReport = async (id) => {
if (!id) { if (!id) {
return; return;
} }
window.open(`https://szyx.sztzjy.com:9868/api/stu/concept/block/download?TOKEN=${"Bearer " + getToken()}&id=${id}`); window.open(`https://szyx.sztzjy.com:8042/api/stu/concept/block/download?TOKEN=${"Bearer " + getToken()}&id=${id}`);
}; };
const isUpdate = ref(false); const isUpdate = ref(false);
// //

@ -2,7 +2,7 @@
<div class="login" v-loading="loadpage"> <div class="login" v-loading="loadpage">
<div class="login-main"> <div class="login-main">
<el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">数字电子商务实训系统</h3> <h3 class="title">数字营销</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号"> <el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号">
<template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template> <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>

@ -251,7 +251,7 @@ const getGeneralView = async () => {
// //
const generalViewExport = async () => { const generalViewExport = async () => {
window.open(`https://szyx.sztzjy.com:9868/api/tch/grades/generalViewExport?schoolId=${schoolId.value}`) window.open(`https://szyx.sztzjy.com:8042/api/tch/grades/generalViewExport?schoolId=${schoolId.value}`)
// window.open(`http://120.79.54.255:8800/api/tch/generalView/generalViewExport?schoolId=${schoolId.value}`) // window.open(`http://120.79.54.255:8800/api/tch/generalView/generalViewExport?schoolId=${schoolId.value}`)
} }

Loading…
Cancel
Save