mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-06 17:36:46 +08:00
Merge branch 'develop' into manage-release
This commit is contained in:
1
.env
1
.env
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user