fuint-uniapp-master/components/search/index.vue
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<!-- 搜索框 -->
<view class="search-wrapper">
<view class="index-search" @click="onClick">
<view class="index-cont-search t-c">
<text class="search-icon iconfont icon-sousuo"></text>
<text class="search-text">{{ tips }}</text>
</view>
</view>
</view>
</template>
<script>
export default {
props: {
tips: {
type: String,
default: '搜索关键字'
},
itemStyle: Object,
},
data() {
return {}
},
methods: {
onClick() {
this.$emit('event')
}
}
}
</script>
<style lang="scss" scoped>
.search-wrapper {
background: #fff;
padding: 13rpx;
display: block;
/* #ifdef H5 */
margin-top: 20rpx;
/* #endif */
}
.index-search {
border-bottom: 0;
background: #fff;
border-radius: 10rpx;
overflow: hidden;
font-size: 28rpx;
color: #6d6d6d;
box-sizing: border-box;
height: 82rpx;
line-height: 82rpx;
border: solid 1rpx #CCCCCC;
text-align: left;
display: block;
margin-top: 10rpx;
.index-cont-search {
width: 100%;
font-size: 30rpx;
后面还有 18 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。