You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
757 B

<template>
<view class="" style="font-size: 0;" @click="toList">
2 months ago
<image class="bannerImg" mode="aspectFill" :src="img"> </image>
</view>
</template>
<script>
export default{
2 months ago
data(){
return{
img:''
}
},
onLoad() {
this.getList()
},
methods:{
2 months ago
getList() {
let address = uni.getStorageSync('SYS_ADDRESS_INFO')
let code = ''
if(address){
code = JSON.parse(address).cityId
}
this.Post({
cityId:code
},
"/framework/index/getUrl",
'DES'
).then((res) => {
this.img = res.msg
});
},
toList(){
uni.navigateTo({
url:'/subPackages/equityGoods/list'
})
}
}
}
</script>
<style lang="scss" scoped>
.bannerImg{
width: 100vw;
height: 100vh;
}
</style>