|
@@ -4,7 +4,7 @@
|
|
|
<!-- {/* <i class={styles.iconClose} onClick={() => emit('close')}></i> */} -->
|
|
|
<div class="authContent">
|
|
|
<div class="steps">
|
|
|
- <div ref="scrollbarRef">
|
|
|
+ <div class="scrollbarRef">
|
|
|
<div v-if="brower.ios">
|
|
|
<div v-if="step === 1">
|
|
|
<div class="step">
|
|
@@ -27,7 +27,7 @@
|
|
|
双击<span>《安全证书.p12》</span>
|
|
|
,输入钥匙串密码 ,点击
|
|
|
<span>【修改钥匙串】</span>
|
|
|
- <span styl="font-weight: 400; color: #777">
|
|
|
+ <span style=" color: #777">
|
|
|
(若无此步骤则忽略)
|
|
|
</span>
|
|
|
</p>
|
|
@@ -45,7 +45,7 @@
|
|
|
<p class="txt">
|
|
|
输入证书密码:
|
|
|
<span class="red" style="text-decoration: underline">
|
|
|
- colexiu.com
|
|
|
+ dayaedu.com
|
|
|
</span>
|
|
|
,点击
|
|
|
<span>【好】</span>
|
|
@@ -63,7 +63,7 @@
|
|
|
<p class="txt">
|
|
|
<span class="red">重启浏览器</span>
|
|
|
(在电脑屏幕左上方选择当前浏览器并点击
|
|
|
- <span>【退出】</span>),再重新打开音乐数字课堂网址
|
|
|
+ <span>【退出】</span>),再重新打开管乐迷后台网址
|
|
|
</p>
|
|
|
<div class="imgs">
|
|
|
<img src="./images/mac/3.png" class="m3" />
|
|
@@ -89,7 +89,7 @@
|
|
|
<div class="stepContent">
|
|
|
<p class="txt">
|
|
|
输入您的电脑密码,点击<span>【始终允许】</span>
|
|
|
- <span style="font-weight: 400; color: #777">
|
|
|
+ <span style="color: #777;">
|
|
|
(若无此步骤则忽略)
|
|
|
</span>
|
|
|
</p>
|
|
@@ -101,7 +101,7 @@
|
|
|
<div class="step">
|
|
|
<div class="stepNum">07</div>
|
|
|
<div class="stepContent">
|
|
|
- <p class="txt">证书安装完成,开始使用音乐数字课堂吧!</p>
|
|
|
+ <p class="txt">证书安装完成,开始使用管乐迷后台吧!</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -191,7 +191,7 @@
|
|
|
<div class="stepContent">
|
|
|
<p class="txt">
|
|
|
<span class="red">重启浏览器</span>
|
|
|
- ,打开音乐数字课堂网址
|
|
|
+ ,打开管乐迷后台网址
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -201,7 +201,7 @@
|
|
|
<div class="stepContent">
|
|
|
<p class="txt">
|
|
|
在【选择证书】弹窗中点击<span>【确定】</span>
|
|
|
- 按钮,证书安装完成,开始使用音乐数字课堂吧!
|
|
|
+ 按钮,证书安装完成,开始使用管乐迷后台吧!
|
|
|
</p>
|
|
|
<img src="./images/window/7.png" class="w7" />
|
|
|
</div>
|
|
@@ -215,26 +215,11 @@
|
|
|
<div
|
|
|
class="btn btnUp"
|
|
|
:style="{ cursor: step <= 1 ? 'not-allowed' : 'pointer' }"
|
|
|
- @click="
|
|
|
- () => {
|
|
|
- if (step <= 1) return;
|
|
|
- step -= 1;
|
|
|
- // scrollbarRef.value.scrollTo({ top: 0, left: 0 })
|
|
|
- }
|
|
|
- "
|
|
|
+ @click="changeUpDown('up')"
|
|
|
></div>
|
|
|
<div
|
|
|
:class="['btn', 'btnDown', step === maxStep && 'btnDone']"
|
|
|
- @click="
|
|
|
- () => {
|
|
|
- if (step >= maxStep) {
|
|
|
- emit('close');
|
|
|
- } else {
|
|
|
- step += 1;
|
|
|
- }
|
|
|
- // scrollbarRef.value.scrollTo({ top: 0, left: 0 })
|
|
|
- }
|
|
|
- "
|
|
|
+ @click="changeUpDown('down')"
|
|
|
></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -242,21 +227,36 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { browser } from "@/common/common";
|
|
|
+import { browser } from "@/utils";
|
|
|
export default {
|
|
|
- data: {
|
|
|
- browser: browser(),
|
|
|
- step: 1,
|
|
|
- maxStep: browser().ios ? 5 : 7
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ brower: browser() || {},
|
|
|
+ step: 1,
|
|
|
+ maxStep: browser().ios ? 5 : 7
|
|
|
+ };
|
|
|
},
|
|
|
methods: {
|
|
|
+ changeUpDown(type) {
|
|
|
+ if (type === "up") {
|
|
|
+ if (this.step <= 1) return;
|
|
|
+ this.step -= 1;
|
|
|
+ } else if (type === "down") {
|
|
|
+ if (this.step >= this.maxStep) {
|
|
|
+ this.$listeners.close();
|
|
|
+ } else {
|
|
|
+ this.step += 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ document.querySelector(".scrollbarRef").scrollTo(0, 0);
|
|
|
+ },
|
|
|
onDownload() {
|
|
|
const isMac = (function() {
|
|
|
return /macintosh|mac os x/i.test(navigator.userAgent);
|
|
|
})();
|
|
|
if (isMac) {
|
|
|
window.open(
|
|
|
- `https://oss.dayaedu.com/https-ssl/安全证书.p12?v=${new Date().getTime()}`
|
|
|
+ `https://oss.dayaedu.com/https-ssl/gym/安全证书.p12?v=${new Date().getTime()}`
|
|
|
);
|
|
|
} else {
|
|
|
window.open("https://oss.dayaedu.com/https-ssl/安全证书.pfx");
|
|
@@ -298,7 +298,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
.authContent {
|
|
|
- background: linear-gradient(180deg, #e1f8ff 0%, #bbe7fd 100%);
|
|
|
+ // background: linear-gradient(180deg, #e1f8ff 0%, #bbe7fd 100%);
|
|
|
+ background: linear-gradient(180deg, #d3ede8 0%, #cff5fa 100%);
|
|
|
border-radius: 0 0 23px 23px;
|
|
|
}
|
|
|
|
|
@@ -310,17 +311,21 @@ export default {
|
|
|
180deg,
|
|
|
rgba(255, 255, 255, 0.7) 0%,
|
|
|
rgba(255, 255, 255, 0.7) 88%,
|
|
|
- #cdf0ff 100%
|
|
|
+ #c0e7eb 100%
|
|
|
);
|
|
|
- border-radius: 23px;
|
|
|
+ border-radius: 18px;
|
|
|
border: 1px solid #ffffff;
|
|
|
|
|
|
- :global {
|
|
|
- .n-scrollbar {
|
|
|
- margin: 0 0 25px;
|
|
|
- padding: 14px 25px 25px;
|
|
|
- min-height: calc(55vh - 28px);
|
|
|
- max-height: calc(55vh - 28px);
|
|
|
+ .scrollbarRef {
|
|
|
+ margin: 0 0 25px;
|
|
|
+ padding: 14px 25px 25px;
|
|
|
+ min-height: calc(55vh - 28px);
|
|
|
+ max-height: calc(55vh - 28px);
|
|
|
+ overflow-x: hidden;
|
|
|
+ overflow-y: auto;
|
|
|
+
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ display: none;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -337,7 +342,7 @@ export default {
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
text-align: center;
|
|
|
- background: #b9eaff;
|
|
|
+ background: #c1ece8;
|
|
|
border: 1px solid #ffffff;
|
|
|
font-size: 14px;
|
|
|
font-weight: 600;
|
|
@@ -356,7 +361,7 @@ export default {
|
|
|
line-height: 33px;
|
|
|
|
|
|
span {
|
|
|
- color: #1f6dec;
|
|
|
+ color: #14928a;
|
|
|
}
|
|
|
|
|
|
.red {
|