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 return statusBarHeight
}, },
service(){ service(){
const clien = process.env.VUE_APP_SERVICE // const clien = process.env.VUE_APP_SERVICE
const user = this.$store.getters.user ?? {} // const user = this.$store.getters.user ?? {}
const phone = user?.phone // const phone = user?.phone
const name = user?.nickname ?? phone ?? '访客' // const name = user?.nickname ?? phone ?? '访'
return `${clien}?u_cust_name=${name}&u_cust_phone=${phone}&u_cust_id=${phone}` // return `${clien}?u_cust_name=${name}&u_cust_phone=${phone}&u_cust_id=${phone}`
}, },
height() { height() {
const { const {

View File

@ -1,7 +1,7 @@
<template> <template>
<view> <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> <view class="mr-15rpx">手机号</view>
<u-search @search="searchGoods" class="flex-1" placeholder="用户手机号" v-model="keyword" :show-action="false"></u-search> <u-search @search="searchGoods" class="flex-1" placeholder="用户手机号" v-model="keyword" :show-action="false"></u-search>
</view> </view>
@ -10,7 +10,7 @@
<view class="pt-base"> <view class="pt-base">
<block v-for="(item,index) in dataList" :key="index"> <block v-for="(item,index) in dataList" :key="index">
<view class="mb-24rpx"> <view class="mb-24rpx">
<order-item @Parent=Parent :goods="item" /> <order-item :goods="item" />
</view> </view>
</block> </block>
</view> </view>
@ -67,7 +67,7 @@
params: { params: {
page: page.num, page: page.num,
per_page: page.size, per_page: page.size,
keyword:this.keyword phone:this.keyword
} }
}).then(res => { }).then(res => {
this.mescroll.endSuccess(res.data.length) this.mescroll.endSuccess(res.data.length)