Browse Source

版本1.4.4 党群1+1 群名称 添加背景色

master tagv1.4.4
lihenian 5 years ago
parent
commit
ba9a35ce36
  1. 2
      pages/toRegister/toRegister.js
  2. 4
      subpages/associationNew/components/communityList/communityList.wxml
  3. 12
      subpages/associationNew/components/communityList/communityList.wxss
  4. 2705
      typings/wx.d.ts
  5. 1
      utils/config.js

2
pages/toRegister/toRegister.js

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

4
subpages/associationNew/components/communityList/communityList.wxml

@ -6,7 +6,9 @@
wx:key="index">
<image src="{{item.partyGroupAvatar}}"/>
<view class="cover-image">
<text class="community-name">{{item.partyGroupName}}</text>
<view class="community-name">
<text>{{item.partyGroupName}}</text>
</view>
<button bindtap="navigateToAss"data-join="{{item.isJoin}}" data-code="{{item.id}}" class="community-add" plain='true' hover-class="hover-btn"><image src="../../images/add.png"/></button>
</view>
</view>

12
subpages/associationNew/components/communityList/communityList.wxss

@ -26,9 +26,17 @@
flex-direction: column;
justify-content: center;
}
.community-item .cover-image .community-name{
color: white;
.community-item .cover-image .community-name text {
padding: 0 20rpx;
font-size: 48rpx;
line-height: 70rpx;
display: inline-block;
height: 70rpx;
background: rgba(0, 0,0,0.3);
border-radius: 5rpx;
overflow: hidden;
color: white;
text-shadow: 2rpx 2rpx 0rpx #999;
}
.community-item .cover-image .community-add{
width: 150rpx;

2705
typings/wx.d.ts

File diff suppressed because it is too large

1
utils/config.js

@ -6,7 +6,6 @@ module.exports = {
};
function BASEURL() {
// return 'https://eug-test.elinkit.com.cn/js/epdc-api/api/' //党群1+1
// return 'https://eug-test.elinkit.com.cn/js/epdc-api/api/' // 锦水测试环境
// return 'https://eug-test.elinkit.com.cn/epdc-api/api/' // 测试环境 接口地址
// return "http://219.146.91.110:9094/epdc-api/api/" // 测试环境 ip接口地址

Loading…
Cancel
Save