球星卡微信小程序
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.
 
 
 
 

93 lines
1.9 KiB

<template>
<view class="flex-col page">
<view class="flex-col section_2">
<view class="flex-col section_3">
<view class="justify-between search">
<u-input class="search-input" v-model="value" :focus="inputFocus" @focus="focusEvent" @blur="blurEvent" placeholder="请输入评级编号" border="surround" :clearable="true" ></u-input>
<view class="flex-col items-center text-wrapper" @click="search">
<text>搜索</text>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
value: '',
inputFocus: true
};
},
methods: {
search(){
console.log('搜索', this.value);
this.$url('/packages/ratingQueryDetail/ratingQueryDetail');
},
focusEvent(){
this.inputFocus = true;
},
blurEvent(){
this.inputFocus = false;
}
}
};
</script>
<style scoped lang="css">
.page {
background-color: #f6f6f6;
width: 100%;
overflow-y: auto;
height: 100%;
}
.search-input{
width: 492rpx;
height: 84rpx;
}
.section_2 {
padding: 32rpx 32rpx 16rpx;
flex: 1 1 auto;
background-color: rgb(255, 255, 255);
overflow-y: auto;
}
.section_3 {
padding: 6rpx 0;
background-color: rgb(246, 246, 246);
border-radius: 10rpx;
}
.search {
margin-left: 31rpx;
margin-right: 6rpx;
}
.group_4 {
align-self: center;
color: rgb(195, 195, 195);
font-size: 28rpx;
font-weight: 500;
line-height: 40rpx;
white-space: nowrap;
}
.text-wrapper {
padding: 20rpx 0;
color: rgb(255, 255, 255);
font-size: 32rpx;
font-weight: 500;
line-height: 44rpx;
white-space: nowrap;
background-color: rgb(231, 162, 63);
border-radius: 6rpx;
width: 130rpx;
height: 84rpx;
}
.image_6 {
margin-bottom: 4rpx;
width: 37rpx;
height: 34rpx;
}
.text_2 {
margin-left: 10rpx;
}
</style>