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": {
......
...@@ -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,7 +8,7 @@ ...@@ -8,7 +8,7 @@
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>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<view class="swiperCon" wx:if="{{item['showList']}}"> <view class="swiperCon" wx:if="{{item['showList']}}">
<view class="swiper-item "> <view class="swiper-item ">
<view class="fluuelCon"> <view class="fluuelCon">
<image class="bg-image" src="{{IMAGES.funnel}}" /> <image class="bg-image {{item.startInd!=3?'longHeight':'shortHeight'}}" src="{{item.startInd!=3?IMAGES.funnelNew :IMAGES.funnelNew}}" />
<block <block
wx:for="{{item.startInd!=3? funnelList['start']: funnelList['end']}}" wx:for="{{item.startInd!=3? funnelList['start']: funnelList['end']}}"
wx:key="*this" wx:key="*this"
...@@ -73,9 +73,7 @@ ...@@ -73,9 +73,7 @@
wx:for-item="funneItem"> wx:for-item="funneItem">
<view class="funneItem"> <view class="funneItem">
<view class="label">{{funneItem['label']}}</view> <view class="label">{{funneItem['label']}}</view>
<view class="num"> <view class="num">{{item.showList[item.startInd][funneItem['key']]||0}}</view>
{{item.showList[item.startInd][funneItem['key']]||0}}
</view>
</view> </view>
</block> </block>
</view> </view>
...@@ -90,9 +88,7 @@ ...@@ -90,9 +88,7 @@
</view> </view>
<view class="customerUnitPrice"> <view class="customerUnitPrice">
<image class="img " webp src="{{IMAGES.paper}}" /> <image class="img " webp src="{{IMAGES.paper}}" />
<view class="num"> <view class="num">{{item.showList[item.startInd]['custUnitPrice']||0}}</view>
{{item.showList[item.startInd]['custUnitPrice']||0}}
</view>
<view class="label">客单价/¥</view> <view class="label">客单价/¥</view>
</view> </view>
</view> </view>
...@@ -139,7 +135,7 @@ ...@@ -139,7 +135,7 @@
<image src="{{IMAGES.link}}" webp class="linkImg" /> <image src="{{IMAGES.link}}" webp class="linkImg" />
查看订单详情 查看订单详情
</navigator> </navigator>
</view> </view>
<!-- </scroll-view> --> <!-- </scroll-view> -->
<nothingTipsCon wx:if="{{!list.length }}" /> <nothingTipsCon wx:if="{{!list.length }}" />
...@@ -80,3 +80,16 @@ ...@@ -80,3 +80,16 @@
.navigation-title .move { .navigation-title .move {
transform: rotate(-180deg) translateY(0); transform: rotate(-180deg) translateY(0);
} }
// // 圆点样式
// .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!