Skip to content

Commit

Permalink
v2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaokangLei committed Feb 5, 2023
1 parent 75f2820 commit 6de08e6
Show file tree
Hide file tree
Showing 15 changed files with 401 additions and 32 deletions.
3 changes: 2 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"pages/template/uitemplate/home/home",
"pages/template/news/home/home",
"pages/template/news/news01/news01",
"pages/template/news/news02/news02"
"pages/template/news/news02/news02",
"pages/template/news/news03/news03"
],
"window": {
"backgroundTextStyle": "light",
Expand Down
6 changes: 3 additions & 3 deletions pages/about/home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ Component({
}, 20)
} else {
that.setData({
templateCount: that.coutNum(17),
usersCount: that.coutNum(1411),
templateCount: that.coutNum(20),
usersCount: that.coutNum(1480),
modelTotal: that.coutNum(46),
visitTotal: that.coutNum(2702),
visitTotal: that.coutNum(3676),
})
}
}
Expand Down
4 changes: 2 additions & 2 deletions pages/about/home/home.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<view class="UCenter-bg">
<image src="/images/tabbar/basics_cur.png" class="png" mode="widthFix"></image>
<view class="text-xl text-orange text-blod">ColorUI GA
<text class="text-df">v2.1.0</text>
<text class="text-df">v2.1.1</text>
</view>
<text class="margin-top-sm text-orange">By: L.</text>
<text class="margin-top-sm text-gray">最近更新:2023/1/12</text>
<text class="margin-top-sm text-gray">最近更新:2023/2/5</text>
</view>
<view class="margin">
<view class="padding-bottom flex text-center">
Expand Down
4 changes: 4 additions & 0 deletions pages/about/log/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Page({
*/
data: {
logData: [{
version: "v2.1.1",
data: "2023/2/5",
info: ["1.新增新闻资讯模板+3", "2.样式库代码调整"]
}, {
version: "v2.1.0",
data: "2023/1/12",
info: ["1.新增完整UI模板《北岛小店》", "2.新增倒计时样式", "3.新增进步器样式", "4.样式库代码调整"]
Expand Down
10 changes: 2 additions & 8 deletions pages/template/home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,12 @@ Component({
],
Headlines: [{
id: 1,
title: "ColorUI GA 最新版v2.1.0上线啦~"
title: "ColorUI GA 最新版v2.1.1上线啦~"
}, {
id: 2,
title: "新增完整UI模板《北岛小店》"
title: "新增新闻资讯模板+3"
}, {
id: 3,
title: "新增倒计时样式"
}, {
id: 4,
title: "新增进步器样式"
}, {
id: 5,
title: "每周上新UI模板设计~"
}],
},
Expand Down
8 changes: 2 additions & 6 deletions pages/template/news/home/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ Page({
}, {
title: '未知',
name: 'news02',
url: 'https://image.meiye.art/FkZR2715biXqwL_WvbWhRMaArqoo?imageMogr2/thumbnail/450x/interlace/1'
url: 'https://image.meiye.art/FjjAKItzS-QGvz2A5Wd5oBGsnNkm?imageMogr2/thumbnail/450x/interlace/1'
}, {
title: '未知',
name: 'news03',
url: 'https://image.meiye.art/Fi2yE1PU4DBr_Qgo-ER9bOo3yJNe?imageMogr2/thumbnail/450x/interlace/1'
}, {
title: '未知',
name: 'news04',
url: 'https://image.meiye.art/FjjAKItzS-QGvz2A5Wd5oBGsnNkm?imageMogr2/thumbnail/450x/interlace/1'
url: 'https://image.meiye.art/FpqquGpGUNwtHNY5R_s7ugcDjmUE?imageMogr2/thumbnail/470x/interlace/1'
}],
},

Expand Down
10 changes: 5 additions & 5 deletions pages/template/news/news01/news01.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,26 @@ Page({
"user": "混沌大学",
"date": "2019-05-12",
"collection": 97,
"url":"https://image.meiye.art/Fha6tqRTIwHtlLW3xuZBJj8ZXSX3?imageMogr2/thumbnail/450x/interlace/1"
"url": "https://image.meiye.art/Fha6tqRTIwHtlLW3xuZBJj8ZXSX3?imageMogr2/thumbnail/450x/interlace/1"
}, {
"title": "每天忙成狗却赚钱一丢丢,这是中产阶级吗?",
"user": "造就",
"date": "2019-05-12",
"collection": 21,
"url":"https://image.meiye.art/FhHGe9NyO0uddb6D4203jevC_gzc?imageMogr2/thumbnail/450x/interlace/1"
"url": "https://image.meiye.art/FhHGe9NyO0uddb6D4203jevC_gzc?imageMogr2/thumbnail/450x/interlace/1"
}, {
"title": "对话爱奇艺创始人、CEO龚宇:付费会员还有极大的想象空间",
"user": "毒眸",
"date": "2019-05-12",
"collection": 17,
"url":"https://image.meiye.art/FlqKg5bugFQD5Qzm_QhGM7ET4Mtx?imageMogr2/thumbnail/450x/interlace/1"
"url": "https://image.meiye.art/FlqKg5bugFQD5Qzm_QhGM7ET4Mtx?imageMogr2/thumbnail/450x/interlace/1"
}, {
"title": "百度如何成为小程序生态的最大变量?",
"user": "罗超频道",
"date": "2019-05-12",
"collection": 23,
"url":"https://image.meiye.art/Fha6tqRTIwHtlLW3xuZBJj8ZXSX3?imageMogr2/thumbnail/450x/interlace/1"
},]
"url": "https://image.meiye.art/Fha6tqRTIwHtlLW3xuZBJj8ZXSX3?imageMogr2/thumbnail/450x/interlace/1"
}, ]
},

/**
Expand Down
8 changes: 7 additions & 1 deletion pages/template/news/news01/news01.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,16 @@
</view>
</view>
<view>
<image src="{{item.url}}" mode="aspectFill" class="radius" style="height: 160rpx;width: 190rpx;"></image>
<image src="{{item.url}}" mode="aspectFill" class="radius" style="height: 150rpx;width: 190rpx;"></image>
</view>
</view>
</view>
</view>

</view>

<import src="/pages/template/common/copyright.wxml" />
<view class="margin-top">
<template is="copyright"></template>
<ad unit-id="adunit-a4d24a2a79560267"></ad>
</view>
53 changes: 52 additions & 1 deletion pages/template/news/news02/news02.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,55 @@
// pages/template/news/news02/news02.js
const app = getApp();

Page({

/**
* 页面的初始数据
*/
data: {

StatusBar: app.globalData.StatusBar,
CustomBar: app.globalData.CustomBar,
cardCur: 0,
TabCur: 3,
scrollLeft: 0,
tabList: [{
id: 0,
name: '首页'
}, {
id: 1,
name: '关注'
}, {
id: 2,
name: '作品'
}, {
id: 3,
name: '经验'
}],
newsList: [{
"title": "矢量插画师:通过摄影作品学习建筑的空间语言",
"user": "飞屋瑞",
"date": "2019-05-12",
"collection": 97,
"url": "https://image.meiye.art/Fha6tqRTIwHtlLW3xuZBJj8ZXSX3?imageMogr2/thumbnail/450x/interlace/1"
}, {
"title": "微信大改版之UI设计分析!分析点啥?",
"user": "moxiao",
"date": "2019-05-12",
"collection": 21,
"url": "https://image.meiye.art/FhHGe9NyO0uddb6D4203jevC_gzc?imageMogr2/thumbnail/450x/interlace/1"
}, {
"title": "如何合理创建间距系统,来更快地实现设计方案?",
"user": "毒眸",
"date": "2019-05-12",
"collection": 17,
"url": "https://image.meiye.art/FlqKg5bugFQD5Qzm_QhGM7ET4Mtx?imageMogr2/thumbnail/450x/interlace/1"
}, {
"title": "百度如何成为小程序生态的最大变量?",
"user": "罗超频道",
"date": "2019-05-12",
"collection": 23,
"url": "https://image.meiye.art/Fha6tqRTIwHtlLW3xuZBJj8ZXSX3?imageMogr2/thumbnail/450x/interlace/1"
}, ]
},

/**
Expand Down Expand Up @@ -62,5 +106,12 @@ Page({
*/
onShareAppMessage() {

},

tabSelect(e) {
this.setData({
TabCur: e.currentTarget.dataset.id,
scrollLeft: (e.currentTarget.dataset.id - 1) * 60
})
}
})
59 changes: 58 additions & 1 deletion pages/template/news/news02/news02.wxml
Original file line number Diff line number Diff line change
@@ -1,2 +1,59 @@
<!--pages/template/news/news02/news02.wxml-->
<text>pages/template/news/news02/news02.wxml</text>
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">新闻资讯02</view>
</cu-custom>

