界面修改
This commit is contained in:
parent
069e8c30e7
commit
1d82db35bf
@ -101,7 +101,7 @@ export default {
|
|||||||
if(this.mark < this.allList.length){
|
if(this.mark < this.allList.length){
|
||||||
this.waterFall()
|
this.waterFall()
|
||||||
}
|
}
|
||||||
console.log(this.rightList,this.leftList)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
immediate: true,
|
immediate: true,
|
||||||
|
@ -70,7 +70,13 @@
|
|||||||
</view>
|
</view>
|
||||||
<u-picker :defaultIndex="[0,0]" :show="showPicker" ref="uPicker" :columns="columnData" @confirm="confirm"
|
<u-picker :defaultIndex="[0,0]" :show="showPicker" ref="uPicker" :columns="columnData" @confirm="confirm"
|
||||||
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker>
|
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker>
|
||||||
|
<!-- <m-tabbar native>
|
||||||
|
<template v-slot:tabbar_index_2>
|
||||||
|
<view class="custom_style">
|
||||||
|
<view class="custom_style_icon"></view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
</m-tabbar> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -264,13 +270,14 @@
|
|||||||
},
|
},
|
||||||
// 初始化菜单
|
// 初始化菜单
|
||||||
initMenu() {
|
initMenu() {
|
||||||
let all = uni.getStorageSync('gatherAllMenuList');
|
|
||||||
let now = uni.getStorageSync('gatherNowMenuList');
|
let now = uni.getStorageSync('gatherNowMenuList');
|
||||||
if (all) {
|
try {
|
||||||
this.AllMenuList = JSON.parse(all);
|
|
||||||
}
|
|
||||||
if (now) {
|
|
||||||
this.nowMenuList = JSON.parse(now);
|
this.nowMenuList = JSON.parse(now);
|
||||||
|
this.AllMenuList = this.AllMenuList.filter((item) => {
|
||||||
|
return this.nowMenuList.find(t => t.name == item.name)?.name != item.name;
|
||||||
|
})
|
||||||
|
} catch (e) {
|
||||||
|
this.nowMenuList = [];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
clickMenu(e, data) {
|
clickMenu(e, data) {
|
||||||
@ -299,8 +306,7 @@
|
|||||||
},
|
},
|
||||||
// 编辑完成
|
// 编辑完成
|
||||||
editComfirm() {
|
editComfirm() {
|
||||||
this.editFlag = false;
|
this.editFlag = false;
|
||||||
uni.setStorageSync('gatherAllMenuList', JSON.stringify(this.AllMenuList));
|
|
||||||
uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList));
|
uni.setStorageSync('gatherNowMenuList', JSON.stringify(this.nowMenuList));
|
||||||
},
|
},
|
||||||
getUniMp(appid) {
|
getUniMp(appid) {
|
||||||
@ -377,7 +383,7 @@
|
|||||||
this.street = res.data.address_component.street
|
this.street = res.data.address_component.street
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$bus.$emit('value-updated', this.street + ',' +
|
this.$bus.$emit('value-updated', this.street + ',' +
|
||||||
street_id);
|
street_id);
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- #ifdef MP -->
|
<!-- #ifdef MP -->
|
||||||
<view :style="viewColor" style="padding-top: 180rpx;">
|
<view :style="viewColor" style="padding-top: 180rpx;">
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef APP || H5 -->
|
<!-- #ifdef APP || H5 -->
|
||||||
<view :style="viewColor" style="padding-top: 80rpx;">
|
<view :style="viewColor" style="padding-top: 80rpx;">
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<form @submit="formSubmit" report-submit='true'>
|
<form @submit="formSubmit" report-submit='true'>
|
||||||
<view class="release_content">
|
<view class="release_content">
|
||||||
@ -139,14 +139,17 @@
|
|||||||
</uni-popup>
|
</uni-popup>
|
||||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse">
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse">
|
||||||
</authorize>
|
</authorize>
|
||||||
|
|
||||||
<!-- <m-tabbar native>
|
<!-- <m-tabbar native>
|
||||||
<template v-slot:tabbar_index_2>
|
<template v-slot:tabbar_index_2>
|
||||||
<view class="custom_style">
|
<view class="custom_style">
|
||||||
<view class="custom_style_icon"></view>
|
<view class="custom_style_icon" style="margin-top: -50rpx;"></view>
|
||||||
</view>
|
<view class="" style="color: red;">
|
||||||
</template>
|
发布
|
||||||
</m-tabbar> -->
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
</m-tabbar> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -252,7 +255,7 @@
|
|||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
|
||||||
// uni.hideTabBar()
|
// uni.hideTabBar()
|
||||||
this.id = options.id;
|
this.id = options.id;
|
||||||
this.order_id = options.order_id;
|
this.order_id = options.order_id;
|
||||||
|
@ -129,6 +129,13 @@
|
|||||||
<view class="locationa"> 位置权限使用说明 </view>
|
<view class="locationa"> 位置权限使用说明 </view>
|
||||||
<view class="locationb"> 用于向你推荐最近门店 </view>
|
<view class="locationb"> 用于向你推荐最近门店 </view>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- <m-tabbar native>
|
||||||
|
<template v-slot:tabbar_index_2>
|
||||||
|
<view class="custom_style">
|
||||||
|
<view class="custom_style_icon"></view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
</m-tabbar> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <m-tabbar native>
|
<!-- <m-tabbar native>
|
||||||
<template v-slot:tabbar_index_2>
|
<template v-slot:tabbar_index_2>
|
||||||
<view class="custom_style">
|
<view class="custom_style">
|
||||||
<view class="custom_style_icon"></view>
|
<view class="custom_style_icon"></view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user