|
@@ -6,10 +6,7 @@
|
|
|
</view>
|
|
|
<scroll-view class="demo-scroll-view" scroll-y="true">
|
|
|
<view class="content-view">
|
|
|
- <view class="lli-tc demo-title">------------uni带的primary按钮-------------</view>
|
|
|
- <button type="primary">页面主操作 Normal</button>
|
|
|
- <button type="primary" loading="true">页面主操作 Loading</button>
|
|
|
- <button type="primary" disabled="true">页面主操作 Disabled</button>
|
|
|
+
|
|
|
<view class="lli-tc demo-title">------------咱们要用的默认按钮↓-------------</view>
|
|
|
<button class="lli-btn">页面次要操作 Normal</button>
|
|
|
<button class="lli-btn" loading="true" >页面主操作 Loading</button>
|
|
@@ -59,6 +56,11 @@
|
|
|
.content-view{padding: 24px;box-sizing: border-box;}
|
|
|
.demo-title{margin: 24px 0 10px;}
|
|
|
}
|
|
|
-
|
|
|
+ /* 小程序UI开发规范 */
|
|
|
+ /* 1.第一版没有UI,用手机单机版的UI开发,尽可能保持一致
|
|
|
+ 2.页面中样式第一版都先写到底部style中
|
|
|
+ 2.扩展组件:已重置样式,可以直接用
|
|
|
+ 3.内置组件:如果是有颜色的,需要添加color="#0550e5"(后期会改成动态的,第一版先这么加),btn也可以用demo写好的
|
|
|
+ 4.自己写的样式尽量只用view,text标签,使用类选择器不要使用标签选择器 */
|
|
|
</style>
|
|
|
|