样式
This commit is contained in:
@@ -1,32 +1,80 @@
|
||||
<template>
|
||||
<view>
|
||||
<nav-bar title="空管入库"></nav-bar>
|
||||
<view class="content">
|
||||
<view class="container"></view>
|
||||
<view class="container">
|
||||
<nav-bar title="空管入库"></nav-bar>
|
||||
<view class="content">
|
||||
<view class="wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">物料</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="text" class="filter_input">
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">物料</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="text" class="filter_input">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wrapper grid-wraper">
|
||||
<view class="slide_new">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>任务号</th>
|
||||
<th>指令号</th>
|
||||
<th>起点</th>
|
||||
<th>终点</th>
|
||||
<th>状态</th>
|
||||
<th>agv车号</th>
|
||||
<th>物料类型</th>
|
||||
<th>优先级</th>
|
||||
<th>时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td>{{e.task_no}}</td>
|
||||
<td>{{e.inst_no}}</td>
|
||||
<td>{{e.start_devicecode}}</td>
|
||||
<td>{{e.next_devicecode}}</td>
|
||||
<td>{{e.inst_status_name}}</td>
|
||||
<td>{{e.carno}}</td>
|
||||
<td>{{e.material_type_name}}</td>
|
||||
<td>{{e.priority}}</td>
|
||||
<td>{{e.create_time}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button btn-disabled">入库确认</button>
|
||||
<button class="submit-button">查询</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
},
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
dataList: [{task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}, {task_no: '1'}]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus">
|
||||
|
||||
.grid-wraper
|
||||
height calc(100% - 238rpx)
|
||||
</style>
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<nav-bar title="子卷套管"></nav-bar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
export default {
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<nav-bar title="子卷配送"></nav-bar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
export default {
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<nav-bar title="子卷出站"></nav-bar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
export default {
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
|
||||
@@ -11,8 +11,10 @@
|
||||
<view class="exit-text">退出</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="menu-wrap">
|
||||
<view class="menu-item" v-for="(e, i) in menu" :key="i" @tap="toPage(e.url)">{{e.name}}</view>
|
||||
<view class="wrapper">
|
||||
<view class="menu-wrap">
|
||||
<view class="menu-item" v-for="(e, i) in menu" :key="i" @tap="toPage(e.url)">{{e.name}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -26,7 +28,7 @@
|
||||
};
|
||||
},
|
||||
mounted () {
|
||||
this._handRequest()
|
||||
// this._handRequest()
|
||||
},
|
||||
methods: {
|
||||
async _handRequest () {
|
||||
@@ -53,6 +55,8 @@
|
||||
|
||||
<style lang="stylus">
|
||||
@import '../../common/style/mixin.styl';
|
||||
.content
|
||||
padding-top 0
|
||||
.header
|
||||
height 86rpx
|
||||
_font(36rpx,86rpx,#333,,center)
|
||||
@@ -62,7 +66,8 @@
|
||||
padding 0 30rpx
|
||||
background-color $red
|
||||
_bis('../../static/image/info_bg.png',auto,100%,right,bottom)
|
||||
border-radius: 4px
|
||||
border-radius 12rpx
|
||||
margin-bottom 20rpx
|
||||
.userInfo
|
||||
_fj(,flex-start,column)
|
||||
.p1
|
||||
@@ -83,9 +88,6 @@
|
||||
_font(24rpx,47rpx,#fff,,right)
|
||||
padding-left 10rpx
|
||||
.menu-wrap
|
||||
_wh(100%, calc(100% - 246rpx))
|
||||
overflow-y scroll
|
||||
padding-top 60rpx
|
||||
_fj(flex-start,flex-start,,wrap)
|
||||
align-content: flex-start
|
||||
.menu-item
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
</view>
|
||||
<div class="input-box">
|
||||
<input class="large-input" :password="!showPassword" placeholder="请输入密码" v-model="password">
|
||||
<span class="iconfont icon_eye_close" :class="[showPassword ? 'icon_eye_active' : '']" @click="changePassword"></span>
|
||||
<span class="iconfont icon_eye_close" :class="[showPassword ? 'icon_eye_active' : '']" @tap="changePassword"></span>
|
||||
</div>
|
||||
<view class="radio-box">
|
||||
<view class="radio-wrap">
|
||||
<span class="iconfont icon_unchecked" :class="{'icon_checked': saveUser}" @click="toSaveUser"></span>
|
||||
<span class="iconfont icon_unchecked" :class="{'icon_checked': saveUser}" @tap="toSaveUser"></span>
|
||||
<text class="radio-label">记住用户名</text>
|
||||
</view>
|
||||
<text class="setup-text" @click="setup">设置</text>
|
||||
<text class="setup-text" @tap="setup">设置</text>
|
||||
</view>
|
||||
<button class="login-btn" :disabled="disabled" @click="toLogin">确认登录</button>
|
||||
<button class="login-btn" :disabled="disabled" @tap="toLogin">确认登录</button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -117,6 +117,7 @@
|
||||
.setup-text
|
||||
_font(28rpx, 28rpx,$red,,right)
|
||||
.bg
|
||||
background-color: #fff;
|
||||
_bis('../../static/image/login_bg.png', 100%,,bottom)
|
||||
.login-btn
|
||||
width 100%
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="input-wrap">
|
||||
<view class="input-label">服务器地址:</view>
|
||||
<input type="text" class="setup-input" v-model="addrip">
|
||||
</view>
|
||||
<view class="input-wrap">
|
||||
<view class="input-label">刷新时间(s):</view>
|
||||
<input type="text" class="setup-input" v-model="setTime">
|
||||
<view class="container">
|
||||
<nav-bar title="设置" :inner2="true" @goIn="goIn" :show1="false"></nav-bar>
|
||||
<view class="content">
|
||||
<view class="wrapper">
|
||||
<view class="input-wrap">
|
||||
<view class="input-label">服务器地址</view>
|
||||
<input type="text" class="setup-input" placeholder="请输入服务器地址" v-model="addrip">
|
||||
</view>
|
||||
</view>
|
||||
<view class="wrapper">
|
||||
<view class="input-wrap">
|
||||
<view class="input-label">刷新时间(s)</view>
|
||||
<input type="text" class="setup-input" placeholder="请输入刷新时间" v-model="setTime">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button" @click="_submit">确认</button>
|
||||
@@ -15,7 +22,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
export default {
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
addrip: this.$store.getters.baseUrl,
|
||||
@@ -23,6 +34,11 @@
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
goIn () {
|
||||
uni.redirectTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
},
|
||||
_submit () {
|
||||
if (this.addrip === '') {
|
||||
uni.showToast({
|
||||
@@ -51,15 +67,14 @@
|
||||
<style lang="stylus">
|
||||
@import '../../common/style/mixin.styl';
|
||||
.input-wrap
|
||||
_wh(100%, 126rpx)
|
||||
padding-top 40rpx
|
||||
width 100%
|
||||
_fj()
|
||||
.input-label
|
||||
wh(200rpx, 86rpx)
|
||||
_font(28rpx,86rpx,#464646)
|
||||
wh(200rpx, 58rpx)
|
||||
_font(28rpx,58rpx,#464646)
|
||||
.setup-input
|
||||
_wh(calc(100% - 200rpx), 86rpx)
|
||||
_wh(calc(100% - 200rpx), 58rpx)
|
||||
background #fff
|
||||
_font(28rpx,86rpx,#323232)
|
||||
text-indent: 16rpx;
|
||||
_font(28rpx,58rpx,#323232)
|
||||
padding 0 10rpx
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user