123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <template>
- <view>
- <view class="search">
- <u-icon name="arrow-left"></u-icon>
- <u-search placeholder=" 输入关键字搜索课程" action-text="查询"></u-search>
- </view>
-
- <view class="search-history">
- <view class="head">
- <view class="title">
- 搜索历史
- </view>
- <view class="clear">
- 清空历史
- </view>
-
- </view>
- <view class="content">
- <view class="item">书法</view>
- <view class="item">舞蹈</view>
- </view>
-
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- }
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- page{
- background-color: #fff;
- }
- .search{
- background-color: #fff;
- padding: 16rpx 24rpx;
- display: flex;
- ::v-deep.u-icon--right{
- margin-right: 11px;
- }
- ::v-deep.u-action{
- width: 17.1%;
- text-align: center;
- line-height: 28px;
- border-radius: 50px;
- background-color: rgba(13, 186, 199, 1);
- color: rgba(255, 255, 255, 1);
- }
- ::v-deep.u-content{
- background-color: rgba(240, 244, 250, 1) !important;
- }
- ::v-deep.u-input{
- background-color: rgba(240, 244, 250, 1) !important;
- }
- }
- .search-history{
- margin-top: 20px;
- padding: 0 18px;
- .head{
- display: flex;
- justify-content: space-between;
- align-items: center;
- .title{
- color: #101010;
- }
- .clear{
- color: rgba(169, 169, 169, 1);
- font-size: 12px;
- }
- }
- .content{
- display: flex;
- margin-top: 9px;
- .item{
- width: 150rpx;
- line-height: 66rpx;
- border-radius: 10px;
- background-color: rgba(239, 240, 245, 1);
- color: rgba(88, 88, 88, 1);
- font-size: 12px;
- text-align: center;
- margin-right: 26rpx;
- }
- }
-
- }
- </style>
|