<view class="cu-timeline margin-xs radius-lg" style="min-height: 92vh;">
<!-- 搜索 -->
<scroll-view scroll-x class="bg-white nav radius-lg">
<view class="flex text-center">
<view class="cu-item {{index==TabCur?'text-blue cur text-bold text-lg':''}}" wx:for="{{tabList}}" wx:key="item" bindtap="tabSelect" data-id="{{item.id}}">
{{item.name}}
</view>
</view>
</scroll-view>

<scroll-view scroll-x class="bg-white nav margin-lr-sm margin-tb-sm">
<view class="flex text-center">
<view class="cu-tag round"><text class="padding-lr-xs">默认</text></view>
<view class="cu-tag round"><text class="padding-lr-xs">经验/观点</text></view>
<view class="cu-tag round"><text class="padding-lr-xs">规范/资料</text></view>
<view class="cu-tag round"><text class="padding-lr-xs">人物/访谈</text></view>
<view class="cu-tag round"><text class="padding-lr-xs">行业/资讯</text></view>
<view class="cu-tag round"><text class="padding-lr-xs">金融/科技</text></view>
</view>
</scroll-view>

<view class="cu-card article no-card margin-top-lg" wx:for="{{newsList}}" wx:key="item">
<view class="cu-item shadow">
<view class="content">
<view class="">
<!-- <view class="text-black text-bold text-lg">{{item.title}}</view> -->
<view class="">
<text class="text-black text-bold text-lg text-cut-2">{{item.title}}</text>
</view>
<view class="flex justify-between margin-top">
<view class="text-gray text-sm">经验 | 2.1万观看 99赞 12评论</view>
</view>
</view>
<view>
<image src="{{item.url}}" mode="aspectFill" class="radius" style="height: 180rpx;width: 230rpx;"></image>
</view>
</view>
<view class="flex justify-between">
<view class="text-gray text-sm padding-left flex align-center">
<view class="cu-avatar sm round" style="background-image:url({{item.url}});">
</view> <text class="padding-left-xs text-df text-bold">{{item.user}}</text>
</view>
<view class="text-gray text-sm padding-right flex align-center">24分钟前</view>
</view>
</view>
</view>

</view>

<import src="/pages/template/common/copyright.wxml" />
<view class="margin-top">
<template is="copyright"></template>
<ad unit-id="adunit-a4d24a2a79560267"></ad>
</view>
66 changes: 66 additions & 0 deletions pages/template/news/news03/news03.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// pages/template/news/news03/news03.js
Page({

/**
* 页面的初始数据
*/
data: {

},

/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {

},

/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {

},

/**
* 生命周期函数--监听页面显示
*/
onShow() {

},

/**
* 生命周期函数--监听页面隐藏
*/
onHide() {

},

/**
* 生命周期函数--监听页面卸载
*/
onUnload() {

},

/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {

},

/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {

},

/**
* 用户点击右上角分享
*/
onShareAppMessage() {

}
})
3 changes: 3 additions & 0 deletions pages/template/news/news03/news03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"usingComponents": {}
}
Loading

0 comments on commit 6de08e6

Please sign in to comment.