Browse Source

DP-1905

pull/7/head
Wangwei 1 year ago
parent
commit
1f6db98da2
  1. 5
      src/assets/css/base.css
  2. 2
      src/components/AvatarDropDown.vue
  3. 497
      src/components/Footer - 副本.vue
  4. 10
      src/store/index.js
  5. 2
      src/views/class/admin/student_admin_class.vue
  6. 3
      src/views/video/video_course.vue

5
src/assets/css/base.css

@ -363,7 +363,7 @@ a:hover {
font-size: 36px !important;
}
.lht17 {
lint-height: 17px;
line-height: 17px;
}
.lht18 {
line-height: 18px;
@ -418,6 +418,9 @@ a:hover {
.colffa {
color: #ffa940;
}
.colff4 {
color: #ff4d4f;
}
.col28c {
color: #28c346;

2
src/components/AvatarDropDown.vue

@ -49,6 +49,7 @@
import { reactive, toRefs } from "vue";
import { getUid } from "@/utils/cookie";
import { getUserInfoShequ } from "@/api/user";
import store from "@/store";
export default {
setup() {
const state = reactive({
@ -59,6 +60,7 @@ export default {
const res = await getUserInfoShequ(state.uid);
if (res.code === 200) {
state.user = res.data;
store.commit("set_user_name", res.data.username);
}
};
resGetUserInfoShequ();

497
src/components/Footer - 副本.vue

@ -0,0 +1,497 @@
<template>
<el-backtop class="feedback-backtop">
<svg viewBox="64 64 896 896" focusable="false" data-icon="up" width="14" height="14" fill="currentColor" aria-hidden="true">
<path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"></path>
</svg>
</el-backtop>
<footer class="m-dn">
<div class="footer">
<div class="deanfooter" id="deanfooter" style="margin-top:0">
<div class="w1200">
<div>
<div class="flex-1 mb8">
<img
class="foot_logo"
alt=""
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAA8CAYAAADPLpCHAAAAAXNSR0IArs4c6QAADcFJREFUeAHtHW2QXEWxe/buciHyFSCQIB8JhiR3FwxWLBCUD6UoFIE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IxzeI8l1L616bVbQyiJdhTvH/fWDFaybq9mmD2OeXlcZeewxeFNxQQ5c81rJSlkJqxffboVTGRM+8PyHHL6peYaNCVz21rI5j5WxjaotqAGvpbfgABHxjsiYW/CDNQyppQ2ajfkfS5fNvtYw9gjcghpoWYNWxoz7dy5/GKOftGhBuzUOqSUXhcrNUDNzZMzGz71lEcqg1Qvw+bhqUw9URTME4vXKZ97c1COJhK9VA+xy4Mu1Nm6UdmrThA35e8ccPKc7WgA2yqcyOXK0QTutgBTex7E99UpL7TO1ELbCfwGacPOZd3CwcZtKNOIO16vt7PwOYN3jzAGSRajG0MD/AZW9vYngIxH8AAAAAElFTkSuQmCC"
/>
<div class="foot_a">
<a class="foot_a_item" href="https://www.fanruan.com/privacy" target="_blank">隐私政策</a>
<a class="foot_a_item" href="https://bbs.fanruan.com/thread-102821-1-1.html" rel="nofollow" target="_blank">帆软用户协议</a>
<a class="foot_a_item" href="https://bbs.fanruan.com/thread-135379-1-1.html" rel="nofollow" target="_blank">联系管理员</a>
<a href="https://www.fanruan.com/support" target="_blank">联系帆软</a>
</div>
</div>
<div class="xs0">
<span id="debuginfo">
Copyright © <a href="https://www.fanruan.com/" target="_blank">帆软软件有限公司</a>
<span class="foot_a_item mlf16">版权所有</span>
<a href="https://beian.miit.gov.cn/#/Integrated/index">苏ICP备18065767号</a>
</span>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</footer>
<div class="m-footr m-db">
<div class="footer_row">
<span>Copyright © </span>
<a class="acol808" href="https://www.fanruan.com">帆软软件有限公司</a>
<span> 版权所有</span>
</div>
<a class="acol808" href="https://beian.miit.gov.cn/#/Integrated/index">苏ICP备18065767号</a>
</div>
<!-- 用户侧 -->
<div class="service_feddback_box m-dn">
<el-popover placement="left" trigger="hover" width="392px" popper-class="new-popper">
<div class="tel_txt_box dr-feedback-popover-wrapper">
<div class="dr-feedback-popover">
<div class="dr-feedback-popover-item-click dr-feedback-popover-item" onclick="window.open('https://service.fanruan.com/support')">
<div class="dr-feedback-popover-item-logo">
<img src="https://fanruanbbs.obs.cn-east-2.myhuaweicloud.com/ui/digit-fe/feedback/support.png" />
</div>
<div>
<div class="dr-feedback-popover-item-title-wrapper" style="gap: 8px;">
<div class="ant-space-item" style="">
<span class="title">在线支持</span>
</div>
<div class="ant-space-item">
<span role="img" aria-label="arrow-right" class="anticon anticon-arrow-right icon">
<svg viewBox="64 64 896 896" focusable="false" data-icon="arrow-right" width="12" height="12" fill="currentColor" aria-hidden="true">
<path d="M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"></path>
</svg>
</span>
</div>
</div>
<div class="grey-text">工作日9:00-12:0013:30-17:30在线</div>
<div class="dr-feedback-popover-item-info-wrapper">
<div>
<div class="grey-text">或拨打热线电话</div>
<div>
<div class="ant-space css-ph9edi ant-space-horizontal ant-space-align-center" style="gap: 8px;">
<div class="ant-space-item" style="">
<span class="grey-text">大陆</span>
</div>
<div class="ant-space-item">
<div class="ant-space css-ph9edi ant-space-horizontal ant-space-align-center blue-text" style="gap: 8px;">
<div class="ant-space-item">400-811-8890 转2</div>
</div>
</div>
</div>
</div>
<div>
<div>
<span class="grey-text">海外</span>
<span class="blue-text">(+86) 0510-66758729</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="dr-feedback-popover-item-click dr-feedback-popover-item" style="cursor: pointer;" @click="pageFeedbackHanlder(true)">
<div class="dr-feedback-item">
<div class="dr-feedback-popover-item-logo">
<img alt="feedback" src="https://hwobs.fanruan.com/ui/digit-fe/feedback/feedback.png" />
</div>
<div>
<div class="dr-feedback-popover-item-title-wrapper" style="gap: 8px;">
<span class="title">页面反馈</span>
<span class="anticon anticon-arrow-right icon">
<svg viewBox="64 64 896 896" focusable="false" data-icon="arrow-right" width="12" height="12" fill="currentColor" aria-hidden="true">
<path d="M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"></path>
</svg>
</span>
</div>
<div class="grey-text">针对当前网页的建议问题反馈</div>
</div>
</div>
</div>
<div class="dr-feedback-popover-item">
<div class="dr-feedback-popover-item-logo">
<img src="https://hwobs.fanruan.com/ui/digit-fe/feedback/consult.png" />
</div>
<div>
<div class="ant-space css-ph9edi ant-space-horizontal ant-space-align-center dr-feedback-popover-item-title-wrapper" style="gap: 8px;">
<div class="ant-space-item">
<span class="title">售前咨询</span>
</div>
</div>
<div class="grey-text">采购需求/获取报价/预约演示</div>
<div class="dr-feedback-popover-item-info-wrapper">
<div class="grey-text">或拨打: <span class="blue-text">400-811-8890 转1</span></div>
</div>
</div>
<div>
<img alt="qr" src="https://fanruanbbs.obs.cn-east-2.myhuaweicloud.com/ui/digit-fe/feedback/qr.png" width="80" />
</div>
</div>
<div class="dr-feedback-popover-item" style="margin-bottom: 0">
<div class="dr-feedback-popover-item-logo">
<img src="https://hwobs.fanruan.com/ui/digit-fe/feedback/tel.png" />
</div>
<div>
<div class="ant-space css-ph9edi ant-space-horizontal ant-space-align-center dr-feedback-popover-item-title-wrapper" style="gap: 8px;">
<div class="ant-space-item">
<span class="title">总裁办24H电话</span>
</div>
</div>
<div class="blue-text">173 1278 1526</div>
</div>
</div>
</div>
</div>
<template #reference>
<div class="dr-feedback">
<div class="dr-feedback-inner">
<img class="dr-feedback-inner-icon" src="https://hwobs.fanruan.com/ui/digit-fe/feedback/customer.png" />
<div>获取帮助</div>
</div>
</div>
</template>
</el-popover>
</div>
<el-dialog title="提交页面反馈" v-model="showFeedback" width="800px" custom-class="foot-dialog-feedback">
<div class="flex-1 dia-msg-til">
<span style="color: #FFA940; margin: 3px 6px 0 0;">
<svg viewBox="64 64 896 896" focusable="false" data-icon="info-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true">
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path>
<path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"></path>
</svg>
</span>
<span>
仅适用于当前网页的意见收集帆软产品问题请在
<a class="col008" href="https://bbs.fanruan.com/wenda" target="_blank">问答板块提问</a> <a class="col008" href="https://service.fanruan.com/" target="_blank">前往服务平台</a> 获取技术支持
</span>
</div>
<div id="feedbackIframe" style=" width:800px; height: 500px; overflow: hidden; border-radius: 8px;"></div>
</el-dialog>
</template>
<script>
import { toRefs, reactive, getCurrentInstance } from "vue";
import { getTicketToken } from "@/api/user";
import { getUid } from "@/utils/cookie";
import { onBeforeRouteUpdate, useRoute } from "vue-router";
export default {
setup() {
const { proxy } = getCurrentInstance();
const route = useRoute();
const state = reactive({
showFeedback: false,
dialogShuzhiniao: false,
uid: getUid(),
ticketToken: null,
curPageUrl: window.location.href,
isFanruanUser: false,
mobile: null,
comLoginUrl: proxy.$root.com_login_url2 + route.path,
});
onBeforeRouteUpdate((to) => {
state.curPageUrl = proxy.$root.com_edu_url + to.fullPath;
state.comLoginUrl = proxy.$root.com_login_url2 + to.fullPath;
});
// token
const resGetTicketToken = async () => {
const params = {
referer: state.curPageUrl,
};
const res = await getTicketToken(params);
if (res.code === 200) {
let data = res.data;
if (data.finer === true) {
state.isFanruanUser = true;
state.mobile = data.mobile;
} else {
state.isFanruanUser = false;
state.ticketToken = data.ticketToken;
}
}
};
resGetTicketToken();
//
const pageFeedbackHanlder = (display) => {
if (state.uid > 0 && state.isFanruanUser === true) {
//
if (display === false) {
const remIframe = document.getElementById("iframe_shuzhiniao");
document.querySelector("body").removeChild(remIframe);
} else {
const iframe = document.createElement("iframe");
iframe.src = `https://pe9qbh7c.shuzhiniao.com/web/#/h5/business/brd?embedded=true&modal=true&hideRootMenu=true&spaceId=11093&类型=37047&反馈人UID=${state.uid}&页面URL=${state.curPageUrl}&反馈人手机号=${state.mobile}&hiddenFields=页面URL,反馈人UID,处理人回复,类型`;
iframe.style = "width: 100vw; height: 100vh; position: fixed; top: 0px; left: 0px; z-index: 100000; border:none;";
iframe.id = "iframe_shuzhiniao";
document.querySelector("body").appendChild(iframe);
}
} else if (state.uid > 0) {
//
state.showFeedback = true;
setTimeout(function() {
const iframe = document.createElement("iframe");
iframe.src = `https://pe9qbh7c.shuzhiniao.com/web/#/ticket/a2555f84970f418a98960adb4029aed1/form?embedded=true&hiddenFields=${encodeURIComponent("页面URL,反馈人UID,处理人回复")}&ticketToken=${state.ticketToken}`;
iframe.style = "width: 100%; height: 100%; border:none;";
iframe.id = "iframe_shuzhiniao";
let makediv = document.getElementById("feedbackIframe");
makediv.appendChild(iframe);
}, 200);
} else {
//
window.location.replace(state.comLoginUrl);
}
};
// iframe
function receiveMessage(event) {
const { data } = event;
if (data && data.type === "closeModal" && data.id === "shuzhiniao-create-issue") {
// iframe
pageFeedbackHanlder(false);
}
}
window.addEventListener("message", receiveMessage, false);
return {
...toRefs(state),
pageFeedbackHanlder,
};
},
};
</script>
<style lang="scss">
.feedback-backtop {
align-items: center;
background-color: #fff !important;
border-radius: 8px !important;
bottom: 80px !important;
box-shadow: 0 4px 12px 0 rgba(4, 43, 79, 0.12);
cursor: pointer;
display: flex !important;
height: 36px !important;
justify-content: center !important;
position: fixed;
right: 10px !important;
width: 36px !important;
background-image: none !important;
color: #333;
}
.new-popper {
border-radius: 8px !important;
}
.service_feddback_box {
position: fixed;
top: 50%;
transform: translateY(-50%);
right: 10px;
}
.dr-feedback {
background: linear-gradient(144deg, #00b8fe 16%, #0082fc 87%);
border-radius: 8px;
box-shadow: 0 4px 12px 0 rgba(4, 43, 79, 0.12);
height: 84px;
width: 36px;
line-height: 1.5714285714285714;
}
.dr-feedback,
.dr-feedback-inner {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
z-index: 2;
}
.dr-feedback-inner {
color: #fff;
cursor: pointer;
font-size: 12px;
line-height: 14px;
text-align: center;
width: 80%;
}
.dr-feedback-inner-icon {
height: 20px;
margin-bottom: 8px;
width: 20px;
}
.dr-feedback-popover {
box-sizing: border-box;
padding: 4px;
width: 100%;
}
.dr-feedback-popover:before {
content: "";
position: absolute;
right: -20px;
top: 0;
width: 20px;
height: 100%;
}
.ant-space {
display: inline-flex;
}
.ant-space-align-center {
align-items: center;
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item {
align-items: flex-start;
background: linear-gradient(180deg, #f3f6ff, #fff);
border: 0.5px solid #d6dfe7;
border-radius: 8px;
box-sizing: border-box;
display: flex;
gap: 12px;
margin-bottom: 16px;
padding: 12px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 14px;
line-height: 1.5714285714285714;
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item-logo {
width: 48px;
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item-logo img {
width: 100%;
border: none;
}
.dr-feedback-popover-item-title-wrapper {
display: inline-flex;
align-items: center;
.anticon-arrow-right {
color: #1f1f1f;
}
.title {
color: #1f1f1f;
}
}
.dr-feedback-popover-item-click {
cursor: pointer;
&:hover .dr-feedback-popover-item-title-wrapper {
.anticon-arrow-right {
color: #0082fc;
}
.title {
color: #0082fc;
}
}
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item-title-wrapper .title {
font-family: PingFangSC, PingFangSC-Semibold;
font-size: 14px;
font-weight: 600;
line-height: 24px;
text-align: left;
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item .grey-text {
color: #8a9cb0;
font-size: 14px;
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item-info-wrapper {
margin-top: 10px;
}
.dr-feedback-popover-wrapper .dr-feedback-popover-item .blue-text {
color: #0082fc;
font-size: 14px;
}
.dr-feedback-item {
display: flex;
gap: 10px;
}
</style>
<style lang="scss">
.dia-msg-til {
background-color: #fefbe6;
padding: 10px 20px;
border: 1px solid #ffe58f;
margin-top: 6px;
color: #333;
}
.foot-dialog-feedback {
.el-dialog__body {
padding: 0 !important;
}
}
.footer {
height: 100px;
color: #8097ad;
font-size: 14px;
line-height: 18px;
background: #fff;
padding: 24px 0;
margin-top: 40px;
border-top: #eaf0f9 solid 1px;
}
.foot_logo {
width: 72px;
margin-right: 24px;
}
.foot_a {
margin-top: 2px;
}
.foot_a_item {
margin-right: 20px;
&::after {
content: " ";
display: inline-block;
position: relative;
width: 1px;
height: 14px;
background-color: #8097ad;
right: -10px;
top: 2px;
}
}
.footer a {
color: #8097ad;
text-decoration: none;
}
.footer a:hover {
color: #0082fc;
}
.m-footr {
display: none;
background-color: #fff;
border-top: #eaf0f9 solid 1px;
text-align: center;
font-size: 14px;
padding: 14px 0;
color: #8097ad;
margin-top: 40px;
.footer_row {
padding-bottom: 8px;
}
}
.acol808 {
color: #808696;
&:hover {
color: #0082fc;
}
}
</style>

10
src/store/index.js

@ -13,7 +13,8 @@ export default createStore({
// isShowFooter: true
fr_access_token: "",
fr_appid: "",
fr_uid: ""
fr_uid: "",
userName: "",
},
getters: {
get_token(state) {
@ -34,6 +35,9 @@ export default createStore({
let fr_uid = state.fr_uid || Cookies.get(UidKey) || null;
return encode(`${fr_appid}.${fr_access_token}.${fr_uid}`)
},
get_user_name(state) {
return state.userName;
},
},
mutations: {
@ -61,6 +65,10 @@ export default createStore({
Cookies.remove(expiresTimeKey);
},
set_user_name(state, data){
state.userName = data;
}
},
actions: {
Login({ commit }) {

2
src/views/class/admin/student_admin_class.vue

@ -6,7 +6,7 @@
<el-button type="danger" size="medium" icon="el-icon-delete" @click="handleClose()" class="mrt10">批量删除</el-button>
</li>
<li>
<el-input style="width: 200px; margin-right: 10px" placeholder="uid / 姓名" v-model="kw" @change="handleOption" size="medium" clearable>
<el-input style="width: 200px; margin-right: 10px" placeholder="手机号 / uid / 姓名" v-model="kw" @change="handleOption" size="medium" clearable>
<template #prefix>
<i class="el-input__icon el-icon-search"></i>
</template>

3
src/views/video/video_course.vue

@ -312,6 +312,7 @@
<div id="tab-menu3_box" class="btile flex-1 tab_cur_box">
<h2>课程评论</h2>
<div class="f15 colff4" style="padding-left: 24px;">备注如需提交问题可点击页面右侧按钮 获取帮助-页面反馈</div>
</div>
<div class="comment_box">
<div class="post-box">
@ -634,7 +635,7 @@ export default {
const res = await addComment(courseid, state.postmsg);
if (res.message === "success") {
const newComment = {
uname: state.userInfo.username,
uname: store.getters.get_user_name,
msg: state.postmsg.msg,
fenshu: state.postmsg.fenshu,
ptime: "刚刚",

Loading…
Cancel
Save