调整成员单位一览

This commit is contained in:
Double-_-Z 2024-11-20 09:32:05 +08:00
parent e004311129
commit 0614875a83
6 changed files with 24 additions and 39 deletions

View File

@ -12,6 +12,7 @@ const install = (Vue, vm) => {
vm.$api.getLabel = async (moduleid) => await vm.$u.get(`/cpLabel/moduleid/${moduleid}`);// 获取模块下的标签
vm.$api.getArticleList = async (params = {}) => await vm.$u.get('/cpArticle', params);// 分页获取文章列表
vm.$api.getSingleArticle = async (id) => await vm.$u.get(`/cpArticle/${id}`);// 获取单个文章
vm.$api.getChildLabel = async (labelId) => await vm.$u.get(`/cpLabel/labelId/${labelId}`);// 获取父标签下的子标签
}

View File

@ -54,6 +54,15 @@
"navigationBarTitleText" : "工作动态"
}
},
{
"path" : "pages/member/member",
"style" :
{
//
"enablePullDownRefresh": true,
"navigationBarTitleText" : "成员单位一览"
}
},
{
"path" : "pages/home/component/message",
"style" :

View File

@ -29,23 +29,7 @@
//
list:[],
//
dataList:[
// {
// top: 0,
// title: '广',
// text: '<p>2024广1.6108</p>',
// photo: 'static/banner.png',
// view: 597,
// createtime: 1729935783000
// },{
// top: 0,
// title: '广',
// text: '<p>2024广1.6108</p>',
// photo: 'static/banner.png',
// view: 597,
// createtime: 1729935783000
// },
],
dataList:[],
form:{
moduleName: '',
labelName: '',

View File

@ -13,7 +13,7 @@
</view>
<view class="ilth">
<view class="ilth-left">
<u-icon size="28rpx" name="eye" :label="item.view+' 阅读'"></u-icon>
<u-icon size="28rpx" name="eye" :label="item.view+' 阅读'"></u-icon>
</view>
<view class="ilth-right">
{{ getDate(item.createtime) }}

View File

@ -28,9 +28,9 @@
<text class="ltt">点击进入{{ introductionList[0].name }}</text>
<view class="see">立即查看</view>
</view>
<view class="left-bottom" @click="toShowIntroduce(1)">
<text class="lbo">{{ introductionList[1].name }}</text>
<text class="lbt">点击进入{{ introductionList[1].name }}</text>
<view class="left-bottom" @click="toShowMember(2)">
<text class="lbo">{{ introductionList[2].name }}</text>
<text class="lbt">点击进入{{ introductionList[2].name }}</text>
<view class="see">立即查看</view>
</view>
</view>
@ -188,7 +188,14 @@
// })
},
//
//
toShowMember(index){
uni.navigateTo({
url: `/pages/member/member?moduleName=${this.introductionName}&id=${this.introductionList[index].id}`
})
},
//
toShowIntroduce(index){
const title = this.introductionList[index].name;
const moduleName = this.introductionName;

View File

@ -29,23 +29,7 @@
//
list:[],
//
dataList:[
// {
// top: 0,
// title: '广',
// text: '<p>2024广1.6108</p>',
// photo: 'static/banner.png',
// view: 597,
// createtime: 1729935783000
// },{
// top: 0,
// title: '广',
// text: '<p>2024广1.6108</p>',
// photo: 'static/banner.png',
// view: 597,
// createtime: 1729935783000
// },
],
dataList:[],
form:{
moduleName: '',
labelName: '',