1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <template>
- <view class="lli-demo-page">
- <uni-search-bar class="uni-mt-10" radius="100" placeholder="请输入考试名称" bgColor="#F3F3F4" clearButton="auto" cancelButton="none" @confirm="search"/>
- <view class="lli-status-box">
- <span class="click">可以考试</span><span>已结束</span>
- </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>
- <button class="lli-btn" disabled="true" >页面次要操作 Disabled</button>
- <view class="lli-tc demo-title">---------咱们要用的按钮plain(线性)↓----------</view>
- <button class="lli-btn" plain="true">页面次要操作 Normal</button>
- <button class="lli-btn" loading="true" plain="true">页面主操作 Loading</button>
- <button class="lli-btn" disabled="true" plain="true">页面次要操作 Disabled</button>
- <view class="lli-tc demo-title">------------其他组件定义color="#0550e5"-------------</view>
- <checkbox-group>
- <label>
- <checkbox value="cb" checked="true" color="#0550e5"/>选中
- </label>
- <label>
- <checkbox value="cb" />未选中
- </label>
- </checkbox-group>
- </view>
- </scroll-view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- }
- },
- methods: {
- search:function(){},
- }
- }
- </script>
- <style lang="scss">
- .lli-demo-page{
- display: flex;flex-direction: column;
- height: 100vh;padding-bottom: 60rpx;box-sizing: border-box;
- .demo-scroll-view{
- overflow-y: auto;flex: 1;
- }
- .content-view{padding: 24px;box-sizing: border-box;}
- .demo-title{margin: 24px 0 10px;}
- }
-
- </style>
|