diff --git a/config/app.js b/config/app.js index a484fa4..0d6283a 100644 --- a/config/app.js +++ b/config/app.js @@ -17,7 +17,7 @@ switch (env) { WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; case 'local': - BASE_URL = 'http://192.168.1.201:8545'; + BASE_URL = 'http://192.168.1.22:8545'; WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; default: diff --git a/multipleShop/index/index.vue b/multipleShop/index/index.vue index 93f0064..b847922 100644 --- a/multipleShop/index/index.vue +++ b/multipleShop/index/index.vue @@ -14,9 +14,9 @@ @click="onChooseShop(item)"> {{item.name}} - - 可自提 - 可配送 + + 次日可提 + 当日可提 { event = opt.event + if (opt.cart_id) queryParams.cart_id = opt.cart_id; console.log(event) // 获取定位 getLocation(); @@ -272,7 +274,7 @@ margin-bottom: 16rpx; text { - width: 90rpx; + width: 120rpx; height: 42rpx; line-height: 42rpx; text-align: center; diff --git a/pageQuota/Gifts/index.vue b/pageQuota/Gifts/index.vue new file mode 100644 index 0000000..dbc874f --- /dev/null +++ b/pageQuota/Gifts/index.vue @@ -0,0 +1,288 @@ + + + + + \ No newline at end of file diff --git a/pageQuota/asset/index.vue b/pageQuota/asset/index.vue index c0132bc..dbc874f 100644 --- a/pageQuota/asset/index.vue +++ b/pageQuota/asset/index.vue @@ -26,14 +26,14 @@ - - - + + + - + 全选({{getCheckNum()}}) - + 全不选({{getCheckNum()}}) @@ -50,7 +50,7 @@ - 标题 + 预约提货 预约时间: @@ -80,11 +80,16 @@ ref, reactive } from "vue" + import { + onPullDownRefresh + } from "@dcloudio/uni-app" + import { getUserProductStorageLists, reservationUserProductStorage } from "@/api/asset.js" - + import useUserStore from "@/store/user"; + let userInfo = useUserStore().userInfo const value = ref(1) const showPop = ref(false) const showCalendar = ref(false) @@ -100,8 +105,6 @@ return lists.value.filter(item => item.check).length } - - const formData = reactive({ info: [], times: "", @@ -113,26 +116,28 @@ let datas = JSON.parse(data) formData.store_id = datas.id formData.store_name = datas.name - console.log(JSON.parse(data)); }) - const isAll = ref(false) - - const getLists = async () => { + const getLists = async (isPull) => { let res = await getUserProductStorageLists({ - uid: 130 + uid: userInfo.id }) lists.value = res.data.lists lists.value.forEach(item => { item.num = 1 }) - + if (isPull) uni.stopPullDownRefresh() } + // 全选&&全不选 + const isAll = ref(false) const checkAll = () => { lists.value.forEach(item => item.check = true) } - + const checkAllNot = () => { + lists.value.forEach(item => item.check = false) + } + // 全选&&全不选结束 const submit = async () => { formData.info = (lists.value.filter(item => item.check)).map(item => { @@ -152,7 +157,9 @@ showCalendar.value = false } - + onPullDownRefresh(() => { + getLists(true) + }) getLists() diff --git a/pageQuota/vipUser/index.vue b/pageQuota/vipUser/index.vue index 1cb8e3c..fbec0b3 100644 --- a/pageQuota/vipUser/index.vue +++ b/pageQuota/vipUser/index.vue @@ -21,19 +21,12 @@ - - @@ -43,13 +36,14 @@ - - @@ -123,7 +117,7 @@ - - {{ item.real_name }} + + + {{ item.real_name }} + + + 手机号 + + {{ item.price }} {{ item.create_time }} - {{ item.label_name }} + {{ item.ship_name }} 已开通 @@ -243,6 +244,7 @@ 商户 + 查看号码 开通时间 状态 @@ -250,6 +252,7 @@ {{ item.nickname }} + {{ item.mobile }} {{ item.create_time }} 已开通 @@ -259,24 +262,6 @@ - - - - - - - - - - - - - - - - - - @@ -325,7 +310,16 @@ + @close="showPop1 = false" @open="showPop1 = true" keyName='title' confirmColor='#33B83A'> + + + + + {{popPhone}} + + +