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

@ -1,110 +1,117 @@
{
"name" : "yxx",
"appid" : "__UNI__77CA6BC",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
"app-plus" : {
/* 5+App */
"usingComponents" : true,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"modules" : {},
/* */
"distribute" : {
/* */
"android" : {
/* android */
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"ios" : {},
/* ios */
"sdkConfigs" : {}
}
},
/* SDK */
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wx55b187e6ed92e2ac",
"setting" : {
"urlCheck" : true,
"minified" : true,
"es6" : true,
"postcss" : true
},
"usingComponents" : true,
"lazyCodeLoading" : "requiredComponents",
"optimization" : {
"subPackages" : true
}
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"mp-qq" : {
"usingComponents" : true
},
"h5" : {
"router" : {
"mode" : "hash"
},
"title" : "艺象心",
"devServer" : {
"disableHostCheck" : true, // Host false
"proxy" : {
// vueproxyTable,
"/pre" : {
//
"target" : "http://192.168.1.3:8080/h5/api", //
"name": "yxx",
"appid": "__UNI__77CA6BC",
"description": "",
"versionName": "1.0.0",
"versionCode": "100",
"transformPx": false,
"app-plus": {
/* 5+App */
"usingComponents": true,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
"modules": {},
/* */
"distribute": {
/* */
"android": {
/* android */
"permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"ios": {},
/* ios */
"sdkConfigs": {}
}
},
/* SDK */
"quickapp": {},
/* */
"mp-weixin": {
"appid": "wx55b187e6ed92e2ac",
"setting": {
"urlCheck": true,
"minified": true,
"es6": true,
"postcss": true
},
"usingComponents": true,
"lazyCodeLoading": "requiredComponents",
"optimization": {
"subPackages": true
},
"plugins": {
"player": {
"version": "2.1.1",
"provider": "wxa75efa648b60994b"
}
}
// "target" : "https://yxx.ydool.net/h5/api", //
"changeOrigin" : true, //
"secure" : false, // https
"pathRewrite" : {
"^/pre" : ""
} // pathRewrite/api,/apitarget/api
},
"/sock" : {
//
"target" : "ws:// 10.0.0.5:8080/webSocket", //
"changeOrigin" : true //
}
}
}
}
},
"mp-alipay": {
"usingComponents": true
},
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao": {
"usingComponents": true
},
"mp-qq": {
"usingComponents": true
},
"h5": {
"router": {
"mode": "hash"
},
"title": "艺象心",
"devServer": {
"disableHostCheck": true, // Host false
"proxy": {
// vueproxyTable,
"/pre": {
//
"target": "http://192.168.1.3:8080/h5/api", //
// "target" : "https://yxx.ydool.net/h5/api", //
"changeOrigin": true, //
"secure": false, // https
"pathRewrite": {
"^/pre": ""
} // pathRewrite/api,/apitarget/api
},
"/sock": {
//
"target": "ws:// 10.0.0.5:8080/webSocket", //
"changeOrigin": true //
}
}
}
}
}

View File

@ -9,13 +9,13 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
},
{
"path": "pages/pageHome/pdfView",
"style": {
"navigationBarTitleText": "文件浏览",
"enablePullDownRefresh": false
}
}
],
"subPackages": [{
@ -49,7 +49,6 @@
"navigationBarTitleText": "修改地址",
"enablePullDownRefresh": false
}
},
{
"path": "activeManage/activeManage",
@ -58,7 +57,6 @@
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
},
{
"path": "activeManage/signIn",
@ -66,7 +64,6 @@
"navigationBarTitleText": "签到管理",
"enablePullDownRefresh": false
}
},
{
"path": "activeManage/examine",
@ -74,7 +71,6 @@
"navigationBarTitleText": "审核管理",
"enablePullDownRefresh": false
}
},
{
"path": "activeManage/examineList",
@ -83,7 +79,6 @@
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
},
{
"path": "activeManage/toGm",
@ -91,7 +86,6 @@
"navigationBarTitleText": "申请冠名",
"enablePullDownRefresh": false
}
},
{
"path": "activeManage/qdList",
@ -99,7 +93,6 @@
"navigationBarTitleText": "签到详情",
"enablePullDownRefresh": false
}
},
//
{
@ -176,7 +169,6 @@
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
},
{
"path": "my/imgUpload",
@ -184,14 +176,13 @@
"navigationBarTitleText": "图片上传",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "my/evaluated",
"style": {
"navigationBarTitleText": "已评价",
"enablePullDownRefresh": false
}
},
{
"path": "my/uploadedImgShow",
@ -199,7 +190,6 @@
"navigationBarTitleText": "已传图片",
"enablePullDownRefresh": false
}
}
]
},
@ -211,22 +201,22 @@
"navigationBarTitleText": "文艺比赛",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "ArtRace/ArtRaceDetail",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
},
{
"path": "ArtRace/ThrowWork",
"style": {
"navigationBarTitleText": "投稿",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "ConfirmOrder/ConfirmOrder",
"style": {
"navigationBarTitleText": "确认订单",
@ -234,7 +224,8 @@
}
}
//-线
, {
,
{
"path": "ConfirmOrder/fictitiousOrder",
"style": {
"navigationBarTitleText": "确认订单",
@ -242,21 +233,23 @@
}
}
//-
, {
,
{
"path": "ConfirmOrder/purchaseDetail",
"style": {
"navigationBarTitleText": "购买详情",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "MyOrder/MyOrder",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}, {
},
{
"path": "MyOrder/detail",
"style": {
"navigationBarTitleText": "订单详情",
@ -277,7 +270,6 @@
"navigationBarTitleText": "我的积分",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
//
@ -312,84 +304,85 @@
}
}
//
, {
,
{
"path": "ArtWorks/ArtWorks",
"style": {
"navigationBarTitleText": "文艺作品",
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}, {
},
{
"path": "ArtWorks/artWorkDetail",
"style": {
"navigationBarTitleText": "作品详情",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "ArtWorks/webView",
"style": {
"navigationBarTitleText": "文件浏览",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "improveData/improveData",
"style": {
"navigationBarTitleText": "完善资料",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "PersonalCenter/PersonalCenter",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "PersonalCenter/ReEditSingleInfo",
"style": {
"navigationBarTitleText": "信息修改",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "PersonalCenter/changePasw",
"style": {
"navigationBarTitleText": "修改密码",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "PublishWorks/PublishWorks",
"style": {
"navigationBarTitleText": "发布作品",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "PublishWorks/PublishWorksNext",
"style": {
"navigationBarTitleText": "发布作品",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "literFamily/literFamily",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}, {
},
{
"path": "literFamily/ActJianDetail",
"style": {
"navigationBarTitleText": "活动剪影详情",
"enablePullDownRefresh": false
}
}
]
},
@ -412,35 +405,35 @@
}
}
//
, {
,
{
"path": "activity/activityDetail",
"style": {
"navigationBarTitleText": "动态详情",
"enablePullDownRefresh": false
}
} //
, {
,
{
"path": "ArtActivities/ArtActivities",
"style": {
"navigationBarTitleText": "文艺活动",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "AwardWinningWork/AwardWinningWork",
"style": {
"navigationBarTitleText": "艺起战疫获奖作品",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "DataSearch/DataSearch",
"style": {
"navigationBarTitleText": "资料查找",
"enablePullDownRefresh": false
}
},
{
"path": "enjoy/enjoy",
@ -456,18 +449,18 @@
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}, {
},
{
"path": "famousArts/famousArts",
"style": {
"enablePullDownRefresh": false
}
}, {
},
{
"path": "folderDetail/folderDetail",
"style": {
"enablePullDownRefresh": false
}
},
{
"path": "literHelp/literHelp",
@ -475,31 +468,32 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
},
{
"path": "Login/Login",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
},
{
"path": "Login/Register",
"style": {
"enablePullDownRefresh": false
}
}, {
},
{
"path": "Login/setPas",
"style": {
"navigationBarTitleText": "绑定账号",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "Login/RemeberPW",
"style": {
"enablePullDownRefresh": false
}
},
{
"path": "Login/binding",
@ -536,14 +530,13 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
},
{
"path": "SelectId/SelectId",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "shop/Shop",
@ -552,41 +545,40 @@
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}, {
},
{
"path": "ShoppingCart/ShoppingCart",
"style": {
"navigationBarTitleText": "购物车",
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}
//
, {
,
{
"path": "PolicyExpress/PolicyExpress",
"style": {
"navigationBarTitleText": "政策速通",
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
}
//
, {
,
{
"path": "PolicyExpress/PolicyExpressDetail",
"style": {
"navigationBarTitleText": "详情",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "PingJiaList/PingJiaList",
"style": {
"navigationBarTitleText": "评价列表",
"enablePullDownRefresh": false
}
}
]
},
@ -616,16 +608,28 @@
"navigationBarTitleText": "线上看展",
"enablePullDownRefresh": false
}
},
// 线
{
"path": "xskz/details",
"style": {
"navigationBarTitleText": "线上看展——详情",
"enablePullDownRefresh": false,
"usingComponents": {
"player-component": "plugin://player/video"
}
}
}
]
}
],
"preloadRule": {
"pages/pageHome/pageHome": {
"network": "all",
"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>
<!-- 文艺下乡 -->
<view class="wyxx">
<view class="tabTitle">
<!-- <view class="tabTitle">
<view :class="tabC == '0' ? 'tabsC' : 'tabs'" @click="toTab('0')">
<view> 分类 </view>
<view class="line"></view>
@ -22,19 +22,10 @@
<view> 分类4 </view>
<view class="line"></view>
</view>
</view>
<view class="forms" v-if="tabC == '0'">
<view class="teamBox" v-for="(item, index) in videoList">
</view> -->
<view class="forms">
<view class="teamBox" v-for="(item, index) in videoList" :key="item.id">
<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">
<text>{{ item.title }}</text>
<image src="../../static/play.png"></image>
@ -42,7 +33,7 @@
</view>
<view class="teamBox-bottom">
<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>
<view class="interactive">
@ -63,7 +54,7 @@
export default {
data() {
return {
tabC: "0",
// tabC: "0",
videoList: [
{
title:
@ -74,12 +65,18 @@ export default {
// video: "../../static/a1.mp4",
play: true,
},
],
list: [],
query: {
total: 1,
page: 1,
size: 20,
},
};
},
onShow() {
// this.getData();
this.get();
},
mounted() {},
methods: {
@ -87,9 +84,26 @@ export default {
this.tabC = val;
// 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) {
this.videoList[index].play = false;
var video = document.getElementById("video");
//
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