Skip to content

Commit 2412235

Browse files
authored
chore: 发布版本 0.8.11
2 parents a8c8769 + a2c23ce commit 2412235

File tree

162 files changed

+193
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+193
-192
lines changed

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,32 @@
2626
</a>
2727
</div>
2828

29+
---
2930

3031

32+
:collision::collision::collision:**林间有风团队招人啦**:collision::collision::collision:
33+
34+
林间有风是一个致力于让 Web 开发变得简单而优雅的开源团队。
35+
目前团队的两款产品 Lin CMS 和 Lin UI 在 Github Star 均为 2000+,团队成员大多就职于各互联网大厂,团队 Leader 七月有着十年研发及团队管理经验,目前为慕课网知名讲师。
36+
37+
我们希望你:
38+
1. 真正热爱开源,热爱编程,对开源有自己的理解
39+
2. 熟悉微信小程序官网文档和开发规范
40+
3. 熟悉 JavaScript、ES6、Vue 等前端相关生态
41+
4. 如果上述技术栈和你不符,但你仍然很热爱开源的话,我们也欢迎你的加入
42+
43+
你将得到的:
44+
1. 参与大型开源项目的开发,学习团队如何严格的遵循开发规范,并享受帮助其他开发者的乐趣。
45+
2. 从一名普通“码农”变成真正的开发者,从枯燥的业务开发中抽身,站在更底层的角度思考问题。
46+
3. 为你的简历增光添彩,一个优秀的开源项目能为你本身的能力背书,在求职时也是非常亮眼的一点
47+
48+
:mailbox:简历投递邮箱:[email protected],主题格式 林间有风+姓名+学生/在职
49+
50+
---
51+
3152
## 目录
3253

54+
- [目录](#目录)
3355
- [简介](#简介)
3456
- [快速上手](#快速上手)
3557
- [安装](#安装)
@@ -70,7 +92,7 @@ Lin UI 是一套基于 **微信小程序原生语法** 实现的高质量 UI 组
7092
7193
4. 构建 NPM 模块
7294
微信开发者工具配置完成以后,还需进行一次 NPM 模块的构建
73-
95+
7496
> 按钮位置:微信开发者工具顶部 -> 工具 -> 构建 npm
7597
7698
> **若你本地没有 Node.js 环境,无法使用 NPM 安装,则可以采用[源码方式安装](https://doc.mini.talelin.com/start/#方式二:下载代码)**
@@ -79,7 +101,7 @@ Lin UI 是一套基于 **微信小程序原生语法** 实现的高质量 UI 组
79101
1. 配置微信开发者工具
80102

81103
要正确使用 Lin UI,需将微信开发者工具的 `Es6 转 ES5``增强编译` 选项勾选上
82-
104+
83105
> 设置路径:微信开发者工具右上角 -> 详情 -> 本地设置
84106
2. 在页面中引入
85107
```json
@@ -113,4 +135,4 @@ Lin UI 是一套基于 **微信小程序原生语法** 实现的高质量 UI 组
113135

114136
## 开源协议
115137

116-
[MIT](LICENSE) © 2020 林间有风
138+
[MIT](LICENSE) © 2020 林间有风

dist/album/index.wxml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<wxs src="index.wxs" module="album"></wxs>
2-
<view style="{{album.gridStyle(gapRow, gapColumn, multipleSize, everyRowNumber)}}">
2+
3+
<view style="display:flex">
4+
<view style="{{album.gridStyle(gapRow, gapColumn, multipleSize, everyRowNumber)}}">
35
<block wx:for="{{showUrls}}" wx:key="index" class="child">
4-
<view class="imageContainer {{album.dimBack(isLong, index, maxNumber, previewFullImage)}}" style="{{album.blockStyle(urls, horizontalScreen, shortSideValue, singleSize, multipleSize)}}">
5-
<image class="{{album.dim(isLong, index, maxNumber, previewFullImage)}}}" id="{{index}}" bind:tap="onPreviewTap" style="{{album.blockStyle(urls, horizontalScreen, shortSideValue, singleSize, multipleSize)}}" src="{{newType?item[key]:item}}" mode="{{urls.length === 1?singleMode:multipleMode}}"/>
6-
<view wx:if="{{album.image(isLong, index, maxNumber, previewFullImage)}}" class="text">+{{urls.length-maxNumber}}</view>
7-
</view>
6+
<view class="imageContainer {{album.dimBack(isLong, index, maxNumber, previewFullImage)}}" style="{{album.blockStyle(urls, horizontalScreen, shortSideValue, singleSize, multipleSize)}}">
7+
<image class="{{album.dim(isLong, index, maxNumber, previewFullImage)}}}" id="{{index}}" bind:tap="onPreviewTap" style="{{album.blockStyle(urls, horizontalScreen, shortSideValue, singleSize, multipleSize)}}" src="{{newType?item[key]:item}}" mode="{{urls.length === 1?singleMode:multipleMode}}"/>
8+
<view wx:if="{{album.image(isLong, index, maxNumber, previewFullImage)}}" class="text">+{{urls.length-maxNumber}}</view>
9+
</view>
810
</block>
11+
</view>
912
</view>
-43 Bytes
Loading
-32 Bytes
Loading
-42 Bytes
Loading
-46 Bytes
Loading

dist/counter/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/counter/index.wxml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<view class="l-class container-count">
2-
<view class="symbol {{result<=min|| disabled?'disabled l-disabled-class':'abled l-symbol-class'}}" catchtap="{{result<=min|| disabled?'doNothing':'reduceTap'}}" data-type="overflow_min" hover-class="{{isHover?'count-hover':''}}">
2+
<view class="symbol {{count<=min|| disabled?'disabled l-disabled-class':'abled l-symbol-class'}}" catchtap="{{count<=min|| disabled?'doNothing':'onTapChange'}}" data-type="overflow_min" data-change-type="reduce" hover-class="{{isHover?'count-hover':''}}">
33
<view class="l-icon l-icon-reduce" style="font-size:{{iconSize}};color:{{iconColor}}"></view>
44
</view>
5-
<input wx:if="{{focus}}" class="l-count-class count" disabled="{{disabled}}" type="number" focus="{{focus}}" value="{{result}}" bind:input="onInput" bindblur="onBlur"/>
6-
<view wx:else class="l-count-class count" mut-bind:tap="onCount">{{result}}</view>
7-
<view class="l-symbol-class symbol {{result>=max|| disabled?'disabled l-disabled-class':'abled l-symbol-class'}}" catchtap="{{result>=max|| disabled?'doNothing':'addTap'}}" data-type="overflow_max" hover-class="{{isHover?'count-hover':''}}">
5+
<input hidden="{{!focus}}" class="l-count-class count" disabled="{{disabled}}" type="number" focus="{{focus}}" value="{{count}}" bind:input="onInput" bindblur="onBlur"/>
6+
<view hidden="{{focus}}" class="l-count-class count" mut-bind:tap="onCount">{{count}}</view>
7+
<view class="l-symbol-class symbol {{count>=max|| disabled?'disabled l-disabled-class':'abled l-symbol-class'}}" catchtap="{{count>=max|| disabled?'doNothing':'onTapChange'}}" data-type="overflow_max" data-change-type="add" hover-class="{{isHover?'count-hover':''}}">
88
<view class="l-icon l-icon-add" style="font-size:{{iconSize}};color:{{iconColor}}"></view>
99
</view>
1010
</view>

dist/index-list/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)