Browse Source

chore: 调整变量命名和README

iven35 3 years ago
parent
commit
f65f159915
3 changed files with 3 additions and 4 deletions
  1. 1 2
      README.md
  2. 1 1
      components/search/search.js
  3. 1 1
      components/search/search.wxml

+ 1 - 2
README.md

@@ -1,5 +1,4 @@
-<h1>Himalayan-lite</h1>
-<img src="https://img.shields.io/badge/wechat-green.svg">
+<h1>Himalayan-lite <img src="https://img.shields.io/badge/wechat-green.svg"> </h1>
 
 
 这是一个模仿 `喜马拉雅lite` 的微信小程序 `demo`, 使用微信小程序原生开发。这是一个初级项目,非常的适合微信小程序开发新手🤹‍♀️,如果你有 `html` `css` `js` 前端基础那么你将很快上手
 这是一个模仿 `喜马拉雅lite` 的微信小程序 `demo`, 使用微信小程序原生开发。这是一个初级项目,非常的适合微信小程序开发新手🤹‍♀️,如果你有 `html` `css` `js` 前端基础那么你将很快上手
 
 

+ 1 - 1
components/search/search.js

@@ -4,7 +4,7 @@ Component({
 			type: Boolean,
 			type: Boolean,
 			value: true
 			value: true
 		},
 		},
-		isshow: {
+		isShow: {
 			type: Boolean,
 			type: Boolean,
 			value: false
 			value: false
 		}
 		}

+ 1 - 1
components/search/search.wxml

@@ -7,5 +7,5 @@
 		<text class="icon-search"></text>
 		<text class="icon-search"></text>
 		<input placeholder="搜索你想听的节目" disabled="{{disabled}}"></input>
 		<input placeholder="搜索你想听的节目" disabled="{{disabled}}"></input>
 	</view>
 	</view>
-	<view class="search-right" wx:if="{{isshow}}">取消</view>
+	<view class="search-right" wx:if="{{isShow}}">取消</view>
 </view>
 </view>