vant 图片地址问题 调用远程图片问题

返回数据

        data() {
            return {
                color: '#ff0000', //颜色拾取器
                active: 'work',
                show: false,


                goods: [],
                weburl :'http://h5.zdztb.com',


                id: this.$route.params.id, // 页面传值:商品ID

            };
        },

 

 接口数据

{"success":true,"data":{"0":{"id":"1","username":"alen","uid":"1","cid":null,"title":"蓝色底白色六边形","bj":"/upload/h5list/20200514/1589424611704482.jpg","pic":"/upload/h5list/20200514/1589424611704482-m.jpg","status":"2","created_at":"1588929574","updated_at":"1589447454"},"info":[{"id":"1","username":"alen","uid":"1","cid":"1","content":"其实自宫也未必有用","img":"","font":"雅黑","x":"100","y":"200","color":"ffffff","size":"18","quality":"100","created_at":"1588930525","updated_at":"1589000994"},{"id":"2","username":"alen","uid":"1","cid":"1","content":"梦想从这里起航梦想从这里起航梦想从这里起航 ","img":"","font":"雅黑","x":"50","y":"100","color":"ffff00","size":"20","quality":"100","created_at":"1588993581","updated_at":"1589002793"},{"id":"3","username":"alen","uid":"1","cid":"1","content":"在这里添加信息","img":"/upload/h5info/20200514/1589447446122815.jpg","font":"雅黑","x":"30","y":"30","color":"FFFFFF","size":null,"quality":null,"created_at":"1589001612","updated_at":"1589447448"}]}}

 

你可能感兴趣的:(vant)