Payment flow refined

This commit is contained in:
Vion
2022-01-23 19:29:46 +08:00
parent 8ff86279a0
commit c5e5978615
17 changed files with 141 additions and 74 deletions

View File

@@ -21,7 +21,7 @@
<div class="rc-max-width--xl rc-people rc-useaddress">
<span>详细地址:</span>
<input type="text" placeholder="小区、门牌号等" class="userinput" v-model="alladdress">
<textarea rows="10" cols="30" placeholder="请输入详细地址">
<textarea rows="10" cols="30" placeholder="请输入详细地址" v-model="alladdress">
</textarea>
</div>
@@ -91,20 +91,18 @@ export default {
},
methods: {
onGetMenu(values){
console.log(values,+'111111');
let user=values[2].id;
user=user.split('-');
this.provinceId=user[0];
this.cityId=user[1];
this.districtId=user[2];
console.log(values,+'111111');
let user=values[2].id;
user=user.split('-');
this.provinceId=user[0];
this.cityId=user[1];
this.districtId=user[2];
},
handleClose1(){
this.dialogInfo1 = false
this.dialogInfo1 = false
},
register(){
console.log(this.tel)
if ( this.alladdress==='') {
if (this.alladdress==='') {
this.$message({
type: 'warning',
message: '请输入详细地址 '

View File

@@ -2,6 +2,7 @@
<div>
<Myheader></Myheader>
<div class="rc-top"></div>
<tabs :crumbs="crumbs"></tabs>
<div class="online bold"></div>
<div class="usercontshow rc-max-width--xl">
<div class="usercontend" v-for="(item, index) in list" :key="index">
@@ -67,10 +68,19 @@
<script>
import Myheader from '~/components/header.vue'
import MyFooter from '~/components/rc-footer.vue'
import tabs from "~/components/tabs.vue";
import { selectaddress,editupdate,editdelete} from "../../ajax/getData";
export default {
data() {
return {
crumbs:[
{
path:'/personal/mypersonal/',
},
{
path:'/useraddress/openaddress/',
}
],
chosenAddressId: "1",
checked: true,
userid: null,
@@ -176,7 +186,8 @@ export default {
},
components: {
Myheader,
MyFooter
MyFooter,
tabs
},
mounted() {
@@ -191,6 +202,5 @@ export default {
</script>
<style lang="less" scoped >
@import url("../../assets/css/global.less");
@import url("../../assets/css/openaddress.less");
</style>