|
@@ -12,7 +12,6 @@ import {
|
|
|
UploadFileInfo,
|
|
|
NImage
|
|
|
} from 'naive-ui';
|
|
|
-
|
|
|
import { useUserStore } from '/src/store/modules/users';
|
|
|
import bgLine from '../images/bg-line.png';
|
|
|
import chioseAdd from '../images/chioseAdd.png';
|
|
@@ -29,7 +28,9 @@ import {
|
|
|
getSuggestionList,
|
|
|
sysParamConfigPage
|
|
|
} from '../modals/api';
|
|
|
-import { nextTick } from 'process';
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'train-update',
|
|
@@ -209,27 +210,15 @@ export default defineComponent({
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- const imglist = [inFront,inBack,submitBtn,sealing,boxBg]
|
|
|
- const loadImg = (imgList:any) => {
|
|
|
- for (let i = 0; i < imgList.length; i++) {
|
|
|
- const img = new Image()
|
|
|
- // let currentSrc = ''
|
|
|
- img.src = imgList[i]
|
|
|
- img.onload = function (e) {
|
|
|
- console.log('加载完毕', e,img.complete );
|
|
|
- }
|
|
|
- img.onerror = function (e) {
|
|
|
- console.log('加载错误', e);
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- loadImg(imglist)
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
+
|
|
|
getTypeList();
|
|
|
getPhoneInfo();
|
|
|
});
|
|
|
return () => (
|
|
|
<div class={[styles.suggestOption]}>
|
|
|
+
|
|
|
<div class={[styles.updatePassword,isubmit.value?styles.isAni:'',ishidden.value?styles.isend:null]}>
|
|
|
<div class={[styles.formWrap,isubmit.value?styles.isAni:'']}>
|
|
|
<NImage
|
|
@@ -343,11 +332,11 @@ export default defineComponent({
|
|
|
</NForm>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class={[styles.inBack,isubmit.value?styles.isAni:'']}>
|
|
|
+ <div class={[styles.inBack,isubmit.value?styles.isAni:'']} id='inBack'>
|
|
|
|
|
|
</div>
|
|
|
{/* <div class={styles.inBackBottom}></div> boxBg */}
|
|
|
- <NImage src={boxBg} class={styles.inBackBottom} previewDisabled></NImage>
|
|
|
+ <NImage src={boxBg} class={styles.inBackBottom} previewDisabled></NImage>
|
|
|
<NImage src={inFront} class={styles.inFront} previewDisabled></NImage>
|
|
|
<NImage src={sealing} class={[styles.sealing,isubmit.value?styles.isAni:'']} previewDisabled></NImage>
|
|
|
{!isubmit.value?<>
|
|
@@ -359,8 +348,7 @@ export default defineComponent({
|
|
|
</>:null}
|
|
|
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
- );
|
|
|
+ )
|
|
|
}
|
|
|
});
|