185 lines
4.0 KiB
Vue
185 lines
4.0 KiB
Vue
<template>
|
|
<tpx-layout>
|
|
<template v-slot:body>
|
|
<view class="dt-block">
|
|
<view class="dt-tle">
|
|
<view class="t1">海关申报信息</view>
|
|
<view class="t2"></view>
|
|
</view>
|
|
<u-line margin="20rpx 0 20rpx"></u-line>
|
|
<view class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;" >
|
|
<tpx-select v-model:value="baseFormData.type1" :list="baoguanList"
|
|
mode="drop" customInput="true"
|
|
>
|
|
<u-row>
|
|
<view>
|
|
<u-text text="报关方式" size="28" :bold="true"></u-text>
|
|
</view>
|
|
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
<u-text align="right" margin="0 12rpx 0 0" size="26" text="请选择"></u-text>
|
|
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
</u-row>
|
|
</u-row>
|
|
</tpx-select>
|
|
</view>
|
|
<view class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;">
|
|
<tpx-select v-model:value="baseFormData.type2" :list="qingguanList"
|
|
mode="drop" customInput="true"
|
|
>
|
|
<u-row>
|
|
<view>
|
|
<u-text text="清关方式" size="28" :bold="true"></u-text>
|
|
</view>
|
|
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
<u-text align="right" margin="0 12rpx 0 0" size="26" text="请选择"></u-text>
|
|
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
</u-row>
|
|
</u-row>
|
|
</tpx-select>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="dt-block">
|
|
<view class="dt-tle">
|
|
<view class="t1">申报物品信息</view>
|
|
<view class="t2"></view>
|
|
</view>
|
|
<u-line margin="20rpx 0 20rpx"></u-line>
|
|
<view v-for="(item) in baseFormData.ydList" class="yditem">
|
|
<view class="ydi-lab">
|
|
<text class="font-weight">女士针织棉上衣</text>
|
|
</view>
|
|
<view class="ydi-lab mt-10">
|
|
<text class="clr-sub">无 12L 中国内地</text>
|
|
</view>
|
|
<view class="ydi-lab mt-10">
|
|
<text class="clr-prm">12 CNY</text>
|
|
</view>
|
|
</view>
|
|
<u-button custom-style="border-radius: 16rpx;" type="primary">
|
|
<u-row justify="center">
|
|
<view>
|
|
<u-icon name="plus-circle" color="#fff" size="36"></u-icon>
|
|
</view>
|
|
<text class="pl-10">增加货物</text>
|
|
</u-row>
|
|
</u-button>
|
|
</view>
|
|
</template>
|
|
<template v-slot:footer>
|
|
<view class="blcok-white-noradius">
|
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="circle"
|
|
custom-style="height:80rpx;font-size: 30rpx;"
|
|
>确定</u-button>
|
|
</view>
|
|
</template>
|
|
</tpx-layout>
|
|
</template>
|
|
|
|
<script>
|
|
import getCdnUrl from "@/common/getCdnUrl"
|
|
import {
|
|
qingguanList, baoguanList
|
|
} from "@/common/enum"
|
|
import {
|
|
goto
|
|
} from "@/common/untool"
|
|
export default {
|
|
props: {
|
|
// hasLeftWin: {
|
|
// type: Boolean
|
|
// }
|
|
},
|
|
computed: {
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
...(JSON.parse(JSON.stringify({ qingguanList, baoguanList }))),
|
|
baseFormData: {
|
|
ydList: [
|
|
{}
|
|
],
|
|
},
|
|
}
|
|
},
|
|
onShareAppMessage() {
|
|
return {
|
|
// title: '',
|
|
// path: 'TODO'
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.initData();
|
|
},
|
|
onUnload() {
|
|
|
|
},
|
|
methods: {
|
|
getCdnUrl,
|
|
|
|
initData() {
|
|
// uni.showLoading({
|
|
// title: '加载中'
|
|
// });
|
|
},
|
|
handleAnsText(){
|
|
|
|
},
|
|
handleFormChange(){
|
|
|
|
},
|
|
handleSubmit() {
|
|
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import '@/common/uni-nvue.scss';
|
|
|
|
page {
|
|
background-color: #F6F6F6;
|
|
height: 100% !important;
|
|
}
|
|
</style>
|
|
<style scoped lang="scss">
|
|
.dt-block {
|
|
margin-top: 30rpx;
|
|
padding: 30rpx;
|
|
background-color: #FFF;
|
|
position: relative;
|
|
}
|
|
.dt-tle {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
.t1 {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
}
|
|
.t2{
|
|
font-size: 30rpx;
|
|
}
|
|
}
|
|
.dt-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-bottom: 20rpx;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.yditem{
|
|
padding: 20rpx 20rpx;
|
|
background-color: #F6F6F6;
|
|
border-radius: 10rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.ydi-lab{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
</style> |