Commit a937fe30 by 张立顺

v3.1 功能开发完成

1 parent 215aaf7c
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
margin-right: 4rpx; margin-right: 4rpx;
font-size: 18rpx; font-size: 18rpx;
color: #8A8C90; color: #8A8C90;
padding: 32rpx 0 28rpx; /* padding: 32rpx 0 28rpx; */
padding: 24rpx 0 18rpx;
border-radius: 12rpx; border-radius: 12rpx;
font-weight: 500; font-weight: 500;
border: 2rpx solid #F7F8FC; border: 2rpx solid #F7F8FC;
......
...@@ -4,6 +4,9 @@ import mineApi from '~/api/mineApi/index' ...@@ -4,6 +4,9 @@ import mineApi from '~/api/mineApi/index'
import outputApi from '~/api/outputApi/index' import outputApi from '~/api/outputApi/index'
// import drawQrcode from '~/utils/lib/weapp-qrcode.js' // import drawQrcode from '~/utils/lib/weapp-qrcode.js'
Component({ Component({
options: {
addGlobalClass: true
},
/** /**
* 组件的属性列表 * 组件的属性列表
*/ */
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
&::after { &::after {
content: ''; content: '';
width: 100%; width: 100%;
height: 264rpx; height: 265rpx;
// background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat; // background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat;
background-color: #fff; background-color: #fff;
// background-size: 100% 486rpx; // background-size: 100% 486rpx;
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
.tabContainer { .tabContainer {
height: 100rpx; height: 100rpx;
background-color: #fff;
} }
.list { .list {
......
...@@ -37,17 +37,17 @@ ...@@ -37,17 +37,17 @@
<view class="warReportBox" wx:if="{{item.messageType == 2}}"> <view class="warReportBox" wx:if="{{item.messageType == 2}}">
<view class="item"> <view class="item">
<view class="label">当前产值</view> <view class="label">当前产值</view>
<view class="num">{{item.currentValue||'0.0'}}元</view> <view class="num font-number">{{item.currentValue||'0.0'}}元</view>
</view> </view>
</view> </view>
<view class="warReportBox" wx:if="{{item.messageType == 3}}"> <view class="warReportBox" wx:if="{{item.messageType == 3}}">
<view class="item"> <view class="item">
<view class="label">总产值</view> <view class="label">总产值</view>
<view class="num">{{item.totalValue}}元</view> <view class="num font-number">{{item.totalValue}}元</view>
</view> </view>
<view class="item"> <view class="item">
<view class="label">完成目标</view> <view class="label">完成目标</view>
<view class="num">{{item.completeRate}}</view> <view class="num font-number">{{item.completeRate}}</view>
</view> </view>
</view> </view>
<view class="warReportLink"> <view class="warReportLink">
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
color: #6C6C6C; color: #6C6C6C;
display: flex; display: flex;
align-items: center; align-items: center;
.icon{
.icon {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
margin-right: 6rpx; margin-right: 6rpx;
...@@ -144,7 +145,7 @@ ...@@ -144,7 +145,7 @@
.prod-info .earnings-num { .prod-info .earnings-num {
font-size: 28rpx; font-size: 28rpx;
// font-family: DINAlternate-Bold; // font-family: DINAlternate-Bold;
font-weight: Bold; // font-weight: Bold;
color: #f35251; color: #f35251;
} }
...@@ -178,6 +179,7 @@ ...@@ -178,6 +179,7 @@
.project-img { .project-img {
overflow: auto; overflow: auto;
// height: 1600rpx; // height: 1600rpx;
// white-space: nowrap; // white-space: nowrap;
.img-item { .img-item {
...@@ -206,7 +208,8 @@ ...@@ -206,7 +208,8 @@
z-index: 2; z-index: 2;
background-color: #f5f7fb; background-color: #f5f7fb;
} }
.stickyTab-fixed{
.stickyTab-fixed {
position: fixed; position: fixed;
left: 0; left: 0;
top: 352rpx; top: 352rpx;
...@@ -286,6 +289,7 @@ ...@@ -286,6 +289,7 @@
.video-item { .video-item {
width: 100%; width: 100%;
video { video {
border-radius: 16rpx; border-radius: 16rpx;
height: 348rpx; height: 348rpx;
...@@ -430,7 +434,8 @@ ...@@ -430,7 +434,8 @@
width: calc(50% - 12rpx); width: calc(50% - 12rpx);
margin-bottom: 32rpx; margin-bottom: 32rpx;
} }
.video-item .video-card{
.video-item .video-card {
width: 100%; width: 100%;
height: 590rpx; height: 590rpx;
} }
...@@ -445,10 +450,10 @@ ...@@ -445,10 +450,10 @@
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
width:48rpx; width: 48rpx;
height: 48rpx; height: 48rpx;
background-image: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/down-video.png"); background-image: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/down-video.png");
background-repeat:no-repeat; background-repeat: no-repeat;
// font-size: 26rpx; // font-size: 26rpx;
// color: #666; // color: #666;
z-index: 1; z-index: 1;
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<!-- senceData[actNum]['productList'][activeNavIdx].changeSale || --> <!-- senceData[actNum]['productList'][activeNavIdx].changeSale || -->
<text class="sale" wx:if="{{ actNum!=4}}" decode="{{true}}">{{senceData[actNum]['productList'][activeNavIdx].varType == 1 ? '三年售后存量数':'新车销量'}}&nbsp;<text class="sale-num">{{senceData[actNum]['productList'][activeNavIdx].varType == 1? senceData[actNum]['productList'][activeNavIdx].flow : senceData[actNum]['productList'][activeNavIdx].sale}}</text> <text class="sale" wx:if="{{ actNum!=4}}" decode="{{true}}">{{senceData[actNum]['productList'][activeNavIdx].varType == 1 ? '三年售后存量数':'新车销量'}}&nbsp;<text class="sale-num">{{senceData[actNum]['productList'][activeNavIdx].varType == 1? senceData[actNum]['productList'][activeNavIdx].flow : senceData[actNum]['productList'][activeNavIdx].sale}}</text>
</text> </text>
<text class="earnings" wx:if="{{ actNum!=4}}" decode="{{true}}">预估收益&nbsp;<text class="earnings-num">¥{{senceData[actNum]['productList'][activeNavIdx].profit}}</text> <text class="earnings" wx:if="{{ actNum!=4}}" decode="{{true}}">预估收益&nbsp;<text class="earnings-num font-number">¥{{senceData[actNum]['productList'][activeNavIdx].profit}}</text>
</text> </text>
</view> </view>
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn"> <view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
<!-- <view class="stickyTab stickyTab-fixed"> <!-- <view class="stickyTab stickyTab-fixed">
<tab outClassName="project-tab" openScroll="{{true}}" tab="{{tab}}" index="{{curTabIdx}}" bindclick="changeTab" productHeight /> <tab outClassName="project-tab" openScroll="{{true}}" tab="{{tab}}" index="{{curTabIdx}}" bindclick="changeTab" productHeight />
</view> --> </view> -->
<!-- style="{height:{{allHeight}}px}" scroll-y="{{true}}" bindscroll="scrolltoupper"--> <!-- style="{height:{{allHeight}}px}" scroll-y="{{true}}" bindscroll="scrolltoupper"-->
<!-- <scroll-view class="project-img" scroll-into-view="{{intoViewId}}"> --> <!-- <scroll-view class="project-img" scroll-into-view="{{intoViewId}}"> -->
<view class="project-img" hover-class="none" hover-stop-propagation="false"> <view class="project-img" hover-class="none" hover-stop-propagation="false">
...@@ -93,8 +92,6 @@ ...@@ -93,8 +92,6 @@
</view> </view>
</view> </view>
</view> </view>
</block> </block>
</view> </view>
......
...@@ -46,10 +46,11 @@ Page({ ...@@ -46,10 +46,11 @@ Page({
}) })
} }
}) })
wx.$storage.rm('fileList') // wx.$storage.rm('fileList')
wx.$storage.rm('sessionId') wx.$storage.rm('sessionId')
wx.$storage.rm('auto_login_object')
wx.$storage.rm('userInfo') wx.$storage.rm('userInfo')
wx.$storage.rm('auto_login_object')
wx.$storage.rm('posterId')
wx.$router.reLaunch('login.index') wx.$router.reLaunch('login.index')
}) })
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view wx:if="{{formData['showList'][index]}}" class="open-icon"> <view wx:if="{{formData['showList'][index]}}" class="open-icon">
<image src="{{openedIcon}}" webp></image> <image src="{{openedIcon}}" webp></image>
</view> </view>
<image wx:if="{{formData['showList'][index]}}" class="scene-img" src="{{IMGURL}}output/caract0{{index + 1}}.png?v={{img_version}}" /> <image wx:if="{{formData['showList'][index]}}" class="scene-img" src="{{IMGURL}}output/caracticon0{{index + 1}}.png?v={{img_version}}" />
<image wx:else class="lock-img " src="{{IMGURL}}output/carlock0{{index + 1}}.png?v={{img_version}}" /> <image wx:else class="lock-img " src="{{IMGURL}}output/carlock0{{index + 1}}.png?v={{img_version}}" />
<view class="scene-title {{formData['showList'][index]?'':'notOpened'}}">{{item.title}}</view> <view class="scene-title {{formData['showList'][index]?'':'notOpened'}}">{{item.title}}</view>
<view class="scene-label">{{item.subTitle}}</view> <view class="scene-label">{{item.subTitle}}</view>
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
.scene-item { .scene-item {
box-sizing: border-box; box-sizing: border-box;
height: 248rpx;
position: relative; position: relative;
width: 25%; width: 25%;
/* flex: 1; */ /* flex: 1; */
...@@ -18,10 +19,11 @@ ...@@ -18,10 +19,11 @@
font-size: 18rpx; font-size: 18rpx;
/* color: #8A8C90; */ /* color: #8A8C90; */
color: #323436; color: #323436;
padding: 32rpx 0 28rpx; padding: 24rpx 0 18rpx;
border-radius: 12rpx; border-radius: 12rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
font-weight: 500; font-weight: 500;
border: 2rpx solid transparent;
} }
.scene-item:last-child { .scene-item:last-child {
...@@ -83,8 +85,9 @@ ...@@ -83,8 +85,9 @@
} }
.scene-img { .scene-img {
width: 56rpx; width: 92rpx;
height: 56rpx; height: 64rpx;
} }
/* .notOpened { /* .notOpened {
......
...@@ -244,8 +244,9 @@ ...@@ -244,8 +244,9 @@
} }
.num { .num {
font-family: MiSans-S0rpxibold; // font-family: MiSans-S0rpxibold;
font-weight: 600; // font-weight: 600;
font-family: 'number';
font-size: 32rpx; font-size: 32rpx;
color: #323436; color: #323436;
// margin-bottom: 14rpx; // margin-bottom: 14rpx;
...@@ -319,6 +320,11 @@ ...@@ -319,6 +320,11 @@
} }
} }
.list-wrap {
// padding-top: 170rpx;
padding-top: 0;
}
.emptyCon { .emptyCon {
width: 100%; width: 100%;
height: 500rpx; height: 500rpx;
......
<!-- pages/tab/output/components/merchant/mrechant.wxml --> <!-- pages/tab/output/components/merchant/mrechant.wxml -->
<!-- hidden="{{true}}" --> <!-- hidden="{{true}}" -->
<wxs src="../../index.wxs" module="filter" /> <wxs src="../../index.wxs" module="filter" />
<!-- <scroll-view <scroll-view
scroll-y="true" scroll-y="true"
class="list-wrap" class="list-wrap"
enable-back-to-top enable-back-to-top
style="height:100%"
refresher-enabled="{{true}}" refresher-enabled="{{true}}"
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 statisticsbox"> <view class="totalOutputValue statisticsbox">
<view class="num">¥{{totalMoney}}</view> <view class="num">¥{{totalMoney}}</view>
...@@ -25,21 +26,41 @@ ...@@ -25,21 +26,41 @@
<!-- <merchantDataStatistics bind:swiperChange="swiperChange" /> --> <!-- <merchantDataStatistics bind:swiperChange="swiperChange" /> -->
<!-- sceneIndx==3? 'short': --> <!-- sceneIndx==3? 'short': -->
<!-- {{startInd ==4?'short':'full'}} --> <!-- {{startInd ==4?'short':'full'}} -->
<swiper indicator-dots="{{list.length>1? indicatorDots:false}}" class="swiper " style="height:{{swiperHeight*2}}rpx" autoplay="{{autoplay}}" bindchange="swiperChange" interval="{{interval}}" duration="{{duration}}"> <swiper
indicator-dots="{{list.length>1? indicatorDots:false}}"
class="swiper "
style="height:{{swiperHeight*2}}rpx"
autoplay="{{autoplay}}"
bindchange="swiperChange"
interval="{{interval}}"
duration="{{duration}}">
<block wx:for="{{list}}" wx:key="*this"> <block wx:for="{{list}}" wx:key="*this">
<swiper-item> <swiper-item>
<view class="merchantDataStatistics-con"> <view class="merchantDataStatistics-con">
<view class="contitle"> <view class="contitle">
<view class="name">{{item.merchantName}}</view> <view class="name">{{item.merchantName}}</view>
<view class="select" data-index="{{index}}" data-item="{{item}}" bind:tap="pickSheet"> <view
class="select"
data-index="{{index}}"
data-item="{{item}}"
bind:tap="pickSheet">
<view>{{item.selectName||'累计'}}</view> <view>{{item.selectName||'累计'}}</view>
<image class="arrow {{isAct?'isAct':''}}" webp src="{{IMAGES.arrow}}" alt="" /> <image
class="arrow {{isAct?'isAct':''}}"
webp
src="{{IMAGES.arrow}}"
alt="" />
</view> </view>
</view> </view>
<!-- <scene-select/> --> <!-- <scene-select/> -->
<view class="scene-box"> <view class="scene-box">
<!-- {{item.startInd + 1}} --> <!-- {{item.startInd + 1}} -->
<scene-box formData="{{item}}" data-index="{{index}}" data-item="{{item}}" bind:handleSceneChange="handleSceneChange" sceneActive="{{(item.startInd + 1)}}" /> <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 class="outputValueCon " wx:if="{{!item.showNothingSceneCon && item.showList[item.startInd] }}">
<view class="title">产值图</view> <view class="title">产值图</view>
...@@ -47,10 +68,16 @@ ...@@ -47,10 +68,16 @@
<view class="swiper-item "> <view class="swiper-item ">
<view class="fluuelCon {{item.startInd!=3?'longHeight':'shortHeight'}}"> <view class="fluuelCon {{item.startInd!=3?'longHeight':'shortHeight'}}">
<image class="bg-image " src="{{item.startInd!=3?IMAGES.funnelNew :IMAGES.funnelNewSm}}" /> <image class="bg-image " src="{{item.startInd!=3?IMAGES.funnelNew :IMAGES.funnelNewSm}}" />
<block wx:for="{{item.startInd!=3? funnelList['start']: funnelList['end']}}" wx:key="*this" wx:for-index="ind" wx:for-item="funneItem"> <block
wx:for="{{item.startInd!=3? funnelList['start']: funnelList['end']}}"
wx:key="*this"
wx:for-index="ind"
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">{{item.showList[item.startInd][funneItem['key']]||0}}</view> <view class="num">
{{item.showList[item.startInd][funneItem['key']]||0}}
</view>
</view> </view>
</block> </block>
</view> </view>
...@@ -76,8 +103,17 @@ ...@@ -76,8 +103,17 @@
<!-- 指标诊断 --> <!-- 指标诊断 -->
<view class="diagnosisCon" wx:if="{{item.showList[item.startInd]['diagnoseList'].length}}"> <view class="diagnosisCon" wx:if="{{item.showList[item.startInd]['diagnoseList'].length}}">
<view class="tipsIcon">指标诊断</view> <view class="tipsIcon">指标诊断</view>
<swiper class="tips" autoplay="{{true}}" interval="{{5000}}" circular="{{true}}" duration="{{duration}}"> <swiper
<block wx:for="{{item.showList[item.startInd]['diagnoseList']}}" wx:key="*this" wx:for-index="dgInd" wx:for-item="dgItem"> 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> <swiper-item>{{dgItem}}</swiper-item>
</block> </block>
</swiper> </swiper>
...@@ -86,7 +122,12 @@ ...@@ -86,7 +122,12 @@
</view> </view>
</view> </view>
<!-- wx:if="{{swiperHeight>590}}" --> <!-- wx:if="{{swiperHeight>590}}" -->
<navigator class="navOhterApp" target="miniProgram" open-type="navigate" app-id="wx570d9331f9ace0bd" version="release"> <navigator
class="navOhterApp"
target="miniProgram"
open-type="navigate"
app-id="wx570d9331f9ace0bd"
version="release">
<image src="{{IMAGES.link}}" webp class="linkImg" /> <image src="{{IMAGES.link}}" webp class="linkImg" />
查看订单详情 查看订单详情
</navigator> </navigator>
...@@ -114,6 +155,7 @@ ...@@ -114,6 +155,7 @@
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
</view> </view>
<!-- </scroll-view> --> </scroll-view>
<nothingTipsCon wx:if="{{!list.length }}" /> <nothingTipsCon wx:if="{{!list.length }}" />
...@@ -9,7 +9,7 @@ Page({ ...@@ -9,7 +9,7 @@ Page({
navStyle: 'background-color: rgba(0,0,0,0);', navStyle: 'background-color: rgba(0,0,0,0);',
loginType: 0, loginType: 0,
agree: true, agree: true,
tabIndx: 0, tabIndx: 1,
tabList: ['我的客户', '我的门店', '我的员工'], tabList: ['我的客户', '我的门店', '我的员工'],
popupShow: false, popupShow: false,
subIndex: -1, subIndex: -1,
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
content: ''; content: '';
width: 100%; width: 100%;
// height: 486rpx; // height: 486rpx;
height: 276rpx; height: 295rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg.png') no-repeat; background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg.png') no-repeat;
background-size: 100% 264rpx; background-size: 100% 264rpx;
background-color: #fff; background-color: #fff;
...@@ -80,11 +80,12 @@ ...@@ -80,11 +80,12 @@
.navigation-title .move { .navigation-title .move {
transform: rotate(-180deg) translateY(0); transform: rotate(-180deg) translateY(0);
} }
// 圆点样式 // 圆点样式
.wx-swiper-dots .wx-swiper-dot { .wx-swiper-dots .wx-swiper-dot {
width: 8rpx; width: 8rpx;
height: 8rpx; height: 8rpx;
background: #CCCED1; background: #CCCED1;
} }
// 当前选中圆点样式 // 当前选中圆点样式
......
...@@ -17,7 +17,7 @@ export const STORAGE_OBJECTkEY = { ...@@ -17,7 +17,7 @@ export const STORAGE_OBJECTkEY = {
authphone: 'authphone', authphone: 'authphone',
disLikeRecordFlag: 'disLikeRecordFlag', disLikeRecordFlag: 'disLikeRecordFlag',
fileList: 'fileList', fileList: 'fileList',
postId: 'postId' posterId: 'posterId'
} }
export const IMG_VERSION = () => { export const IMG_VERSION = () => {
......
...@@ -17,7 +17,7 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -17,7 +17,7 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false const manual = false
const release = false const release = false
let index = 2 let index = 1
// 判断小程序环境 // 判断小程序环境
// develop:开发版(正常开发工具,测试时) // develop:开发版(正常开发工具,测试时)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!