33 lines
605 B
Vue
33 lines
605 B
Vue
<template>
|
|
<view class="nav">
|
|
<text>{{ value }}</text>
|
|
<image src="/static/image/common/1.png"></image>
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name:"navs",
|
|
props: {
|
|
value: String
|
|
}
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
.nav{
|
|
width: 100%;
|
|
height: 100rpx;
|
|
display: flex;
|
|
padding: 30rpx;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 30rpx;
|
|
// margin-bottom: 2rpx;
|
|
border-bottom: 2rpx solid #ececec;
|
|
color:#333;
|
|
background-color: #fff;
|
|
>image{
|
|
width: 13rpx;
|
|
height: 25rpx;
|
|
}
|
|
}
|
|
</style> |