This commit is contained in:
闫世杰 2023-08-02 17:34:17 +08:00
parent dace91963d
commit 17eb7d68e4
6 changed files with 9044 additions and 10175 deletions

View File

@ -65,7 +65,14 @@
"lazyCodeLoading": "requiredComponents", "lazyCodeLoading": "requiredComponents",
"optimization": { "optimization": {
"subPackages": true "subPackages": true
},
"plugins": {
"player": {
"version": "2.1.1",
"provider": "wxa75efa648b60994b"
} }
}
}, },
"mp-alipay": { "mp-alipay": {
"usingComponents": true "usingComponents": true

View File

@ -9,13 +9,13 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, { },
{
"path": "pages/pageHome/pdfView", "path": "pages/pageHome/pdfView",
"style": { "style": {
"navigationBarTitleText": "文件浏览", "navigationBarTitleText": "文件浏览",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
], ],
"subPackages": [{ "subPackages": [{
@ -49,7 +49,6 @@
"navigationBarTitleText": "修改地址", "navigationBarTitleText": "修改地址",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "activeManage/activeManage", "path": "activeManage/activeManage",
@ -58,7 +57,6 @@
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
}, },
{ {
"path": "activeManage/signIn", "path": "activeManage/signIn",
@ -66,7 +64,6 @@
"navigationBarTitleText": "签到管理", "navigationBarTitleText": "签到管理",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "activeManage/examine", "path": "activeManage/examine",
@ -74,7 +71,6 @@
"navigationBarTitleText": "审核管理", "navigationBarTitleText": "审核管理",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "activeManage/examineList", "path": "activeManage/examineList",
@ -83,7 +79,6 @@
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
}, },
{ {
"path": "activeManage/toGm", "path": "activeManage/toGm",
@ -91,7 +86,6 @@
"navigationBarTitleText": "申请冠名", "navigationBarTitleText": "申请冠名",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "activeManage/qdList", "path": "activeManage/qdList",
@ -99,7 +93,6 @@
"navigationBarTitleText": "签到详情", "navigationBarTitleText": "签到详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
// //
{ {
@ -176,7 +169,6 @@
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
}, },
{ {
"path": "my/imgUpload", "path": "my/imgUpload",
@ -184,14 +176,13 @@
"navigationBarTitleText": "图片上传", "navigationBarTitleText": "图片上传",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "my/evaluated", "path": "my/evaluated",
"style": { "style": {
"navigationBarTitleText": "已评价", "navigationBarTitleText": "已评价",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "my/uploadedImgShow", "path": "my/uploadedImgShow",
@ -199,7 +190,6 @@
"navigationBarTitleText": "已传图片", "navigationBarTitleText": "已传图片",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
] ]
}, },
@ -211,22 +201,22 @@
"navigationBarTitleText": "文艺比赛", "navigationBarTitleText": "文艺比赛",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "ArtRace/ArtRaceDetail", "path": "ArtRace/ArtRaceDetail",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
},
}, { {
"path": "ArtRace/ThrowWork", "path": "ArtRace/ThrowWork",
"style": { "style": {
"navigationBarTitleText": "投稿", "navigationBarTitleText": "投稿",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "ConfirmOrder/ConfirmOrder", "path": "ConfirmOrder/ConfirmOrder",
"style": { "style": {
"navigationBarTitleText": "确认订单", "navigationBarTitleText": "确认订单",
@ -234,7 +224,8 @@
} }
} }
//-线 //-线
, { ,
{
"path": "ConfirmOrder/fictitiousOrder", "path": "ConfirmOrder/fictitiousOrder",
"style": { "style": {
"navigationBarTitleText": "确认订单", "navigationBarTitleText": "确认订单",
@ -242,21 +233,23 @@
} }
} }
//- //-
, { ,
{
"path": "ConfirmOrder/purchaseDetail", "path": "ConfirmOrder/purchaseDetail",
"style": { "style": {
"navigationBarTitleText": "购买详情", "navigationBarTitleText": "购买详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, { },
{
"path": "MyOrder/MyOrder", "path": "MyOrder/MyOrder",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
},
}, { {
"path": "MyOrder/detail", "path": "MyOrder/detail",
"style": { "style": {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
@ -277,7 +270,6 @@
"navigationBarTitleText": "我的积分", "navigationBarTitleText": "我的积分",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
// //
@ -312,84 +304,85 @@
} }
} }
// //
, { ,
{
"path": "ArtWorks/ArtWorks", "path": "ArtWorks/ArtWorks",
"style": { "style": {
"navigationBarTitleText": "文艺作品", "navigationBarTitleText": "文艺作品",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
},
}, { {
"path": "ArtWorks/artWorkDetail", "path": "ArtWorks/artWorkDetail",
"style": { "style": {
"navigationBarTitleText": "作品详情", "navigationBarTitleText": "作品详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "ArtWorks/webView", "path": "ArtWorks/webView",
"style": { "style": {
"navigationBarTitleText": "文件浏览", "navigationBarTitleText": "文件浏览",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "improveData/improveData", "path": "improveData/improveData",
"style": { "style": {
"navigationBarTitleText": "完善资料", "navigationBarTitleText": "完善资料",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "PersonalCenter/PersonalCenter", "path": "PersonalCenter/PersonalCenter",
"style": { "style": {
"navigationBarTitleText": "个人中心", "navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "PersonalCenter/ReEditSingleInfo", "path": "PersonalCenter/ReEditSingleInfo",
"style": { "style": {
"navigationBarTitleText": "信息修改", "navigationBarTitleText": "信息修改",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "PersonalCenter/changePasw", "path": "PersonalCenter/changePasw",
"style": { "style": {
"navigationBarTitleText": "修改密码", "navigationBarTitleText": "修改密码",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "PublishWorks/PublishWorks", "path": "PublishWorks/PublishWorks",
"style": { "style": {
"navigationBarTitleText": "发布作品", "navigationBarTitleText": "发布作品",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "PublishWorks/PublishWorksNext", "path": "PublishWorks/PublishWorksNext",
"style": { "style": {
"navigationBarTitleText": "发布作品", "navigationBarTitleText": "发布作品",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "literFamily/literFamily", "path": "literFamily/literFamily",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
}, { },
{
"path": "literFamily/ActJianDetail", "path": "literFamily/ActJianDetail",
"style": { "style": {
"navigationBarTitleText": "活动剪影详情", "navigationBarTitleText": "活动剪影详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
] ]
}, },
@ -412,35 +405,35 @@
} }
} }
// //
, { ,
{
"path": "activity/activityDetail", "path": "activity/activityDetail",
"style": { "style": {
"navigationBarTitleText": "动态详情", "navigationBarTitleText": "动态详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} // } //
, { ,
{
"path": "ArtActivities/ArtActivities", "path": "ArtActivities/ArtActivities",
"style": { "style": {
"navigationBarTitleText": "文艺活动", "navigationBarTitleText": "文艺活动",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "AwardWinningWork/AwardWinningWork", "path": "AwardWinningWork/AwardWinningWork",
"style": { "style": {
"navigationBarTitleText": "艺起战疫获奖作品", "navigationBarTitleText": "艺起战疫获奖作品",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "DataSearch/DataSearch", "path": "DataSearch/DataSearch",
"style": { "style": {
"navigationBarTitleText": "资料查找", "navigationBarTitleText": "资料查找",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "enjoy/enjoy", "path": "enjoy/enjoy",
@ -456,18 +449,18 @@
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
}, { },
{
"path": "famousArts/famousArts", "path": "famousArts/famousArts",
"style": { "style": {
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "folderDetail/folderDetail", "path": "folderDetail/folderDetail",
"style": { "style": {
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "literHelp/literHelp", "path": "literHelp/literHelp",
@ -475,31 +468,32 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, { },
{
"path": "Login/Login", "path": "Login/Login",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
},
}, { {
"path": "Login/Register", "path": "Login/Register",
"style": { "style": {
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "Login/setPas", "path": "Login/setPas",
"style": { "style": {
"navigationBarTitleText": "绑定账号", "navigationBarTitleText": "绑定账号",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, { },
{
"path": "Login/RemeberPW", "path": "Login/RemeberPW",
"style": { "style": {
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "Login/binding", "path": "Login/binding",
@ -536,14 +530,13 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
},
}, { {
"path": "SelectId/SelectId", "path": "SelectId/SelectId",
"style": { "style": {
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "shop/Shop", "path": "shop/Shop",
@ -552,41 +545,40 @@
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
},
}, { {
"path": "ShoppingCart/ShoppingCart", "path": "ShoppingCart/ShoppingCart",
"style": { "style": {
"navigationBarTitleText": "购物车", "navigationBarTitleText": "购物车",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
} }
// //
, { ,
{
"path": "PolicyExpress/PolicyExpress", "path": "PolicyExpress/PolicyExpress",
"style": { "style": {
"navigationBarTitleText": "政策速通", "navigationBarTitleText": "政策速通",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
} }
// //
, { ,
{
"path": "PolicyExpress/PolicyExpressDetail", "path": "PolicyExpress/PolicyExpressDetail",
"style": { "style": {
"navigationBarTitleText": "详情", "navigationBarTitleText": "详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
}, { {
"path": "PingJiaList/PingJiaList", "path": "PingJiaList/PingJiaList",
"style": { "style": {
"navigationBarTitleText": "评价列表", "navigationBarTitleText": "评价列表",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }
] ]
}, },
@ -616,16 +608,28 @@
"navigationBarTitleText": "线上看展", "navigationBarTitleText": "线上看展",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
// 线
{
"path": "xskz/details",
"style": {
"navigationBarTitleText": "线上看展——详情",
"enablePullDownRefresh": false,
"usingComponents": {
"player-component": "plugin://player/video"
}
}
} }
] ]
} }
], ],
"preloadRule": { "preloadRule": {
"pages/pageHome/pageHome": { "pages/pageHome/pageHome": {
"network": "all", "network": "all",
"packages": [ "packages": [
"pagesA/", "pagesB/", "pagesC/" "pagesA/",
"pagesB/",
"pagesC/"
] ]
} }
}, },

View File

@ -0,0 +1,19 @@
<template>
<view>
<player-component vid="p0743x9grjv"></player-component>
</view>
</template>
<script>
export default {
data() {
return {};
},
onShow() {},
mounted() {},
methods: {},
};
</script>
<style>
</style>

View File

@ -1,7 +1,7 @@
<template> <template>
<!-- 文艺下乡 --> <!-- 文艺下乡 -->
<view class="wyxx"> <view class="wyxx">
<view class="tabTitle"> <!-- <view class="tabTitle">
<view :class="tabC == '0' ? 'tabsC' : 'tabs'" @click="toTab('0')"> <view :class="tabC == '0' ? 'tabsC' : 'tabs'" @click="toTab('0')">
<view> 分类 </view> <view> 分类 </view>
<view class="line"></view> <view class="line"></view>
@ -22,19 +22,10 @@
<view> 分类4 </view> <view> 分类4 </view>
<view class="line"></view> <view class="line"></view>
</view> </view>
</view> </view> -->
<view class="forms" v-if="tabC == '0'"> <view class="forms">
<view class="teamBox" v-for="(item, index) in videoList"> <view class="teamBox" v-for="(item, index) in videoList" :key="item.id">
<view class="teamBox-top"> <view class="teamBox-top">
<!-- <video
id="video"
style="width: 100%; height: 100%"
object-fit="cover"
controls
:src="item.video"
poster="../../static/orderE.png"
>
</video> -->
<view class="mask" @click="playMask(index)" v-if="item.play"> <view class="mask" @click="playMask(index)" v-if="item.play">
<text>{{ item.title }}</text> <text>{{ item.title }}</text>
<image src="../../static/play.png"></image> <image src="../../static/play.png"></image>
@ -42,7 +33,7 @@
</view> </view>
<view class="teamBox-bottom"> <view class="teamBox-bottom">
<view class="interactive"> <view class="interactive">
<image src="../../static/play.png" mode=""></image> <image src="../../static/play-1.png" mode=""></image>
<view class="title">{{ item.playback }}</view> <view class="title">{{ item.playback }}</view>
</view> </view>
<view class="interactive"> <view class="interactive">
@ -63,7 +54,7 @@
export default { export default {
data() { data() {
return { return {
tabC: "0", // tabC: "0",
videoList: [ videoList: [
{ {
title: title:
@ -74,12 +65,18 @@ export default {
// video: "../../static/a1.mp4", // video: "../../static/a1.mp4",
play: true, play: true,
}, },
], ],
list: [],
query: {
total: 1,
page: 1,
size: 20,
},
}; };
}, },
onShow() { onShow() {
// this.getData(); // this.getData();
this.get();
}, },
mounted() {}, mounted() {},
methods: { methods: {
@ -87,9 +84,26 @@ export default {
this.tabC = val; this.tabC = val;
// this.getData() // this.getData()
}, },
get() {
this.http
.request("/exhibition/list", this.query, "GET")
.then((res) => {
if (res.code == 200) {
this.list = res.data.records;
this.query.total = res.data.total;
this.query.page = res.data.current;
this.query.size = res.data.size;
}
})
.catch((err) => {
uni.showToast({
title: e.data.message,
icon: "none",
});
});
},
playMask(index) { playMask(index) {
this.videoList[index].play = false; this.videoList[index].play = false;
var video = document.getElementById("video"); var video = document.getElementById("video");
// //
video.addEventListener("pause", function (e) { video.addEventListener("pause", function (e) {

BIN
src/static/play-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

18763
yarn.lock

File diff suppressed because it is too large Load Diff