| | |
| | | /* iosæå
é
ç½® */ |
| | | "ios" : {}, |
| | | /* SDKé
ç½® */ |
| | | "sdkConfigs" : {} |
| | | "sdkConfigs" : {}, |
| | | "icons" : { |
| | | "android" : { |
| | | "hdpi" : "unpackage/res/icons/72x72.png", |
| | | "xhdpi" : "unpackage/res/icons/96x96.png", |
| | | "xxhdpi" : "unpackage/res/icons/144x144.png", |
| | | "xxxhdpi" : "unpackage/res/icons/192x192.png" |
| | | }, |
| | | "ios" : { |
| | | "appstore" : "unpackage/res/icons/1024x1024.png", |
| | | "ipad" : { |
| | | "app" : "unpackage/res/icons/76x76.png", |
| | | "app@2x" : "unpackage/res/icons/152x152.png", |
| | | "notification" : "unpackage/res/icons/20x20.png", |
| | | "notification@2x" : "unpackage/res/icons/40x40.png", |
| | | "proapp@2x" : "unpackage/res/icons/167x167.png", |
| | | "settings" : "unpackage/res/icons/29x29.png", |
| | | "settings@2x" : "unpackage/res/icons/58x58.png", |
| | | "spotlight" : "unpackage/res/icons/40x40.png", |
| | | "spotlight@2x" : "unpackage/res/icons/80x80.png" |
| | | }, |
| | | "iphone" : { |
| | | "app@2x" : "unpackage/res/icons/120x120.png", |
| | | "app@3x" : "unpackage/res/icons/180x180.png", |
| | | "notification@2x" : "unpackage/res/icons/40x40.png", |
| | | "notification@3x" : "unpackage/res/icons/60x60.png", |
| | | "settings@2x" : "unpackage/res/icons/58x58.png", |
| | | "settings@3x" : "unpackage/res/icons/87x87.png", |
| | | "spotlight@2x" : "unpackage/res/icons/80x80.png", |
| | | "spotlight@3x" : "unpackage/res/icons/120x120.png" |
| | | } |
| | | } |
| | | }, |
| | | "splashscreen" : { |
| | | "androidStyle" : "default", |
| | | "android" : { |
| | | "hdpi" : "static/splash.png", |
| | | "xhdpi" : "static/splash.png", |
| | | "xxhdpi" : "static/splash.png" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | /* å¿«åºç¨ç¹æç¸å
³ */ |
| | |
| | | "lockfileVersion": 1, |
| | | "requires": true, |
| | | "dependencies": { |
| | | "ezuikit-js": { |
| | | "version": "0.7.2", |
| | | "resolved": "https://registry.npmjs.org/ezuikit-js/-/ezuikit-js-0.7.2.tgz", |
| | | "integrity": "sha512-BECy42q371eT4TekLon7YVmiU0u6UwbqEOjqzvbSKd0fVDwFqEaSST72EaiqWhgdfqS+xUg31pMgt1FY6GweRA==" |
| | | }, |
| | | "lodash.get": { |
| | | "version": "4.4.2", |
| | | "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", |
| | |
| | | "author": "",
|
| | | "license": "ISC",
|
| | | "dependencies": {
|
| | | "lodash.get": "^4.4.2"
|
| | | "lodash.get": "^4.4.2",
|
| | | "ezuikit-js": "^0.7.2"
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | }, {
|
| | | "path": "pages/me/video",
|
| | | "style": {
|
| | | "navigationStyle": "custom",
|
| | | "app-plus": {
|
| | | "titleNView": false
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | ],
|
| | | "globalStyle": {
|
| | |
| | | <template>
|
| | | <view class="contaier">
|
| | | <view class="top-bg">
|
| | | <view class="text-white text-bold text-xxxl">æºè½ä¸èè¯å¹²ç¥å°ç¨åºç³»ç»</view>
|
| | | <view class="text-white text-bold text-xxxl">æºè½ä¸èè¯å¹²ç¥è®¾å¤é
å¥ç³»ç»</view>
|
| | | <view class="margin-top-xs text-white">欢è¿ä½¿ç¨ï¼è¯·å
ç»å½</view>
|
| | | </view>
|
| | | <u-form labelPosition="left" :model="model" ref="form">
|
| | |
| | | return {
|
| | | sendMsg: '',
|
| | | recviceMsg: '',
|
| | | baseList: [{
|
| | | baseList: [
|
| | | /* {
|
| | | id: 1010,
|
| | | img: '',
|
| | | title: '维修模å¼',
|
| | | name: 'warning'
|
| | | }, */
|
| | | {
|
| | | id: 1010,
|
| | | img: '',
|
| | | title: 'å¹²ç¥å¯å¨',
|
| | | name: 'play-circle'
|
| | | },
|
| | | {
|
| | | id: 0,
|
| | |
| | | title: '忢è¿è¡',
|
| | | name: 'pause-circle'
|
| | | },
|
| | | // {
|
| | | // id: 1001,
|
| | | // img: '',
|
| | | // title: 'é£ç®±å',
|
| | | // name: 'arrow-up'
|
| | | // }, |
| | | {
|
| | | id: 1001,
|
| | | id: 1005, |
| | | img: '',
|
| | | title: 'é£ç®±å',
|
| | | name: 'arrow-up'
|
| | | title: 'æ»çæ£è½¬', |
| | | name: 'checkmark-circle' |
| | | }, |
| | | { |
| | | id: 1003, |
| | |
| | | name: 'arrow-upward' |
| | | }, |
| | | { |
| | | id: 1005, |
| | | id: 1011, |
| | | img: '', |
| | | title: 'æ»çæ£è½¬', |
| | | name: 'checkmark-circle' |
| | | title: 'åé¨å¼å
³', |
| | | name: 'plus-circle' |
| | | },
|
| | | |
| | | // {
|
| | | // id: 1002,
|
| | | // img: '',
|
| | | // title: 'é£ç®±é',
|
| | | // name: 'arrow-down'
|
| | | // }, |
| | | {
|
| | | id: 1002,
|
| | | id: 1006, |
| | | img: '',
|
| | | title: 'é£ç®±é',
|
| | | name: 'arrow-down'
|
| | | title: 'æ»çå转', |
| | | name: 'close-circle' |
| | | },
|
| | |
|
| | | {
|
| | |
| | | title: 'æ»çé',
|
| | | name: 'arrow-downward'
|
| | | },
|
| | | { |
| | | id: 1012, |
| | | img: '', |
| | | title: 'åé¨å¼å
³', |
| | | name: 'minus-circle' |
| | | }, |
| | | { |
| | | id: 1013, |
| | | img: '', |
| | | title: 'çé£å¯å¨', |
| | | name: 'coupon' |
| | | },
|
| | |
|
| | | {
|
| | | id: 1006,
|
| | | id: 1014,
|
| | | img: '',
|
| | | title: 'æ»çå转',
|
| | | name: 'close-circle'
|
| | | title: 'å¼é¨è§å¯',
|
| | | name: 'eye'
|
| | | },
|
| | | { |
| | | id: 1015, |
| | | img: '', |
| | | title: 'åºæ', |
| | | name: 'shopping-cart' |
| | | },{ |
| | | id: 1016, |
| | | img: '', |
| | | title: 'æ¸
é¤', |
| | | name: 'trash' |
| | | },{ |
| | | id: 1017, |
| | | img: '', |
| | | title: 'æå¨/èªå¨', |
| | | name: 'fingerprint' |
| | | }
|
| | |
|
| | | |
| | | ]
|
| | | }
|
| | | },
|
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template>
|
| | | <view>
|
| | | <view id="video-container1" class="item-player">
|
| | |
|
| | | </view>
|
| | | </view>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | import EZUIKit from "ezuikit-js";
|
| | | export default {
|
| | | data() {
|
| | | return {
|
| | |
|
| | | }
|
| | | },
|
| | | mounted() {
|
| | | this.initPlayer1()
|
| | |
|
| | | },
|
| | | methods: {
|
| | | initPlayer1() {
|
| | | var width = document.documentElement.clientWidth;
|
| | | var height = document.documentElement.clientWidth * 9 / 16;
|
| | | const player1 = new EZUIKit.EZUIKitPlayer({
|
| | | id: "video-container1", // è§é¢å®¹å¨ID
|
| | | accessToken: 'at.3aw83ov4az77j8s87flvj2a36lctx64d-7awt1ntwzz-024wi8h-bpwhdobad',
|
| | | url: 'ezopen://open.ys7.com/C24284281/1.hd.live',
|
| | | template: 'mobileLive',
|
| | | plugin: ["talk"], // å è½½æä»¶ï¼talk-对讲
|
| | | width: width,
|
| | | height: height,
|
| | | handleSuccess: (res => {
|
| | | console.info(res);
|
| | | console.info("åå§åæå");
|
| | | }),
|
| | | handleError: (res => {
|
| | | console.info(res);
|
| | | if (res.retcode == "10002") {
|
| | | console.info("åå§å失败ï¼tokenè¿æ");
|
| | | }
|
| | | })
|
| | | });
|
| | | setTimeout(() => {
|
| | | console.info("å¼å§èªå¨ææ¾1å·")
|
| | | player1.play();
|
| | | }, 1000);
|
| | | }
|
| | |
|
| | | }
|
| | | }
|
| | | </script>
|
| | |
|
| | | <style>
|
| | |
|
| | | </style> |
| | |
| | |
|
| | | -->
|
| | | <cu-custom bgColor="bg-gradual-blue" :isBack="false">
|
| | | <block slot="content">æºè½ä¸èè¯å¹²ç¥å°ç¨åºç³»ç»</block>
|
| | | <block slot="content">æºè½ä¸èè¯å¹²ç¥è®¾å¤é
å¥ç³»ç»</block>
|
| | | </cu-custom>
|
| | | <u-toast ref="uToast"></u-toast>
|
| | | <!-- <view class="card-box dynamic shadow cu-list menu">
|
| | |
| | | </button>
|
| | | </view>
|
| | | <view class="cu-item">
|
| | | <button class='content cu-btn' @click="itemClick">
|
| | | <button class='content cu-btn' @click="itemClick('video')">
|
| | | <image src='../../static/me/icon/jiankong.png' class='png' mode='aspectFit'></image>
|
| | | <text class='text-lg margin-sm'>宿¶çæ§</text>
|
| | | </button>
|
| | | </view> |
| | | |
| | | <view class="cu-item"> |
| | | <button class='content cu-btn' @click="itemClick('control')"> |
| | | <image src='../../static/me/icon/diannao.png' class='png' mode='aspectFit'></image>
|
| | | <text class='text-lg margin-sm'>è¿ç¨æ§å¶</text>
|
| | | </button>
|
| | |
| | | mounted() {
|
| | | },
|
| | | methods: { |
| | | itemClick(){ |
| | | itemClick(mode){ |
| | | if(mode == 'control'){ |
| | | uni.navigateTo({ |
| | | url:"/pages/me/control" |
| | | }) |
| | | }else if(mode == 'video'){ |
| | | uni.navigateTo({ |
| | | url:"/pages/me/video" |
| | | }) |
| | | } |
| | | },
|
| | | exit() {
|
| | | this.show = true
|
| | |
| | | model: {},
|
| | | queryParam: {
|
| | | machineid: "GM001",
|
| | | tenantid: 1000
|
| | | tenantid: 1003
|
| | | },
|
| | | bannerList: [{
|
| | | imageUrl: '../../static/image/zcy_gzj1.png'
|