Merge branch 'develop' into manage-release

This commit is contained in:
wyx
2023-03-06 14:38:33 +08:00
2 changed files with 6 additions and 4 deletions

1
.env
View File

@@ -3,6 +3,7 @@ VITE_BASE_H5=/fe-student-h5
VITE_BASE_API=
VITE_OUTPUT_DIR=./dist
VITE_FILE_PATH=/upload/
VITE_FILE_PATH_AVATAR=/upload
VITE_BASE_LOGIN_URL=//u-pre.boe.com/web/
VITE_PROXY_URL=http://43.143.139.204/manageApi

View File

@@ -118,7 +118,7 @@
<div
class="imgone"
:style="{
backgroundImage: `url('${img.url}')`,
backgroundImage: `url('${fielPath}${img.url}')`,
marginLeft: '15px',
}"
></div>
@@ -156,7 +156,7 @@
</div>
<div style="display:flex;margin-top: 12px;margin-bottom: 12px;">
<div v-if="row.img" v-for="(rowimg, index) in row.img.split(',')" :key="index" style="width:55px;height:55px;margin-right: 12px;">
<img class="image" style="width:55px;height:55px;border-radius: 4px;" :src="rowimg" />
<img class="image" style="width:55px;height:55px;border-radius: 4px;" :src="fielPath+rowimg" />
</div>
</div>
<div class="intime">{{ row.ctime }}</div>
@@ -193,7 +193,7 @@
</div>
<div style="display:flex;margin-top: 12px;margin-bottom: 12px;">
<div v-if="replay.img" v-for="(rowimg, index) in replay.img.split(',')" :key="index" style="width:65px;height:65px;margin-right: 7px;">
<img class="image" style="width:65px;height:65px;border-radius: 4px;" :src="rowimg" />
<img class="image" style="width:65px;height:65px;border-radius: 4px;" :src="fielPath+rowimg" />
</div>
</div>
<div class="mainreply">
@@ -263,7 +263,7 @@
<div
class="imgone"
:style="{
backgroundImage: `url('${img.url}')`,
backgroundImage: `url('${fielPath}${img.url}')`,
marginLeft: '15px',
}"
></div>
@@ -324,6 +324,7 @@ import UploadPostImg from "@/components/img/UploadPostImg.vue";
const router = useRouter();
const refInput =ref()
const fielPath = ref(import.meta.env.VITE_FILE_PATH_AVATAR);
const getFocus = () => {
refInput.value.focus()
}