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
767 B
48 lines
767 B
|
|
<template>
|
|
<view class="" style="font-size: 0;" @click="toList">
|
|
<image class="bannerImg" mode="aspectFill" :src="img"> </image>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default{
|
|
data(){
|
|
return{
|
|
img:''
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.getList()
|
|
},
|
|
methods:{
|
|
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.data.imageUrl
|
|
});
|
|
},
|
|
toList(){
|
|
uni.navigateTo({
|
|
url:'/subPackages/equityGoods/list'
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.bannerImg{
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
</style>
|