@ -8,6 +8,8 @@
<view class="name">{{item.name}}</view>
<view class="autograph">{{item.motto}}</view>
<view class="autograph">{{item.areaResponsibility}}</view>
<view bindtap="onPhone" data-number="{{item.mobile}}" class="autograph">{{item.mobile}}</view>
</view>
@ -1,7 +1,7 @@
.item {
width: 320rpx;
height: 318rpx;
height: 354rpx;
margin-top: 20rpx;
background: #fff;
border-radius: 20rpx;
@ -25,7 +25,7 @@
}
.item .autograph {
margin-top: 10rpx;
margin-top: 8rpx;
font-size:26rpx;
font-weight:500;
color:rgba(193,193,193,1);
@ -1,7 +1,8 @@
// subpages/associationNew/pages/associationlist/associationlist.js
import {
getPartyGroupList,
getJoinGroup
getJoinGroup,
getImageUrl2
} from '../../utils/api'
Page({
@ -13,7 +14,8 @@ Page({
loadMoreVisible: false,
loadMoreType: 'none',
pageNo: 1,
pageSize: 10
pageSize: 10,
imageUrlList: [],
},
/**
@ -21,6 +23,11 @@ Page({
*/
onLoad: function () {
// this.getPartyGroupList();
getImageUrl2().then(res => {
this.setData({
imageUrlList: [...res.data]
})
@ -1,4 +1,7 @@
<!--subpages/associationNew/pages/associationlist/associationlist.wxml-->
<view class="title_bg">
<image src="{{imageUrlList[0].imgUrl}}"></image>
<view class="association-list">
<community-list
associationList="{{associationList}}"
@ -5,3 +5,12 @@ page {
overflow-y: auto;
background: #f7f7f7;
.title_bg {
width: 100%;
height: 150rpx;
.title_bg image{
@ -5,6 +5,12 @@ const request = require('../../../utils/request')
export function getImageUrl() {
return request.get('imgConfig/getImgUrl/1')
*获取图片党群列表首页
export function getImageUrl2() {
return request.get('imgConfig/getImgUrl/2')
*进入党群