2023-12-05 14:16:45 +00:00
|
|
|
|
<template>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
<tpx-layout>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
<template v-slot:body>
|
|
|
|
|
|
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
|
|
|
|
|
|
|
|
|
|
|
<view class="blcok-white radius-20">
|
|
|
|
|
|
<u-textarea v-model="submitParam.otherDes" border="none" height="110" placeholder="粘贴或输入地址,点击“智能识别”自动拆分姓名、电话和地址" custom-style="border:0;padding: 0;"></u-textarea>
|
|
|
|
|
|
<u-row justify="end">
|
|
|
|
|
|
<view class="mt-10">
|
|
|
|
|
|
<u-button @click="handleAnsText()" type="primary" size="mini" shape="circle" custom-style="width: 130rpx;font-size: 24rpx;padding:0;">智能识别</u-button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</u-row>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2023-12-12 05:36:04 +00:00
|
|
|
|
<view class="mt-40">
|
2024-01-29 10:48:55 +00:00
|
|
|
|
<tpx-select placeholder="国家" v-model:value="country" :list="[]" :isWhite="true" custom-style="border:0;"
|
2023-12-12 05:36:04 +00:00
|
|
|
|
></tpx-select>
|
2023-12-05 14:16:45 +00:00
|
|
|
|
</view>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
|
|
|
|
|
<view class="blcok-white radius-20">
|
|
|
|
|
|
<view class="">
|
|
|
|
|
|
|
|
|
|
|
|
<view style="margin-top: 10rpx;">
|
|
|
|
|
|
<u-row>
|
|
|
|
|
|
<u-col span="4">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-input v-model:value="submitParam.name" placeholder="真实姓名"></tpx-input>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</u-col>
|
|
|
|
|
|
<u-col offset="1" span="7">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-input v-model:value="submitParam.tel" placeholder="电话"></tpx-input>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</u-col>
|
|
|
|
|
|
</u-row>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</view>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
2023-12-12 05:36:04 +00:00
|
|
|
|
<view class="mt-40">
|
2024-01-29 10:48:55 +00:00
|
|
|
|
<tpx-select placeholder="省市区" v-model:value="country" :list="[]" custom-style="border:0;"
|
2023-12-12 05:36:04 +00:00
|
|
|
|
></tpx-select>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</view>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
|
|
|
|
|
<view class="mt-30">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-textarea v-model:value="submitParam.detail" placeholder="详细地址(例如**街道**号**)"></tpx-textarea>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="mt-30">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-input v-model:value="submitParam.tel" placeholder="电话"></tpx-input>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="mt-30">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-input v-model:value="submitParam.tel" placeholder="邮编"></tpx-input>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="mt-30">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-input v-model:value="submitParam.tel" placeholder="邮箱(选填"></tpx-input>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="mt-30">
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<tpx-input v-model:value="submitParam.tel" placeholder="公司名称(选填)"></tpx-input>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</view>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
|
|
|
|
|
<view class="mt-30 pl-30 pr-30">
|
|
|
|
|
|
<u-row justify="between">
|
|
|
|
|
|
<view>
|
|
|
|
|
|
<u-checkbox-group v-model="radiovalue1" placement="column" @change="handleFormChange()">
|
|
|
|
|
|
<u-checkbox
|
|
|
|
|
|
shape="circle"
|
2023-12-10 17:10:09 +00:00
|
|
|
|
size="30" label="默认地址" active-color="#B12D29" la
|
|
|
|
|
|
label-size="28" hange="handleFormChange()"
|
2023-12-05 18:05:39 +00:00
|
|
|
|
>
|
|
|
|
|
|
</u-checkbox>
|
|
|
|
|
|
</u-checkbox-group>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view>
|
2023-12-10 17:10:09 +00:00
|
|
|
|
<u-text text="清空" size="28" color="#0E0708"></u-text>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
</view>
|
|
|
|
|
|
</u-row>
|
|
|
|
|
|
</view>
|
2023-12-05 14:16:45 +00:00
|
|
|
|
</view>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</template>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
<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>
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</template>
|
|
|
|
|
|
</tpx-layout>
|
2023-12-05 14:16:45 +00:00
|
|
|
|
</template>
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
2023-12-05 14:16:45 +00:00
|
|
|
|
<script>
|
|
|
|
|
|
import getCdnUrl from "@/common/getCdnUrl"
|
2023-12-05 18:05:39 +00:00
|
|
|
|
import {
|
|
|
|
|
|
ordStaEnum,
|
|
|
|
|
|
ordStatusList,
|
|
|
|
|
|
payTypeEnum,
|
|
|
|
|
|
payTypeList,
|
|
|
|
|
|
dlvTypeEnum,
|
|
|
|
|
|
dlvTypeList,
|
|
|
|
|
|
dateTypeEnum,
|
|
|
|
|
|
dateTypeList
|
|
|
|
|
|
} from "@/common/enum"
|
|
|
|
|
|
import {
|
|
|
|
|
|
goto
|
|
|
|
|
|
} from "@/common/untool"
|
2023-12-05 14:16:45 +00:00
|
|
|
|
export default {
|
|
|
|
|
|
props: {
|
|
|
|
|
|
// hasLeftWin: {
|
|
|
|
|
|
// type: Boolean
|
|
|
|
|
|
// }
|
|
|
|
|
|
},
|
2023-12-05 16:35:57 +00:00
|
|
|
|
computed: {
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
2023-12-05 16:35:57 +00:00
|
|
|
|
},
|
2023-12-05 14:16:45 +00:00
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
2023-12-05 18:05:39 +00:00
|
|
|
|
submitParam: {
|
|
|
|
|
|
type: 1,
|
|
|
|
|
|
otherDes: ''
|
|
|
|
|
|
}
|
2023-12-05 14:16:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
onShareAppMessage() {
|
|
|
|
|
|
return {
|
2023-12-05 16:35:57 +00:00
|
|
|
|
// title: '',
|
2023-12-05 14:16:45 +00:00
|
|
|
|
// path: 'TODO'
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2023-12-05 16:35:57 +00:00
|
|
|
|
onLoad() {
|
|
|
|
|
|
this.initData();
|
|
|
|
|
|
},
|
|
|
|
|
|
onUnload() {
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
2023-12-05 16:35:57 +00:00
|
|
|
|
},
|
2023-12-05 14:16:45 +00:00
|
|
|
|
methods: {
|
|
|
|
|
|
getCdnUrl,
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
|
|
|
|
|
initData() {
|
|
|
|
|
|
// uni.showLoading({
|
|
|
|
|
|
// title: '加载中'
|
|
|
|
|
|
// });
|
2023-12-05 16:35:57 +00:00
|
|
|
|
},
|
2023-12-05 18:05:39 +00:00
|
|
|
|
handleAnsText(){
|
2023-12-05 16:35:57 +00:00
|
|
|
|
|
|
|
|
|
|
},
|
2023-12-05 18:05:39 +00:00
|
|
|
|
handleFormChange(){
|
2023-12-05 16:35:57 +00:00
|
|
|
|
|
|
|
|
|
|
},
|
2023-12-05 18:05:39 +00:00
|
|
|
|
handleSubmit() {
|
|
|
|
|
|
|
2023-12-05 16:35:57 +00:00
|
|
|
|
},
|
2023-12-05 14:16:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
@import '@/common/uni-nvue.scss';
|
2023-12-05 18:05:39 +00:00
|
|
|
|
|
2023-12-05 16:35:57 +00:00
|
|
|
|
page {
|
|
|
|
|
|
background-color: #F6F6F6;
|
|
|
|
|
|
height: 100% !important;
|
2023-12-05 14:16:45 +00:00
|
|
|
|
}
|
2023-12-05 16:35:57 +00:00
|
|
|
|
</style>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|