|
@@ -10,17 +10,17 @@
|
|
|
<cl-row :gutter="12">
|
|
<cl-row :gutter="12">
|
|
|
<cl-col :span="8">
|
|
<cl-col :span="8">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">1</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">1</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="8">
|
|
<cl-col :span="8">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">2</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">2</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="8">
|
|
<cl-col :span="8">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">3</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">3</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|
|
@@ -28,12 +28,12 @@
|
|
|
<cl-row :gutter="12" :pt="{ className: 'mt-3' }">
|
|
<cl-row :gutter="12" :pt="{ className: 'mt-3' }">
|
|
|
<cl-col :span="12">
|
|
<cl-col :span="12">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">1</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">1</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="12">
|
|
<cl-col :span="12">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">2</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">2</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|
|
@@ -41,22 +41,22 @@
|
|
|
<cl-row :gutter="12" :pt="{ className: 'mt-3' }">
|
|
<cl-row :gutter="12" :pt="{ className: 'mt-3' }">
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">1</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">1</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">2</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">2</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">3</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">3</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">4</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">4</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|
|
@@ -66,17 +66,17 @@
|
|
|
<cl-row :gutter="12">
|
|
<cl-row :gutter="12">
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">1</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">1</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6" :offset="6">
|
|
<cl-col :span="6" :offset="6">
|
|
|
<view class="item active">
|
|
<view class="item active">
|
|
|
- <text class="text">2</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">2</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">3</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">3</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|
|
@@ -86,42 +86,42 @@
|
|
|
<cl-row :gutter="12">
|
|
<cl-row :gutter="12">
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">1</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">1</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">2</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">2</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6" :push="6">
|
|
<cl-col :span="6" :push="6">
|
|
|
<view class="item active">
|
|
<view class="item active">
|
|
|
- <text class="text">3</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">3</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|
|
|
</demo-item>
|
|
</demo-item>
|
|
|
|
|
|
|
|
<demo-item :label="t('左移动')">
|
|
<demo-item :label="t('左移动')">
|
|
|
- <cl-row :gutter="12" :pt="{ className: 'mt-3' }">
|
|
|
|
|
|
|
+ <cl-row :gutter="12">
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">1</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">1</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">2</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">2</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6">
|
|
<cl-col :span="6">
|
|
|
<view class="item">
|
|
<view class="item">
|
|
|
- <text class="text">3</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">3</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
<cl-col :span="6" :pull="6">
|
|
<cl-col :span="6" :pull="6">
|
|
|
<view class="item active">
|
|
<view class="item active">
|
|
|
- <text class="text">4</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">4</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|
|
@@ -131,7 +131,7 @@
|
|
|
<cl-row :gutter="12">
|
|
<cl-row :gutter="12">
|
|
|
<cl-col :span="4" v-for="item in 20" :key="item">
|
|
<cl-col :span="4" v-for="item in 20" :key="item">
|
|
|
<view class="item mb-2">
|
|
<view class="item mb-2">
|
|
|
- <text class="text">{{ item }}</text>
|
|
|
|
|
|
|
+ <cl-text :pt="{ className: 'text' }">{{ item }}</cl-text>
|
|
|
</view>
|
|
</view>
|
|
|
</cl-col>
|
|
</cl-col>
|
|
|
</cl-row>
|
|
</cl-row>
|