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", "name": "yxx",
"appid" : "__UNI__77CA6BC", "appid": "__UNI__77CA6BC",
"description" : "", "description": "",
"versionName" : "1.0.0", "versionName": "1.0.0",
"versionCode" : "100", "versionCode": "100",
"transformPx" : false, "transformPx": false,
"app-plus" : { "app-plus": {
/* 5+App */ /* 5+App */
"usingComponents" : true, "usingComponents": true,
"splashscreen" : { "splashscreen": {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender": true,
"waiting" : true, "waiting": true,
"autoclose" : true, "autoclose": true,
"delay" : 0 "delay": 0
}, },
"modules" : {}, "modules": {},
/* */ /* */
"distribute" : { "distribute": {
/* */ /* */
"android" : { "android": {
/* android */ /* android */
"permissions" : [ "permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>", "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>", "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>", "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>", "<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>", "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>", "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>", "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
] ]
}, },
"ios" : {}, "ios": {},
/* ios */ /* ios */
"sdkConfigs" : {} "sdkConfigs": {}
} }
}, },
/* SDK */ /* SDK */
"quickapp" : {}, "quickapp": {},
/* */ /* */
"mp-weixin" : { "mp-weixin": {
"appid" : "wx55b187e6ed92e2ac", "appid": "wx55b187e6ed92e2ac",
"setting" : { "setting": {
"urlCheck" : true, "urlCheck": true,
"minified" : true, "minified": true,
"es6" : true, "es6": true,
"postcss" : true "postcss": true
}, },
"usingComponents" : true, "usingComponents": true,
"lazyCodeLoading" : "requiredComponents", "lazyCodeLoading": "requiredComponents",
"optimization" : { "optimization": {
"subPackages" : true "subPackages": true
} },
}, "plugins": {
"mp-alipay" : { "player": {
"usingComponents" : true "version": "2.1.1",
}, "provider": "wxa75efa648b60994b"
"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, // "mp-alipay": {
"secure" : false, // https "usingComponents": true
"pathRewrite" : { },
"^/pre" : "" "mp-baidu": {
} // pathRewrite/api,/apitarget/api "usingComponents": true
}, },
"/sock" : { "mp-toutiao": {
// "usingComponents": true
"target" : "ws:// 10.0.0.5:8080/webSocket", // },
"changeOrigin" : 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, "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/"
] ]
} }
}, },
@ -635,4 +639,4 @@
"navigationBarBackgroundColor": "#FFFFFF", // "navigationBarBackgroundColor": "#FFFFFF", //
"backgroundColor": "#F8F8F8" // "backgroundColor": "#F8F8F8" //
} }
} }

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