123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- <template>
- <view class="app-content">
- <view class="header">
- <view class="log" @tap="fall"></view>
- </view>
- <!-- <view class="nav">
- <view :class="action === index ? 'nav_lists': 'nav_list'" v-for="(item, index) in list" :key="index" @tap="lop(index)">{{item.name}}</view>
- </view> -->
- <uni-swiper-dot :info="info" :current="current" field="content" :mode="mode">
- <swiper class="swiper-box" @change="change" style="height:11rem">
- <swiper-item v-for="(item ,index) in info" :key="index" >
- <view class="swiper-item">
- <image style="width:100%" src="../../static/bg.png" mode="widthFix"></image>
- </view>
- </swiper-item>
- </swiper>
- </uni-swiper-dot>
- <view class="content" :style="{top:dataheight}">
- <uni-section title="行李详情" type="line"></uni-section>
- <view class="choice" @touchmove="movetran">
- <scroll-view scroll-y="true" class="scroll-Y">
- <view class="list">
- <view class="lable">航班号</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="航班号" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">航班日期</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="航班日期" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">行李牌号</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="行李牌号" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">操作节点</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="操作节点" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">操作位置</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="操作位置" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">操作时间</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="操作时间" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">操作人</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="操作人" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">发往节点</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="发往节点" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">发往位置</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="发往位置" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">特殊行李类型</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="特殊行李类型" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">异常类型</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="异常类型" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">装车状态</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="装车状态" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">装车序号</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="装车序号" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">容器</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="容器" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- <view class="list">
- <view class="lable">备注</view>
- <uni-easyinput :inputBorder="false" :styles="style" :disabled="true" v-model="dataheight"
- type="text" placeholder="备注" />
- </uni-forms>
- <view class="listup"></view>
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- style: {
- disableColor: "#fff",
- color: "#000"
- },
- detailedTable: [{
- name: '离港:HU7410 CKG-CSX (113/171)'
- },
- {
- name: '离港:HU7410 CKG-CSX (113/171)'
- },
- {
- name: '离港:HU7410 CKG-CSX (113/171)'
- },
- {
- name: '离港:HU7410 CKG-CSX (113/171)'
- },
- {
- name: '离港:HU7410 CKG-CSX (113/171)'
- }
- ],
- dataheight: '10.75rem',
- info: [{
- content: '内容 A'
- }, {
- content: '内容 B'
- }, {
- content: '内容 C'
- }],
- current: 0,
- mode: 'round',
- }
- },
- created(option) {},
- onLoad() {},
- onUnload() {},
- onShow() {},
- mounted() {},
- components: {},
- methods: {
- movetran(e) {
- let arr = uni.getSystemInfoSync().windowHeight;
- this.dataheight = (e.changedTouches[0].clientY / 16) + 'rem'
- if (e.changedTouches[0].clientY / 16 > 10.75) {
- this.dataheight = 10.75 + 'rem'
- } else if (e.changedTouches[0].clientY / 16 < 3.75) {
- this.dataheight = 3.75 + 'rem'
- }
- },
- uplist() {
- uni.redirectTo({
- url: "/pages/loadingdetails/index"
- })
- },
- lop(index) {
- this.action = index
- },
- seach() {
- uni.redirectTo({
- url: "/pages/search/index"
- })
- },
- fall() {
- uni.switchTab({
- url: "/pages/mypage/index"
- })
- },
- change(e) {
- this.current = e.detail.current;
- }
- },
- }
- </script>
- <style lang="scss" scoped>
- .app-content {
- >.header {
- width: 100%;
- height: 4.375rem;
- display: flex;
- justify-content: center;
- align-items: center;
- // background: rgba(49,85,99,1);
- color: rgb(16, 17, 22);
- font-family: Noto Sans SC;
- font-size: 1rem;
- position: fixed;
- left:0;
- top:0;
- z-index: 1;
- >.log {
- width: .375rem;
- height: .75rem;
- font-size: .75rem;
- position: absolute;
- left: 1.5rem;
- background: url('../../static/ico@1x.png') no-repeat;
- background-size: 100% 100%;
- }
- >.up {
- width: .8456rem;
- height: .8456rem;
- position: absolute;
- right: 1.5rem;
- background: url('../../static/search.png') no-repeat;
- background-size: 100% 100%;
- // color: rgb(37, 121, 160);
- // font-family: Noto Sans SC;
- // font-size: .875rem;
- // font-weight: 500;
- }
- }
- >.content {
- width: 100%;
- // height: calc(100vh - 20.9375rem - 4.375rem);
- padding-bottom: 0;
- position: absolute;
- bottom: 0;
- top: 10.75rem;
- border-radius: 6px 6px 0px 0px;
- overflow: hidden;
- background: rgb(255, 255, 255);
- >.choice {
- width: 100%;
- // height: 3.75rem;
- display: flex;
- align-items: center;
- padding: 0 0 0 0.8rem;
- box-sizing: border-box;
- >.scroll-Y {
- // height: calc(100% - 2.5rem - 2.75rem - 2.25rem - 2.25rem);
- width: 100%;
- height: 27.75rem;
- .list {
- height: 3.375rem;
- display: flex;
- align-items: center;
- border-bottom: 1px solid rgb(238, 238, 238);
- position: relative;
- color: rgb(0, 0, 0);
- font-family: Noto Sans SC;
- font-size: 13px;
- font-weight: 400;
- >.lable {
- color: rgb(0, 0, 0);
- font-family: Noto Sans SC;
- font-size: 13px;
- font-weight: 500;
- line-height: 19px;
- letter-spacing: 0px;
- text-align: left;
- width: 6rem;
- }
- >.listup {
- width: .25rem;
- height: .5rem;
- background: url('../../static/icos.png') no-repeat;
- background-size: 100% 100%;
- position: absolute;
- right: 1.5rem;
- }
- }
- }
- }
- .but {
- width: 20.5625rem;
- height: 2.5rem;
- background: linear-gradient(179.10deg, rgba(51, 161, 165, 1.00) 11.326%, rgba(59, 111, 142, 1.00) 119.032%, rgba(59, 111, 142, 1.00) 119.032%, rgba(59, 111, 142, 1.00) 119.032%);
- border-radius: .25rem;
- color: rgb(255, 255, 255);
- font-family: Noto Sans SC;
- font-size: 1rem;
- margin: 0 auto;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 0.25rem;
- margin-bottom: 2.25rem;
- }
- }
- }
- </style>
|