| | |
| | | .text-content { |
| | | width: 100%; |
| | | height: 100%; |
| | | font-size: 44rpx; |
| | | font-size: 2vw; |
| | | /* background-color: aliceblue; */ |
| | | } |
| | | .swiper-head { |
| | |
| | | flex-wrap: wrap; |
| | | align-items: center; |
| | | text-align: start; |
| | | border-bottom: 2px solid #000; |
| | | border-bottom: 0.1vw solid #000; |
| | | background-color: rgba(0, 0, 0, .2); |
| | | } |
| | | .swiper-item:nth-child(2n-1) { |
| | |
| | | display-multiple-items 同时显示的滑块数量 --> |
| | | <swiper class="swiper-body-main" vertical="true" |
| | | display-multiple-items="3" |
| | | circular="true" :autoplay="true" :interval="3000" :duration="2000"> |
| | | circular="true" :autoplay="true" :interval="5000" :duration="2000"> |
| | | <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i"> |
| | | <view style="width: 30%;">{{i+1}} / {{swiperList.length}}</view> |
| | | <!-- <view style="width: 30%;">料号: {{item.matnr}}</view> --> |
| | | <view style="width: 40%;">料号: {{item.matnr}}</view> |
| | | <view style="width: 30%;">备注: {{item.orderNo}}</view> |
| | | <view style="width: 30%;">规格: {{item.specs}}</view> |
| | | |
| | | |
| | | <view style="width: 30%;">出库: {{item.count}} / 总数: {{item.total}}</view> |
| | |
| | | // this.getUrl() |
| | | }, |
| | | onLoad() { |
| | | this.ws() |
| | | // this.ws() |
| | | setInterval(()=>{ |
| | | // this.getServerData() |
| | | // this.initlineChart() |
| | | // this.initPieChart() |
| | | // this.getOther() |
| | | // this.getDate() |
| | | // this.getDate2() |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | this.getDate() |
| | | this.getDate2() |
| | | this.getInfo() |
| | | // this.getError() |
| | | this.getError() |
| | | // this.getInfo2() |
| | | // this.getError2() |
| | | // this.getUrl() |
| | | // this.controller() |
| | | this.getUrl() |
| | | this.controller() |
| | | |
| | | // 测试用 |
| | | |
| | |
| | | ledId: that.baseLedId, |
| | | }, |
| | | success(result) { |
| | | console.log(result); |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | that.baseInfo.xDistance = res.data.xDistance |
| | |
| | | }, |
| | | "legend": { |
| | | "bottom": 'left', |
| | | "itemWidth": 10, |
| | | "itemHeight": 8, |
| | | "textStyle": { |
| | | "color": '#cccccc' |
| | | } |
| | |
| | | "position": 'top', |
| | | }, |
| | | "labelLine": { |
| | | "show": true |
| | | "show": false |
| | | }, |
| | | }, |
| | | }, |