Browse Source

提交

yun
douzhuo 2 years ago
parent
commit
50f4a79ce3
2 changed files with 83 additions and 25 deletions
  1. +23
    -23
      manifest.json
  2. +60
    -2
      pages/center/Piabodata/Userinsightinto.vue

+ 23
- 23
manifest.json View File

@@ -1,6 +1,6 @@
{
"name" : "去房智控管家",
"appid" : "__UNI__D88F14A",
"appid" : "__UNI__7A1611D",
"description" : "AI营销助理",
"versionName" : "1.1.0",
"versionCode" : "100",
@@ -57,33 +57,33 @@
},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
"hdpi" : "",
"xhdpi" : "",
"xxhdpi" : "",
"xxxhdpi" : ""
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"appstore" : "",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
"app" : "",
"app@2x" : "",
"notification" : "",
"notification@2x" : "",
"proapp@2x" : "",
"settings" : "",
"settings@2x" : "",
"spotlight" : "",
"spotlight@2x" : ""
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
"app@2x" : "",
"app@3x" : "",
"notification@2x" : "",
"notification@3x" : "",
"settings@2x" : "",
"settings@3x" : "",
"spotlight@2x" : "",
"spotlight@3x" : ""
}
}
}


+ 60
- 2
pages/center/Piabodata/Userinsightinto.vue View File

@@ -14,6 +14,20 @@
<view :class="{ activecllasscet: activeTotal == 3 }" @click="tabtimetap(3)">自定义</view>
</view>
</view>
<view class="info">
<view class="item" @click="goTo(1)">
<text class="num">{{efficient}}</text>
<text class="tit">有效接待</text>
</view>
<view class="item" @click="goTo(2)">
<text class="num">{{markCount}}</text>
<text class="tit">已标顾问</text>
</view>
<view class="item" @click="goTo(3)">
<text class="num">{{noMarkCount}}</text>
<text class="tit">未标顾问</text>
</view>
</view>
<view class="boxzonglan">
<view class="zonglantit">客群特征总览</view>
<view class="zonglanbox">
@@ -96,7 +110,10 @@
activeTab: 0,
numlist:[],
objlist:[],
Afolding:true
Afolding:true,
efficient:"",
markCount:"",
noMarkCount:""
};
},
onPageScroll(e) {
@@ -123,6 +140,21 @@
}, 1000);
},
methods: {
goTo(i){
if(i==1){
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0'
});
}else if(i==2){
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=1'
});
}else{
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'
});
}
},
anclick(i){
console.log(i)
this.Afolding=!this.Afolding;
@@ -154,9 +186,13 @@
}
this.$u.post("/matchKeywords/findmatchdata", parames).then(data => {
this.numlist.push({
name:"客户数量",
name:"有效接待",
num:data.total
})
this.efficient = data.total
this.markCount = data.markCount
this.noMarkCount = data.noMarkCount
data.list.forEach((item,index)=>{
this.numlist.push({
name:item.name,
@@ -245,6 +281,28 @@
};
</script>
<style lang="scss" scoped>
.info{
display: flex;
justify-content: space-between;
background: #fff;
padding: 10px 20px;
.item{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text{
font-size: 32rpx;
}
.num{
font-weight: bold;
}
.tit{
margin-top: 20rpx;
}
}
}
.anclack{
width: 100%;
height: 78rpx;


Loading…
Cancel
Save