-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fd0241
commit c71c4ee
Showing
1,016 changed files
with
59,993 additions
and
47,934 deletions.
There are no files selected for viewing
32 changes: 16 additions & 16 deletions
32
...rogram/miniprogram_npm/no-data/no-data.js → miniprogram/components/no-data/no-data.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Component({ | ||
properties: { | ||
text: { | ||
type: String, | ||
value: '暂无数据', | ||
}, | ||
desc: { | ||
type: String, | ||
value: '', | ||
}, | ||
}, | ||
lifetimes: { | ||
attached() { }, | ||
}, | ||
methods: {} | ||
}) | ||
Component({ | ||
properties: { | ||
text: { | ||
type: String, | ||
value: '暂无数据', | ||
}, | ||
desc: { | ||
type: String, | ||
value: '', | ||
}, | ||
}, | ||
lifetimes: { | ||
attached() { }, | ||
}, | ||
methods: {} | ||
}) |
4 changes: 2 additions & 2 deletions
4
...gram/miniprogram_npm/no-data/no-data.json → miniprogram/components/no-data/no-data.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"component": true | ||
{ | ||
"component": true | ||
} |
8 changes: 4 additions & 4 deletions
8
...gram/miniprogram_npm/no-data/no-data.wxml → miniprogram/components/no-data/no-data.wxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<view class="no-data"> | ||
<image class="no-data" src="/static/svg/illustration/no-data.svg" mode="aspectFit"></image> | ||
<text class="no-data">{{text}}</text> | ||
<text class="no-data" wx:if="{{desc}}">{{desc}}</text> | ||
<view class="no-data"> | ||
<image class="no-data" src="/static/svg/illustration/no-data.svg" mode="aspectFit"></image> | ||
<text class="no-data">{{text}}</text> | ||
<text class="no-data" wx:if="{{desc}}">{{desc}}</text> | ||
</view> |
34 changes: 17 additions & 17 deletions
34
...gram/miniprogram_npm/no-data/no-data.wxss → miniprogram/components/no-data/no-data.wxss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
view.no-data { | ||
width: 100%; | ||
text-align: center; | ||
margin-top: calc(50vh - 300rpx); | ||
color: gray; | ||
} | ||
image.no-data { | ||
display: block; | ||
width: 160rpx; | ||
height: 160rpx; | ||
margin: 20rpx auto; | ||
} | ||
text.no-data { | ||
font-size: 26rpx; | ||
display: block; | ||
view.no-data { | ||
width: 100%; | ||
text-align: center; | ||
margin-top: calc(50vh - 300rpx); | ||
color: gray; | ||
} | ||
|
||
image.no-data { | ||
display: block; | ||
width: 160rpx; | ||
height: 160rpx; | ||
margin: 20rpx auto; | ||
} | ||
|
||
text.no-data { | ||
font-size: 26rpx; | ||
display: block; | ||
} |
24 changes: 12 additions & 12 deletions
24
...am/miniprogram_npm/watermark/watermark.js → ...program/components/watermark/watermark.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Component({ | ||
properties: { | ||
waterText: { | ||
type: String, | ||
value: '小程序水印', | ||
} | ||
}, | ||
lifetimes: { | ||
attached() { }, | ||
}, | ||
methods: {} | ||
}) | ||
Component({ | ||
properties: { | ||
waterText: { | ||
type: String, | ||
value: '小程序水印', | ||
} | ||
}, | ||
lifetimes: { | ||
attached() { }, | ||
}, | ||
methods: {} | ||
}) |
4 changes: 2 additions & 2 deletions
4
.../miniprogram_npm/watermark/watermark.json → ...ogram/components/watermark/watermark.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"component": true | ||
{ | ||
"component": true | ||
} |
42 changes: 21 additions & 21 deletions
42
.../miniprogram_npm/watermark/watermark.wxml → ...ogram/components/watermark/watermark.wxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<!--components/watermark/watermark.wxml--> | ||
<view class="water_top" style="pointer-events: none;"> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
</view> | ||
<!--components/watermark/watermark.wxml--> | ||
<view class="water_top" style="pointer-events: none;"> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
|
||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
<view class="water-text">{{waterText}}</view> | ||
</view> | ||
|
38 changes: 19 additions & 19 deletions
38
.../miniprogram_npm/watermark/watermark.wxss → ...ogram/components/watermark/watermark.wxss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
/* components/watermark/watermark.wxss */ | ||
/* 想要改水印大小或者稀疏通过样式调整即可 */ | ||
.water_top { | ||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
transform: rotate(-10deg); | ||
z-index: 9; | ||
} | ||
.water-text { | ||
float: left; | ||
width: 375rpx; | ||
color: rgba(0, 0, 0, 0.15); | ||
text-align: center; | ||
font-size: 15px; | ||
margin: 120rpx 0; | ||
/* components/watermark/watermark.wxss */ | ||
/* 想要改水印大小或者稀疏通过样式调整即可 */ | ||
.water_top { | ||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
transform: rotate(-10deg); | ||
z-index: 9; | ||
} | ||
|
||
.water-text { | ||
float: left; | ||
width: 375rpx; | ||
color: rgba(0, 0, 0, 0.15); | ||
text-align: center; | ||
font-size: 15px; | ||
margin: 120rpx 0; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.