From 937f738f2e45d5183e3ff36841ce93e29728490e Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Mon, 1 Jun 2020 15:52:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=85=9A=E7=BE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 4 +- subpages/associationNew/images/comment.png | Bin 0 -> 1858 bytes subpages/associationNew/images/give.png | Bin 0 -> 1484 bytes .../pages/eventlist/eventlist.js | 70 ++++++++++++++ .../pages/eventlist/eventlist.json | 4 + .../pages/eventlist/eventlist.wxml | 21 ++++ .../pages/eventlist/eventlist.wxss | 91 ++++++++++++++++++ .../associationNew/pages/talklist/talklist.js | 66 +++++++++++++ .../pages/talklist/talklist.json | 3 + .../pages/talklist/talklist.wxml | 2 + .../pages/talklist/talklist.wxss | 1 + 11 files changed, 261 insertions(+), 1 deletion(-) create mode 100644 subpages/associationNew/images/comment.png create mode 100644 subpages/associationNew/images/give.png create mode 100644 subpages/associationNew/pages/eventlist/eventlist.js create mode 100644 subpages/associationNew/pages/eventlist/eventlist.json create mode 100644 subpages/associationNew/pages/eventlist/eventlist.wxml create mode 100644 subpages/associationNew/pages/eventlist/eventlist.wxss create mode 100644 subpages/associationNew/pages/talklist/talklist.js create mode 100644 subpages/associationNew/pages/talklist/talklist.json create mode 100644 subpages/associationNew/pages/talklist/talklist.wxml create mode 100644 subpages/associationNew/pages/talklist/talklist.wxss diff --git a/app.json b/app.json index 55961f5..1b8c128 100644 --- a/app.json +++ b/app.json @@ -60,7 +60,9 @@ "root": "subpages/associationNew", "name": "associationNew", "pages": [ - "pages/associationlist/associationlist" + "pages/associationlist/associationlist", + "pages/talklist/talklist", + "pages/eventlist/eventlist" ] }, { diff --git a/subpages/associationNew/images/comment.png b/subpages/associationNew/images/comment.png new file mode 100644 index 0000000000000000000000000000000000000000..a1af88552e33afd5f2ca539ee6d7f606b3c861a3 GIT binary patch literal 1858 zcm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{- zkC{&)VoRz0i2MZkujt<;4#SPBY%?>)gF~xx8!BZD + + 庆祝建党97周年“党徽照耀新时代”庆祝建党97周年“党徽照耀新时代”庆祝建党97周年“党徽照耀新时代”庆祝建党97周年“党徽照耀新时代”庆祝建党97周年“党徽照耀新时代” + + + + + + + 22222 + + 22222 + + + \ No newline at end of file diff --git a/subpages/associationNew/pages/eventlist/eventlist.wxss b/subpages/associationNew/pages/eventlist/eventlist.wxss new file mode 100644 index 0000000..6ec5488 --- /dev/null +++ b/subpages/associationNew/pages/eventlist/eventlist.wxss @@ -0,0 +1,91 @@ +page { + background: #f7f7f7; +} + +.item-list { + width: 100%; + padding: 40rpx 29rpx 20rpx 29rpx; + background: #fff; + margin-top: 20rpx; +} + +.user-info { + width: calc(100% - 58rpx); + height: 64rpx; + display: flex; + align-items: center; +} + +.user-info image { + width: 64rpx; + height: 64rpx; +} + +.user-info .name-date { + margin-left: 14rpx; + height: 100%; + display: flex; + flex-direction: column; +} + +.user-info .name-date .name { + font-size: 28rpx; + font-weight: bold; + color: rgba(51, 51, 51, 1); +} + +.user-info .name-date .date { + font-size: 20rpx; + font-weight: 500; + color: rgba(153, 153, 153, 1); +} + +.details-info { + width: calc(100% - 58rpx); + font-size: 36rpx; + font-weight: 500; + color: rgba(51, 51, 51, 1); + line-height: 54rpx; +} + +.image-list { + width: calc(100% - 58rpx); + margin-top: 30rpx; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(216rpx, 1fr)); + grid-gap: 7rpx; +} +.image-list .image-item { + width: 100%; + height: 100%; + object-fit: cover; + border-radius: 8rpx; +} + +.attitude{ + width: calc(100% - 58rpx); + margin-top: 21rpx; + display: flex; + align-items: center; + /* justify-content: center; */ + height: 28rpx; +} +.attitude image{ + width: 28rpx; + height: 28rpx; +} +.attitude .give-data{ + font-size:24rpx; + font-weight:500; + color:rgba(51,51,51,1); + margin-left: 9rpx; + width: 196rpx; +} + +.comment{ + width: calc(100% - 98rpx); + padding: 26rpx 20rpx; + background: #F2F2F2; + border-radius:8rpx; + margin-top: 25rpx; +} \ No newline at end of file diff --git a/subpages/associationNew/pages/talklist/talklist.js b/subpages/associationNew/pages/talklist/talklist.js new file mode 100644 index 0000000..7007d83 --- /dev/null +++ b/subpages/associationNew/pages/talklist/talklist.js @@ -0,0 +1,66 @@ +// subpages/associationNew/pages/talklist/talklist.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/subpages/associationNew/pages/talklist/talklist.json b/subpages/associationNew/pages/talklist/talklist.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/subpages/associationNew/pages/talklist/talklist.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/subpages/associationNew/pages/talklist/talklist.wxml b/subpages/associationNew/pages/talklist/talklist.wxml new file mode 100644 index 0000000..5f4236a --- /dev/null +++ b/subpages/associationNew/pages/talklist/talklist.wxml @@ -0,0 +1,2 @@ + +subpages/associationNew/pages/talklist/talklist.wxml diff --git a/subpages/associationNew/pages/talklist/talklist.wxss b/subpages/associationNew/pages/talklist/talklist.wxss new file mode 100644 index 0000000..0d69917 --- /dev/null +++ b/subpages/associationNew/pages/talklist/talklist.wxss @@ -0,0 +1 @@ +/* subpages/associationNew/pages/talklist/talklist.wxss */ \ No newline at end of file From 8cb094475e355feb09b2c52a944da0015316e0df Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Tue, 2 Jun 2020 09:56:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../associationNew/images/ic_huifu@2x.png | Bin 0 -> 2331 bytes .../pages/eventlist/eventlist.wxml | 36 +++++- .../pages/eventlist/eventlist.wxss | 112 ++++++++++++++++-- 3 files changed, 131 insertions(+), 17 deletions(-) create mode 100644 subpages/associationNew/images/ic_huifu@2x.png diff --git a/subpages/associationNew/images/ic_huifu@2x.png b/subpages/associationNew/images/ic_huifu@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..b66ac8cb85355731be3b79cc604cf4530fa74c2b GIT binary patch literal 2331 zcmV+$3FP*PP)Xeb-jRr$PPTb)nrd$TGtzyNtR<1&X${;b>JA3_|FYMzS4mmmZ5QQ~!CYQ6<+W)t{ zwf?){78`Pl;l*vhUv|cCGklxjFWC;!kyfNm@LZIgz;GUkIg^i7kYpk_D7m=Su z3>U)vPXMo}YLAE{K7cc&b>$(rAYNv=i3gA8f)6eD^R{^}Bs=rUC)5p5H zy6jBP-86=~y1LBz_3Q6;9ETsnyO>NSKgt%83e5L?nj|VOvi;2hOz&0I-(9_Wb$I*s z?c?(b@c#Y#m%FaJPDH*==2Z3FAP5e&x3^!&7IbuUw0>e@;$ac#0I&_fDgbUC;Csk$ zU0vO1b93{Rc>{QOczAIbhRxR64iWhd05W_;RbPz7Vuurn#Q(B|?eFhza9wu|nKs63 zQ`K+H0OqoY>=KbboIij5ozBiqe_jCY?d@$^xNzYQ0PIlJ#{jIPU?OsY<^{msAP5d` z+O+9%w!qZh4Gj&n&t!TFPll>;qd4eg9TJh9larG#<(`u4b>{RAlc`uNwidwCks|sk zv1SQ@Kdh>c(`2dY*P`#=1+bH5si~>y_-t${W8 zI*#+Cs&0;saX!T}1>lUT_8MbeQPm^4OsCW7B|#88C?czf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-)@$86H6Bx{dSV)|=Xt*-;HWCkR=?Q>B|H~3 zcd||4n6;LlcXEr@*^3Me4BQ`!#n_+0V1$M2J8BGYrsY4(F#Owy;hzAA>n*HEo1qFXQP?5mU%EH`<{&y;!VIh{mRdeGy$_?m0@58 zFbh_fSOEZV+FDDH|K-ORb1n?S3-NgTLZQ5IrUVn2J6eEhgqdY+n1~$DF#MaS6^QqW z1u@>uPgIp)*(~+}`>2dD@2l#mSS)t=?Af!E9UUEHf7bgKbpWt^a0d%*QI?Y}MdR0$ z=(J*~<)F3Uhtb-5wSHMGft0oOZNO!1+ZSlk{{bsC4W<3~Wa0n-002ovPDHLkV1krK Bdk+8r literal 0 HcmV?d00001 diff --git a/subpages/associationNew/pages/eventlist/eventlist.wxml b/subpages/associationNew/pages/eventlist/eventlist.wxml index 182b839..d52a11a 100644 --- a/subpages/associationNew/pages/eventlist/eventlist.wxml +++ b/subpages/associationNew/pages/eventlist/eventlist.wxml @@ -12,10 +12,34 @@ - - 22222 - - 22222 + + + 22222 + + + + 22222 + + + + 评论 + - - \ No newline at end of file + + 张测试:我们这个楼的小区门口也是这中事情我们这个楼的小区门口也是这中事情···我们这个楼的小区门口也是这中事情··· + 张测试:我们这个楼的小区门口也是这中事情我们这个楼的小区门口也是这中事情···我们这个楼的小区门口也是这中事情··· + + + +
+ + + 回复{{replyUserName}} + + + + + + + +
\ No newline at end of file diff --git a/subpages/associationNew/pages/eventlist/eventlist.wxss b/subpages/associationNew/pages/eventlist/eventlist.wxss index 6ec5488..5831e38 100644 --- a/subpages/associationNew/pages/eventlist/eventlist.wxss +++ b/subpages/associationNew/pages/eventlist/eventlist.wxss @@ -55,6 +55,7 @@ page { grid-template-columns: repeat(auto-fit, minmax(216rpx, 1fr)); grid-gap: 7rpx; } + .image-list .image-item { width: 100%; height: 100%; @@ -62,30 +63,119 @@ page { border-radius: 8rpx; } -.attitude{ - width: calc(100% - 58rpx); +.attitude { + width: calc(100% - 158rpx); margin-top: 21rpx; display: flex; align-items: center; + justify-content: space-between; /* justify-content: center; */ height: 28rpx; + padding: 0 50rpx; +} +.attitude .all{ + display: flex; + align-items: center; } -.attitude image{ +.attitude .all image { width: 28rpx; height: 28rpx; } -.attitude .give-data{ - font-size:24rpx; - font-weight:500; - color:rgba(51,51,51,1); + +.attitude .all .give-data { + font-size: 24rpx; + font-weight: 500; + color: rgba(51, 51, 51, 1); margin-left: 9rpx; - width: 196rpx; + /* width: 196rpx; */ } -.comment{ +.comment { width: calc(100% - 98rpx); padding: 26rpx 20rpx; background: #F2F2F2; - border-radius:8rpx; + border-radius: 8rpx; margin-top: 25rpx; -} \ No newline at end of file +} + +.comment .comment-list { + width: 100%; + margin-top: 11rpx; + font-size: 28rpx; + color: #999999; +} + +.comment .comment-list text { + color: #333333; +} + +/* 评论样式 */ +.release { + align-items: flex-end; /*底部对齐*/ + box-sizing: border-box; + position: fixed; + left: 0; + bottom: 0; + width: 100%; + padding: 13rpx 20rpx; + background-color: #fff; + font-size: 28rpx; + z-index: 999; +} +.replyinfo1{ + display: flex; + justify-content: space-between; /*两端对齐*/ + font-size: 35rpx; +} +.replyinfo2{ + display: flex; + justify-content: space-between; /*两端对齐*/ +} + +.release textarea { + width: calc(100% - 200rpx); + min-height: 34rpx; + max-height: 102rpx; /*最多显示三行*/ + border-width: 15rpx 20rpx; /*使用padding与预期留白不一致,故使用border*/ + border-style: solid; + border-color: #F2F2F2; + line-height: 34rpx; + font-size: 28rpx; + background-color: #F2F2F2; + border-radius: 4rpx; +} + +.release .text { + font-size: 40rpx; + color: #c9c9c9; +} + +.cancel { + width: 240rpx; + height: 64rpx; + line-height: 64rpx; + text-align: center; + color: #6c0; + margin: 0 3px; + padding: 0; +} + +.release .submit { + width: 120rpx; + height: 64rpx; + line-height: 64rpx; + text-align: center; + color: #6c0; + margin: 0 3px; + padding: 0; +} + +.pro-box .info .text .delete { + color: #f68135; + border-radius: 50rpx; + border: 1px solid #f68135; + font-size: 28 rpx; + width: 150rpx; + height: 48rpx; + text-align: center; +}