nurseWeChatAppletUI/pages/customerservice/customerservice.vue
2023-02-22 10:24:18 +08:00

39 lines
536 B
Vue

<template>
<view class="app">
<image src="../../static/kefuzx.jpg" mode="" @tap='lookImg'></image>
</view>
</template>
<script>
export default {
data() {
return {
imageUrl: ['../../static/kefuzx.jpg']
};
},
methods: {
lookImg() {
console.log(1)
uni.previewImage({
current: 0,
urls: this.imageUrl
})
},
}
}
</script>
<style lang="scss">
.app {
width: 100%;
height: 100vh;
padding: 0;
background-color: #000000;
image {
width: 100%;
height: 1300rpx;
}
}
</style>