罗世杰:feat:轮播图,分析统计、轮播消息接口接入
This commit is contained in:
@@ -63,7 +63,14 @@
|
||||
uni.navigateTo({
|
||||
url: this.navItems[index].url
|
||||
})
|
||||
}else if (index == 7) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: '123456789',
|
||||
success: (result) => {},
|
||||
fail: (error) => {}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
customStyle="width:70vw"
|
||||
color="#232323"
|
||||
icon=" "
|
||||
direction="column"
|
||||
/>
|
||||
</view>
|
||||
|
||||
@@ -18,14 +19,14 @@
|
||||
|
||||
<script>
|
||||
/**
|
||||
* @property {String} text 需要显示的消息
|
||||
* @property {Array} text 需要显示的消息
|
||||
*/
|
||||
export default {
|
||||
props: {
|
||||
text: {
|
||||
type: String,
|
||||
type: Array,
|
||||
default() {
|
||||
return ' '
|
||||
return []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
/>
|
||||
</view>
|
||||
<text class="text1">累计用户</text>
|
||||
<text class="num1">{{ sumUser.total }}</text>
|
||||
<text class="num1">{{ totalUser }}</text>
|
||||
<view class="border border1"></view>
|
||||
<text class="num11">昨日新增{{ sumUser.yesterday }}位</text>
|
||||
<text class="num11">昨日新增{{ yesterdayUser }}位</text>
|
||||
|
||||
</view>
|
||||
<view class="right">
|
||||
@@ -22,9 +22,9 @@
|
||||
/>
|
||||
</view>
|
||||
<text class="text2">累计转店</text>
|
||||
<text class="num2">{{ sumTrans.total }}</text>
|
||||
<text class="num2">{{ totalTrans }}</text>
|
||||
<view class="border border2"></view>
|
||||
<text class="num21">昨日新增{{ sumTrans.yesterday }}位</text>
|
||||
<text class="num21">昨日新增{{ yesterdayTrans }}位</text>
|
||||
|
||||
</view>
|
||||
<view class="right2">
|
||||
@@ -35,9 +35,9 @@
|
||||
/>
|
||||
</view>
|
||||
<text class="text3">累计找店</text>
|
||||
<text class="num3">{{ sumSearch.total }}</text>
|
||||
<text class="num3">{{ totalSearch }}</text>
|
||||
<view class="border border3"></view>
|
||||
<text class="num22">昨日新增{{ sumSearch.yesterday }}位</text>
|
||||
<text class="num22">昨日新增{{ yesterdaySearch }}位</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -49,26 +49,23 @@
|
||||
<script>
|
||||
export default {
|
||||
props:{
|
||||
sumUser:{
|
||||
type:Object,
|
||||
default: {
|
||||
"total": 231753,
|
||||
"yesterday": 1345
|
||||
}
|
||||
totalUser:{
|
||||
type:Number
|
||||
},
|
||||
sumTrans:{
|
||||
type:Object,
|
||||
default: {
|
||||
"total": 231753,
|
||||
"yesterday": 1345
|
||||
}
|
||||
yesterdayUser:{
|
||||
type:Number
|
||||
},
|
||||
sumSearch:{
|
||||
type:Object,
|
||||
default: {
|
||||
"total": 231753,
|
||||
"yesterday": 1345
|
||||
}
|
||||
totalTrans:{
|
||||
type:Number
|
||||
},
|
||||
yesterdayTrans:{
|
||||
type:Number
|
||||
},
|
||||
totalSearch:{
|
||||
type:Number
|
||||
},
|
||||
yesterdaySearch:{
|
||||
type:Number
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user