Commit cf7de6dc by 程智春

加载

parent e46291a5
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
<template> <template>
<div> <div>
<web-view :src="pageUrl" @error="handleError"></web-view> <web-view :src="pageUrl" @error="handleError"></web-view>
<div style="width:100%;height:90vh;display:flex;justify-content: center;align-items: center;">
<van-loading size="40px" type="spinner"></van-loading>
</div>
</div> </div>
</template> </template>
......
{ {
"usingComponents": {
"van-loading": "/static/vant/loading/index"
}
} }
\ No newline at end of file
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<template> <template>
<div> <div>
<web-view :src="pageUrl" @error="handleError"></web-view> <web-view :src="pageUrl" @error="handleError"></web-view>
<div style="width:100%;height:90vh;display:flex;justify-content: center;align-items: center;">
<van-loading size="40px" type="spinner"></van-loading>
</div>
</div> </div>
</template> </template>
......
{ {
"usingComponents": {
"van-loading": "/static/vant/loading/index"
}
} }
\ No newline at end of file
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<template> <template>
<div> <div>
<web-view :src="pageUrl" @error="handleError"></web-view> <web-view :src="pageUrl" @error="handleError"></web-view>
<div style="width:100%;height:90vh;display:flex;justify-content: center;align-items: center;">
<van-loading size="40px" type="spinner"></van-loading>
</div>
</div> </div>
</template> </template>
......
{ {
"usingComponents": {
"van-loading": "/static/vant/loading/index"
}
} }
\ No newline at end of file
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
<template> <template>
<div> <div>
<web-view :src="pageUrl" @error="handleError"></web-view> <web-view :src="pageUrl" @error="handleError"></web-view>
<div style="width:100%;height:90vh;display:flex;justify-content: center;align-items: center;">
<van-loading size="40px" type="spinner"></van-loading>
</div>
</div> </div>
</template> </template>
......
{ {
"usingComponents": {
"van-loading": "/static/vant/loading/index"
}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment