Browse Source

版本1.1。4.9 党群1+1 评论文字 修改为 捧个场 鼓个掌

master tagv1.4.9
lihenian 5 years ago
parent
commit
90b3a5c81c
  1. 2
      pages/toRegister/toRegister.js
  2. 7
      project.config.json
  3. BIN
      subpages/associationNew/images/comment_ic.png
  4. 4
      subpages/associationNew/pages/eventlist/eventlist.js
  5. 8
      subpages/associationNew/pages/eventlist/eventlist.wxml
  6. 23
      subpages/associationNew/pages/eventlist/eventlist.wxss

2
pages/toRegister/toRegister.js

@ -21,7 +21,7 @@ Page({
// }
// })
let that = this
const versionNum = '1.4.8'
const versionNum = '1.4.9'
api.getScanSwitch(versionNum).then(function (res) {
console.log(res.data)
let state = res.data.scanFlag

7
project.config.json

@ -101,6 +101,13 @@
"pathName": "pages/complete/complete",
"query": "",
"scene": null
},
{
"id": -1,
"name": "subpages/associationNew/pages/eventlist/eventlist",
"pathName": "subpages/associationNew/pages/eventlist/eventlist",
"query": "partyGroupId=4048a5a044a047d9a3dc135a0d756eee&topicType=1",
"scene": null
}
]
}

BIN
subpages/associationNew/images/comment_ic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

4
subpages/associationNew/pages/eventlist/eventlist.js

@ -28,6 +28,7 @@ Page({
infoCompleted: 0,
completeInfoDialogVisible: false,
ifpreviewImage:false,//解决图片放大刷新列表的问题
commentViewContent: '捧个场' // 写评论按钮 文字内容
},
/**
* 生命周期函数--监听页面加载
@ -36,7 +37,8 @@ Page({
this.setData({
partyGroupId: options.partyGroupId,
topicType: options.topicType,//0:事好儿鼓个掌 1:话对捧个场
infoCompleted: app.globalData.infoCompleted
infoCompleted: app.globalData.infoCompleted,
commentViewContent: options.topicType == 0 ? '鼓个掌' : '捧个场'
})
if (options.topicType == 0) {
wx.setNavigationBarTitle({

8
subpages/associationNew/pages/eventlist/eventlist.wxml

@ -32,8 +32,12 @@
<view class="give-data-n">{{item.commentNum}}</view>
</view>
<view class="all" data-id="{{item.id}}" data-index="{{index}}" bindtap="clickTextarea">
<image class="wcomment" src="../../images/wcomment@2x.png"></image>
<!-- <view class="give-data-s">评论</view> -->
<!-- <image class="wcomment" src="../../images/wcomment@2x.png"></image> -->
<view class="give-data-s">
<image class="comment_ic" src="../../images/comment_ic.png" ></image>
{{commentViewContent}}
</view>
</view>
</view>
<view wx:if="{{item.likes.length > 0}}" class="likes">

23
subpages/associationNew/pages/eventlist/eventlist.wxss

@ -114,13 +114,24 @@ page {
margin-left: 9rpx;
/* width: 196rpx; */
}
.attitude .all .give-data-s .comment_ic {
width: 30rpx;
height: 30rpx;
margin-right: 10rpx;
}
.attitude .all .give-data-s {
font-size: 28rpx;
font-weight: 500;
color: rgba(51, 51, 51, 1);
margin-left: 9rpx;
/* width: 196rpx; */
width: 145rpx;
height: 55rpx;
background: linear-gradient(to right, #f2511b, #ee7a20);
border-radius: 27rpx;
overflow: hidden;
color: #fff;
line-height: 55rpx;
text-align: center;
font-size: 24rpx;
display: flex;
align-items: center;
justify-content: center;
}
.attitude .all .give-data-n.color {

Loading…
Cancel
Save