/** * @Author Sean * @Date 2019/5/14 */ <template> <h-view class="public-style" style="height: 100%"> <h-content> <div class="esign-wrap" v-for="(list,index) in pirtureList"> <img :src="list.pic"> </div> </h-content> </h-view> </template> <script> export default { data() { return { pirtureList:this.$route.params.pirtureList /* pirtureList:[ {"pic":"http://hlsapp.hand-china.com/file/esign/1234/temp/temp_1.png"}, {"pic":"http://hlsapp.hand-china.com/file/esign/1234/temp/temp_2.png"}, {"pic":"http://hlsapp.hand-china.com/file/esign/1234/temp/temp_3.png"}, {"pic":"http://hlsapp.hand-china.com/file/esign/1234/temp/temp_4.png"} ]*/ } }, created: function () { }, mounted: function () { }, updated: function () { }, destroyed: function () { }, methods: {} } </script> <style scoped lang="less" rel="stylesheet"> .public-style { .content { img{ width: 100%; } } } </style>