From 1bc50fde4f41950ef1630d82f29cb64d993d817a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyansj=E2=80=9D?= Date: Thu, 3 Aug 2023 11:05:28 +0800 Subject: [PATCH] gx --- src/pages.json | 5 +- src/pagesD/jgsz/index.vue | 115 +++++++++++++++++++++++++++--------- src/pagesD/xskz/details.vue | 18 +++++- src/pagesD/xskz/index.vue | 49 +++++++-------- 4 files changed, 130 insertions(+), 57 deletions(-) diff --git a/src/pages.json b/src/pages.json index 3364d83..b9ff50f 100644 --- a/src/pages.json +++ b/src/pages.json @@ -617,7 +617,10 @@ "path": "xskz/details", "style": { "navigationBarTitleText": "线上看展-详情", - "enablePullDownRefresh": false + "enablePullDownRefresh": false, + "usingComponents": { + "player-component": "plugin://player/video" + } } } ] diff --git a/src/pagesD/jgsz/index.vue b/src/pagesD/jgsz/index.vue index af1cb41..a6a7634 100644 --- a/src/pagesD/jgsz/index.vue +++ b/src/pagesD/jgsz/index.vue @@ -15,26 +15,12 @@ - - + + - - - - - 张三 - 会长 + + - - xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队xx团队 - - - - - - - - @@ -47,10 +33,36 @@ - - + + - + + {{ item.userName }} + + + + + + {{ item.userName }} + {{ item.identity }} + + + {{ item.introduce }} + + + + + + + + + + @@ -71,15 +83,44 @@ export default { data() { return { tabC: "0", + list: [], }; }, onShow() { - // this.getData(); + this.get(); }, methods: { + get() { + this.http + .request("/organPerson/list", {}, "GET") + .then((res) => { + if (res.code == 200) { + this.list = res.data.records; + } + }) + .catch((err) => { + uni.showToast({ + title: e.data.message, + icon: "none", + }); + }); + }, toTab(val) { this.tabC = val; - // this.getData() + }, + onInfo(obj) { + this.http + .request("/organPerson/details", { id: obj }, "GET") + .then((res) => { + if (res.code == 200) { + } + }) + .catch((err) => { + uni.showToast({ + title: e.data.message, + icon: "none", + }); + }); }, }, }; @@ -140,14 +181,30 @@ export default { display: flex; .teamBox-right { margin-right: 20rpx; - image { - width: 180rpx; - height: 130rpx; - background-size: contain; + width: 159rpx; + height: 159rpx; + .item-image { + width: 159rpx; + height: 159rpx; + display: flex; + align-items: center; + justify-content: center; + background: rgba(152, 149, 149, 0.5); + color: rgb(240, 239, 239); + font-style: 64rpx; + font-weight: bolder; + border-radius: 50%; + overflow: hidden; + image { + width: 159rpx; + height: 159rpx; + border-radius: 50%; + background-size: contain; + } } } .teamBox-left { - // width: 400rpx; + // width: 400rpx; .teamMinbox-top { display: flex; margin-bottom: 16rpx; @@ -166,7 +223,7 @@ export default { color: #a02521; margin-left: 18rpx; padding: 2rpx 20rpx; - max-width:120rpx; + max-width: 120rpx; overflow: hidden; /* 超出一行文字自动隐藏 */ text-overflow: ellipsis; /*文字隐藏后添加省略号*/ white-space: nowrap; diff --git a/src/pagesD/xskz/details.vue b/src/pagesD/xskz/details.vue index 4fbaf59..ddba72b 100644 --- a/src/pagesD/xskz/details.vue +++ b/src/pagesD/xskz/details.vue @@ -1,15 +1,27 @@