//分为三种

//第一种
<image :src="require('../../static/picture')">   //使用v-bind + require

  

//第二种
//第一种可以解决99%的问题,若有1%的没解决,可以使用background-image属性
background-image:url(../../static/picture.png);

//使用图片的最好是,本地图片使用背景图,万无一失,网络图片使用image src。

 

 

//uniapp 打开manifest.json,使用源码视图,新增下面代码
	"h5": {
		"publicPath": "./",
		"async": {
			"base": "./",
			"delay": 600000,
			"timeout": 600000
		},
	
	},

  

posted on 2020-01-15 19:26  随心的博客  阅读(33216)  评论(0编辑  收藏  举报