Commit 6bb3405e by 张立顺

app.json 重置

1 parent 9af691de
{ {
"pages": [ "pages": ["login/loading/loading", "pages/tab/index/index", "pages/tab/output/output", "pages/tab/mine/mine", "login/index/index", "login/accountItems/accountItems", "pages/checkProduct/checkProduct"],
"login/loading/loading",
"pages/tab/index/index",
"pages/tab/output/output",
"pages/tab/mine/mine",
"login/index/index",
"login/accountItems/accountItems",
"pages/checkProduct/checkProduct"
],
"requiredPrivateInfos": ["getLocation"], "requiredPrivateInfos": ["getLocation"],
"lazyCodeLoading": "requiredComponents", "lazyCodeLoading": "requiredComponents",
"window": { "window": {
...@@ -20,7 +12,8 @@ ...@@ -20,7 +12,8 @@
"selectedColor": "#3666FE", "selectedColor": "#3666FE",
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"borderStyle": "white", "borderStyle": "white",
"list": [{ "list": [
{
"pagePath": "pages/tab/index/index", "pagePath": "pages/tab/index/index",
"text": "拓客户", "text": "拓客户",
"iconPath": "images/home.png", "iconPath": "images/home.png",
...@@ -40,15 +33,45 @@ ...@@ -40,15 +33,45 @@
} }
] ]
}, },
"subpackages": [
{
"root": "packagesList/packageOutput",
"name": "packageOutput",
"pages": ["pages/openBusiness", "pages/summary"]
},
{
"root": "packagesList/mineDetail",
"name": "mineDetail",
"pages": ["pages/messageBox", "pages/customerManagement"]
},
{
"root": "packagesList/webView",
"name": "webView",
"pages": ["pages/webView"]
},
{
"root": "packagesList/apply",
"name": "apply",
"pages": ["pages/apply"]
}
],
"preloadRule": {
"pages/tab/mine/mine": {
"network": "all",
"packages": ["mineDetail"]
},
"pages/tab/index/index": {
"network": "all",
"packages": ["apply", "packageOutput"]
}
},
"usingComponents": { "usingComponents": {
"tab": "/components/Tab/Tab", "tab": "/components/Tab/Tab",
"navigation-bar": "/components/NavigationBar/NavigationBar", "navigation-bar": "/components/NavigationBar/NavigationBar",
"popup": "/components/Popup/Popup", "popup": "/components/Popup/Popup",
"nothing-tips": "/components/Nothing-tips/nothingTips", "nothing-tips": "/components/Nothing-tips/nothingTips",
"crowdfund-poster": "/components/CrowdfundPoster/CrowdfundPoster", "crowdfund-poster": "/components/CrowdfundPoster/CrowdfundPoster",
"glsx-image": "/components/image/index", "glsx-image": "/components/image/index"
"authorize":"/components/Authorize/Authorize"
}, },
"style": "v2", "style": "v2",
"resolveAlias": { "resolveAlias": {
...@@ -60,4 +83,4 @@ ...@@ -60,4 +83,4 @@
"desc": "你的位置信息将用于小程序位置接口的效果展示" "desc": "你的位置信息将用于小程序位置接口的效果展示"
} }
} }
}
\ No newline at end of file \ No newline at end of file
}
...@@ -8,7 +8,10 @@ const IMAGES = { ...@@ -8,7 +8,10 @@ const IMAGES = {
money: `${IMG_URL}/output/money.png`, money: `${IMG_URL}/output/money.png`,
paper: `${IMG_URL}/output/paper.png`, paper: `${IMG_URL}/output/paper.png`,
link: `${IMG_URL}/output/link.webp`, link: `${IMG_URL}/output/link.webp`,
empty: `${IMG_URL}/output/empty.png` empty: `${IMG_URL}/output/empty.png`,
funnelNew: `${IMG_URL}/output/funnelNew.webp`,
funnelNewSm: `${IMG_URL}/output/funnelNewSm.webp`,
totalIcon: `${IMG_URL}/output/totalIcon.webp`
} }
Component({ Component({
/** /**
...@@ -47,15 +50,15 @@ Component({ ...@@ -47,15 +50,15 @@ Component({
funnelList: { funnelList: {
start: [ start: [
{ label: '到店量', key: 'toShopCount' }, { label: '到店量', key: 'toShopCount' },
{ label: '核销数', key: 'couponUsedCount' }, // { label: '核销数', key: 'couponUsedCount' },
{ label: '体验数', key: 'experienceCount' }, { label: '体验数', key: 'experienceCount' },
{ label: '订单成交', key: 'upgradeCount' } { label: '成交量', key: 'upgradeCount' }
], ],
end: [ end: [
{ label: '转发量', key: 'shareCount' }, // { label: '转发量', key: 'shareCount' },
{ label: '访客数', key: 'visitCount' }, { label: '访客数', key: 'visitCount' },
{ label: '成交数', key: 'dealCount' }, { label: '成交数', key: 'dealCount' }
{ label: '产值', key: 'totalMoney' } // { label: '产值', key: 'totalMoney' }
] ]
} }
// showNothingSceneCon: false // showNothingSceneCon: false
......
...@@ -108,9 +108,12 @@ ...@@ -108,9 +108,12 @@
} }
.bg-image { .bg-image {
width: 100%; // width: 100%;
height: 100%; width: 440rpx;
// height: 100%;
position: absolute; position: absolute;
left: 50%;
transform: translateX(-50%);
// width: 670rpx; // width: 670rpx;
// height: 550rpx; // height: 550rpx;
// z-index: -0; // z-index: -0;
...@@ -118,7 +121,13 @@ ...@@ -118,7 +121,13 @@
} }
.longHeight {
height: 285rpx;
}
.shortHeight {
height: 200rpx;
}
.funneItem { .funneItem {
position: relative; position: relative;
......
...@@ -8,138 +8,134 @@ ...@@ -8,138 +8,134 @@
bindrefresherrefresh="refreshList" bindrefresherrefresh="refreshList"
refresher-threshold="104" refresher-threshold="104"
refresher-triggered="{{triggered}}"> --> refresher-triggered="{{triggered}}"> -->
<view class="con" wx:if="{{list.length }}"> <view class="con" wx:if="{{list.length }}">
<view class="statistics"> <view class="statistics">
<view class="totalOutputValue box"> <view class="totalOutputValue box">
<view class="num">¥{{totalMoney}}</view> <view class="num">¥{{totalMoney}}</view>
<view class="label">总产值</view> <view class="label">总产值</view>
</view>
<view class="totalOrder box">
<view class="num">{{totalOrder}}</view>
<view class="label">订单数/笔</view>
</view>
</view> </view>
<!-- --> <view class="totalOrder box">
<!-- 无门店 --> <view class="num">{{totalOrder}}</view>
<!-- <merchantDataStatistics bind:swiperChange="swiperChange" /> --> <view class="label">订单数/笔</view>
<!-- sceneIndx==3? 'short': --> </view>
<!-- {{startInd ==4?'short':'full'}} --> </view>
<swiper <!-- -->
indicator-dots="{{list.length>1? indicatorDots:false}}" <!-- 无门店 -->
class="swiper " <!-- <merchantDataStatistics bind:swiperChange="swiperChange" /> -->
style="height:{{swiperHeight*2}}rpx" <!-- sceneIndx==3? 'short': -->
autoplay="{{autoplay}}" <!-- {{startInd ==4?'short':'full'}} -->
bindchange="swiperChange" <swiper
interval="{{interval}}" indicator-dots="{{list.length>1? indicatorDots:false}}"
duration="{{duration}}"> class="swiper "
<block wx:for="{{list}}" wx:key="*this"> style="height:{{swiperHeight*2}}rpx"
<swiper-item> autoplay="{{autoplay}}"
<view class="merchantDataStatistics-con"> bindchange="swiperChange"
<view class="contitle"> interval="{{interval}}"
<view class="name">{{item.merchantName}}</view> duration="{{duration}}">
<view <block wx:for="{{list}}" wx:key="*this">
class="select" <swiper-item>
data-index="{{index}}" <view class="merchantDataStatistics-con">
data-item="{{item}}" <view class="contitle">
bind:tap="pickSheet"> <view class="name">{{item.merchantName}}</view>
<view>{{item.selectName||'累计'}}</view> <view
<image class="select"
class="arrow {{isAct?'isAct':''}}" data-index="{{index}}"
webp data-item="{{item}}"
src="{{IMAGES.arrow}}" bind:tap="pickSheet">
alt="" /> <view>{{item.selectName||'累计'}}</view>
</view> <image
</view> class="arrow {{isAct?'isAct':''}}"
<!-- <scene-select/> --> webp
<view class="scene-box"> src="{{IMAGES.arrow}}"
<!-- {{item.startInd + 1}} --> alt="" />
<scene-box
formData="{{item}}"
data-index="{{index}}"
data-item="{{item}}"
bind:handleSceneChange="handleSceneChange"
sceneActive="{{(item.startInd + 1)}}" />
</view> </view>
<view class="outputValueCon " wx:if="{{!item.showNothingSceneCon && item.showList[item.startInd] }}"> </view>
<view class="title">产值图</view> <!-- <scene-select/> -->
<view class="swiperCon" wx:if="{{item['showList']}}"> <view class="scene-box">
<view class="swiper-item "> <!-- {{item.startInd + 1}} -->
<view class="fluuelCon"> <scene-box
<image class="bg-image" src="{{IMAGES.funnel}}" /> formData="{{item}}"
<block data-index="{{index}}"
wx:for="{{item.startInd!=3? funnelList['start']: funnelList['end']}}" data-item="{{item}}"
wx:key="*this" bind:handleSceneChange="handleSceneChange"
wx:for-index="ind" sceneActive="{{(item.startInd + 1)}}" />
wx:for-item="funneItem"> </view>
<view class="funneItem"> <view class="outputValueCon " wx:if="{{!item.showNothingSceneCon && item.showList[item.startInd] }}">
<view class="label">{{funneItem['label']}}</view> <view class="title">产值图</view>
<view class="num"> <view class="swiperCon" wx:if="{{item['showList']}}">
{{item.showList[item.startInd][funneItem['key']]||0}} <view class="swiper-item ">
</view> <view class="fluuelCon">
</view> <image class="bg-image {{item.startInd!=3?'longHeight':'shortHeight'}}" src="{{item.startInd!=3?IMAGES.funnelNew :IMAGES.funnelNew}}" />
</block> <block
</view> wx:for="{{item.startInd!=3? funnelList['start']: funnelList['end']}}"
<!-- <block wx:for="{{items}}"></block> hidden="{{item.startInd ==3}}" --> wx:key="*this"
<view hidden="{{item.startInd ==3}}"> wx:for-index="ind"
<!-- 统计 --> wx:for-item="funneItem">
<view class="merchantCount"> <view class="funneItem">
<view class="turnover"> <view class="label">{{funneItem['label']}}</view>
<image class="img " webp src="{{IMAGES.money}}" /> <view class="num">{{item.showList[item.startInd][funneItem['key']]||0}}</view>
<view class="num">{{item.showList[item.startInd]['totalMoney']||0}}</view>
<view class="label">营业额/¥</view>
</view>
<view class="customerUnitPrice">
<image class="img " webp src="{{IMAGES.paper}}" />
<view class="num">
{{item.showList[item.startInd]['custUnitPrice']||0}}
</view>
<view class="label">客单价/¥</view>
</view>
</view> </view>
<!-- 指标诊断 --> </block>
<view class="diagnosisCon" wx:if="{{item.showList[item.startInd]['diagnoseList'].length}}"> </view>
<view class="tipsIcon">指标诊断</view> <!-- <block wx:for="{{items}}"></block> hidden="{{item.startInd ==3}}" -->
<swiper <view hidden="{{item.startInd ==3}}">
class="tips" <!-- 统计 -->
autoplay="{{true}}" <view class="merchantCount">
interval="{{5000}}" <view class="turnover">
circular="{{true}}" <image class="img " webp src="{{IMAGES.money}}" />
duration="{{duration}}"> <view class="num">{{item.showList[item.startInd]['totalMoney']||0}}</view>
<block <view class="label">营业额/¥</view>
wx:for="{{item.showList[item.startInd]['diagnoseList']}}" </view>
wx:key="*this" <view class="customerUnitPrice">
wx:for-index="dgInd" <image class="img " webp src="{{IMAGES.paper}}" />
wx:for-item="dgItem"> <view class="num">{{item.showList[item.startInd]['custUnitPrice']||0}}</view>
<swiper-item>{{dgItem}}</swiper-item> <view class="label">客单价/¥</view>
</block> </view>
</swiper> </view>
<view> <!-- 指标诊断 -->
<!-- 日均升级客单价低于1000/低于上2个月平均日升级客单价的10%,建议梳理驻店销售的技能,以及加强与流量方的互动。 --> <view class="diagnosisCon" wx:if="{{item.showList[item.startInd]['diagnoseList'].length}}">
</view> <view class="tipsIcon">指标诊断</view>
<swiper
class="tips"
autoplay="{{true}}"
interval="{{5000}}"
circular="{{true}}"
duration="{{duration}}">
<block
wx:for="{{item.showList[item.startInd]['diagnoseList']}}"
wx:key="*this"
wx:for-index="dgInd"
wx:for-item="dgItem">
<swiper-item>{{dgItem}}</swiper-item>
</block>
</swiper>
<view>
<!-- 日均升级客单价低于1000/低于上2个月平均日升级客单价的10%,建议梳理驻店销售的技能,以及加强与流量方的互动。 -->
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<!-- <view wx:else>test</view> -->
</view>
<view wx:else class="emptyCon">
<image class="img" src="{{IMAGES.empty}}" />
</view> </view>
<!-- <view wx:else>test</view> -->
</view> </view>
</swiper-item> <view wx:else class="emptyCon">
</block> <image class="img" src="{{IMAGES.empty}}" />
</swiper> </view>
<navigator </view>
wx:if="{{swiperHeight>590}}" </swiper-item>
class="navOhterApp" </block>
target="miniProgram" </swiper>
open-type="navigate" <navigator
app-id="wx570d9331f9ace0bd" wx:if="{{swiperHeight>590}}"
version="release"> class="navOhterApp"
<image src="{{IMAGES.link}}" webp class="linkImg" /> target="miniProgram"
查看订单详情 open-type="navigate"
</navigator> app-id="wx570d9331f9ace0bd"
</view> version="release">
<image src="{{IMAGES.link}}" webp class="linkImg" />
查看订单详情
</navigator>
</view>
<!-- </scroll-view> --> <!-- </scroll-view> -->
<nothingTipsCon wx:if="{{!list.length }}" /> <nothingTipsCon wx:if="{{!list.length }}" />
...@@ -79,4 +79,17 @@ ...@@ -79,4 +79,17 @@
.navigation-title .move { .navigation-title .move {
transform: rotate(-180deg) translateY(0); transform: rotate(-180deg) translateY(0);
}
\ No newline at end of file \ No newline at end of file
}
// // 圆点样式
// .wx-swiper-dots .wx-swiper-dot {
// width: 10rpx;
// height: 10rpx;
// margin: 0 5rpx;
// background-color: aqua;
// }
// // 当前选中圆点样式
// .wx-swiper-dots .wx-swiper-dot.wx-swiper-dot-active {
// width: 16rpx;
// border-radius: 10rpx;
// }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!