12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <template>
- <div class="divs" >
- <img class="imgs" :src="imageUrl + listpar.detailshowImg" alt="">
- </div>
- </template>
- <script>
- import apiurl from "@/api/apiurl/apiurl.js"
- import config from "@/request/config.js";
- export default {
- name: "newsinvite",
- data() {
- return {
- listpar:'',
- // 图片路径地址
- imageUrl: config.ImgUrl,
- };
- },
- created() {
- this.getSong()
- },
- methods: {
- async getSong(){
- let res = await apiurl.entityDataHandles({
- bizCatalog:'CyclePicShowEntity',
- handleMode:'fetch',
- bizId:this.$route.query.id
- })
- console.log(res);
- if(this.$common.verifyAjaxResult(res,false)==false) return;
- this.listpar = res.Result;
- },
- },
- };
- </script>
- <style scoped>
- .imgs {
- width:100%;
- height: auto;
- margin: 0 auto;
- }
- </style>
|