congzc 1 年之前
父節點
當前提交
9960c99c4a
共有 2 個文件被更改,包括 14 次插入5 次删除
  1. +2
    -2
      src/views/createVideo/index.vue
  2. +12
    -3
      src/views/myAccount/index.vue

+ 2
- 2
src/views/createVideo/index.vue 查看文件

@@ -245,7 +245,7 @@
</div> </div>
<!-- 右侧栏 --> <!-- 右侧栏 -->
<div class="right"> <div class="right">
<div class="subscript">
<div v-if="AccessToken" class="subscript">
<span>GPT</span> <span>GPT</span>
<img src="../../assets/img/star.png" alt="" /> <img src="../../assets/img/star.png" alt="" />
</div> </div>
@@ -1881,7 +1881,7 @@ onMounted(async () => {
.subscript { .subscript {
position: absolute; position: absolute;
top: 30px; top: 30px;
right: 30px;
right: 45px;
width: 40px; width: 40px;
height: 40px; height: 40px;
z-index: 3; z-index: 3;


+ 12
- 3
src/views/myAccount/index.vue 查看文件

@@ -26,7 +26,7 @@
<span <span
class="password pointer" class="password pointer"
style="margin-right: 10px" style="margin-right: 10px"
@click="router.push({ name: 'login', params: { type: 4 } })"
@click.stop="resetPassWord"
>{{ $t("account.reSetPwd") }}</span >{{ $t("account.reSetPwd") }}</span
> >
</div> </div>
@@ -231,6 +231,10 @@ const userNameinput = ref(null); //用户名输入框绑定
const dialogAvatarUrl = ref(null); //图片回显地址 const dialogAvatarUrl = ref(null); //图片回显地址
const dialogAvatarData = ref(null); //图片上传数据 const dialogAvatarData = ref(null); //图片上传数据
const infoDialogLoad = ref(false); //load效果 const infoDialogLoad = ref(false); //load效果
// 去重置密码
function resetPassWord() {
router.push({ name: "login", params: { type: 4 } });
}
// 选择图片 // 选择图片
async function chooseImg(e) { async function chooseImg(e) {
if (e.target.files[0]) { if (e.target.files[0]) {
@@ -518,18 +522,23 @@ function routerTo(url) {
position: relative; position: relative;
height: 200px; height: 200px;
overflow: hidden; overflow: hidden;
&:hover {
.mask {
display: block;
}
}
.mask { .mask {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
display: none;
width: 100%; width: 100%;
height: 100%; height: 100%;
line-height: 780px; line-height: 780px;
font-size: 120px; font-size: 120px;
font-weight: 900; font-weight: 900;
text-align: center; text-align: center;
background-color: rgba(0, 0, 0, 0.5);

background-color: rgba(0, 0, 0, 0.3);
z-index: 9; z-index: 9;
.title { .title {
position: absolute; position: absolute;


Loading…
取消
儲存