6
0
Fork 0
hui.zhou
h30830569 2022-05-11 14:25:37 +08:00
parent 4f84677959
commit 65c11e0d56
2 changed files with 8 additions and 8 deletions

View File

@ -88,11 +88,11 @@
return statusBarHeight
},
service(){
const clien = process.env.VUE_APP_SERVICE
const user = this.$store.getters.user ?? {}
const phone = user?.phone
const name = user?.nickname ?? phone ?? '访客'
return `${clien}?u_cust_name=${name}&u_cust_phone=${phone}&u_cust_id=${phone}`
// const clien = process.env.VUE_APP_SERVICE
// const user = this.$store.getters.user ?? {}
// const phone = user?.phone
// const name = user?.nickname ?? phone ?? '访'
// return `${clien}?u_cust_name=${name}&u_cust_phone=${phone}&u_cust_id=${phone}`
},
height() {
const {

View File

@ -1,7 +1,7 @@
<template>
<view>
<!-- 搜索框 -->
<view class="flex items-center px-40rpx text-32rpx bg-white py-30rpx sticky z-900 suspension">
<view class="flex items-center px-40rpx text-32rpx bg-white py-30rpx sticky z-1500 suspension">
<view class="mr-15rpx">手机号</view>
<u-search @search="searchGoods" class="flex-1" placeholder="用户手机号" v-model="keyword" :show-action="false"></u-search>
</view>
@ -10,7 +10,7 @@
<view class="pt-base">
<block v-for="(item,index) in dataList" :key="index">
<view class="mb-24rpx">
<order-item @Parent=Parent :goods="item" />
<order-item :goods="item" />
</view>
</block>
</view>
@ -67,7 +67,7 @@
params: {
page: page.num,
per_page: page.size,
keyword:this.keyword
phone:this.keyword
}
}).then(res => {
this.mescroll.endSuccess(res.data.length)