mirror of
https://github.com/weilanwl/coloruicss.git
synced 2026-03-13 19:44:03 +08:00
v2.0.5
1.修复时间线图标显示问题 2.switch、radio、checkbox单位改成px,抛弃小尺寸 3.更新多种窗口组件 4.更新多种动画 5.新增步骤条组件 6.优化列表组件,新增右滑操作 7.优化图标搜索
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,10 +1,66 @@
|
||||
const app = getApp();
|
||||
// pages/basics/image/image.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
StatusBar: app.globalData.StatusBar,
|
||||
CustomBar: app.globalData.CustomBar
|
||||
|
||||
},
|
||||
onLoad: function() {
|
||||
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
@@ -1 +1,3 @@
|
||||
{}
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1,14 +1,2 @@
|
||||
<view class="cu-custom" style="height:{{CustomBar}}px;">
|
||||
<view class="cu-bar fixed gradual-blue" style="height:{{CustomBar}}px;padding-top:{{StatusBar}}px;">
|
||||
<navigator class='action' open-type="navigateBack" delta="1" hover-class="none">
|
||||
<text class='icon-back'></text>
|
||||
图片
|
||||
</navigator>
|
||||
<view class='action'>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<image class="" src="https://image.weilanwl.com/img/square-4.jpg" mode="widthFix" lazy-load="true" binderror="" bindload=""></image>
|
||||
<view><text>好</text></view>
|
||||
<!--pages/basics/image/image.wxml-->
|
||||
<text>pages/basics/image/image.wxml</text>
|
||||
|
||||
@@ -1,19 +1 @@
|
||||
/* view {
|
||||
background: RED;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin: 100px;
|
||||
border-top-left-radius: 38.2% 61.8%;
|
||||
border-top-right-radius: 61.8% 38.2%;
|
||||
border-bottom-right-radius: 38.2% 61.8%;
|
||||
border-bottom-left-radius: 61.8% 38.2%;
|
||||
transform: rotate(-20deg);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 50px;
|
||||
color: #fff;
|
||||
}
|
||||
view text{
|
||||
transform: rotate(20deg);
|
||||
} */
|
||||
/* pages/basics/image/image.wxss */
|
||||
Reference in New Issue
Block a user