shop-applet/components/content-bootom/index.vue

63 lines
873 B
Vue

<template>
<view class="returnbom">
<view class="z-bootm">
<view class="z-bootm-img">
<image src="@/static/tabbar_icon/a-a.png" mode="aspectFit"></image>
</view>
<view class="" @click="returnbom">返回首页</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
returnbom() {
uni.reLaunch({
url: '/pages/index/index'
})
}
}
}
</script>
<style lang="scss">
.returnbom {
height: 130rpx;
background: #FFFFFF;
border-radius: 32rpx 32rpx 0px 0px;
padding-top: 50rpx;
}
.z-bootm {
width: 180rpx;
margin: 0 auto;
display: flex;
.z-bootm-img {
width: 46rpx;
height: 46rpx;
image {
width: 100%;
height: 100%;
}
}
font-size: 30rpx;
font-family: PingFang SC-Regular,
PingFang SC;
font-weight: 400;
color: #333333;
}
</style>