Commit a937fe30 by 张立顺

v3.1 功能开发完成

1 parent 215aaf7c
......@@ -17,7 +17,8 @@
margin-right: 4rpx;
font-size: 18rpx;
color: #8A8C90;
padding: 32rpx 0 28rpx;
/* padding: 32rpx 0 28rpx; */
padding: 24rpx 0 18rpx;
border-radius: 12rpx;
font-weight: 500;
border: 2rpx solid #F7F8FC;
......
......@@ -4,6 +4,9 @@ import mineApi from '~/api/mineApi/index'
import outputApi from '~/api/outputApi/index'
// import drawQrcode from '~/utils/lib/weapp-qrcode.js'
Component({
options: {
addGlobalClass: true
},
/**
* 组件的属性列表
*/
......
......@@ -19,7 +19,7 @@
&::after {
content: '';
width: 100%;
height: 264rpx;
height: 265rpx;
// background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/login/bg.webp') no-repeat;
background-color: #fff;
// background-size: 100% 486rpx;
......@@ -31,7 +31,7 @@
.tabContainer {
height: 100rpx;
background-color: #fff;
}
.list {
......
......@@ -37,17 +37,17 @@
<view class="warReportBox" wx:if="{{item.messageType == 2}}">
<view class="item">
<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 class="warReportBox" wx:if="{{item.messageType == 3}}">
<view class="item">
<view class="label">总产值</view>
<view class="num">{{item.totalValue}}元</view>
<view class="num font-number">{{item.totalValue}}元</view>
</view>
<view class="item">
<view class="label">完成目标</view>
<view class="num">{{item.completeRate}}</view>
<view class="num font-number">{{item.completeRate}}</view>
</view>
</view>
<view class="warReportLink">
......
......@@ -20,7 +20,8 @@
color: #6C6C6C;
display: flex;
align-items: center;
.icon{
.icon {
width: 40rpx;
height: 40rpx;
margin-right: 6rpx;
......@@ -144,7 +145,7 @@
.prod-info .earnings-num {
font-size: 28rpx;
// font-family: DINAlternate-Bold;
font-weight: Bold;
// font-weight: Bold;
color: #f35251;
}
......@@ -178,6 +179,7 @@
.project-img {
overflow: auto;
// height: 1600rpx;
// white-space: nowrap;
.img-item {
......@@ -206,7 +208,8 @@
z-index: 2;
background-color: #f5f7fb;
}
.stickyTab-fixed{
.stickyTab-fixed {
position: fixed;
left: 0;
top: 352rpx;
......@@ -286,6 +289,7 @@
.video-item {
width: 100%;
video {
border-radius: 16rpx;
height: 348rpx;
......@@ -430,7 +434,8 @@
width: calc(50% - 12rpx);
margin-bottom: 32rpx;
}
.video-item .video-card{
.video-item .video-card {
width: 100%;
height: 590rpx;
}
......@@ -445,10 +450,10 @@
position: absolute;
top: 0;
right: 0;
width:48rpx;
width: 48rpx;
height: 48rpx;
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;
// color: #666;
z-index: 1;
......@@ -472,4 +477,4 @@
font-size: 28rpx;
color: rgba(255, 255, 255, .6);
padding: 16rpx 0 92rpx;
}
}
\ No newline at end of file
......@@ -30,7 +30,7 @@
<!-- 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>
<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>
</view>
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
......@@ -50,7 +50,6 @@
<!-- <view class="stickyTab stickyTab-fixed">
<tab outClassName="project-tab" openScroll="{{true}}" tab="{{tab}}" index="{{curTabIdx}}" bindclick="changeTab" productHeight />
</view> -->
<!-- style="{height:{{allHeight}}px}" scroll-y="{{true}}" bindscroll="scrolltoupper"-->
<!-- <scroll-view class="project-img" scroll-into-view="{{intoViewId}}"> -->
<view class="project-img" hover-class="none" hover-stop-propagation="false">
......@@ -93,8 +92,6 @@
</view>
</view>
</view>
</block>
</view>
......
......@@ -46,10 +46,11 @@ Page({
})
}
})
wx.$storage.rm('fileList')
// wx.$storage.rm('fileList')
wx.$storage.rm('sessionId')
wx.$storage.rm('auto_login_object')
wx.$storage.rm('userInfo')
wx.$storage.rm('auto_login_object')
wx.$storage.rm('posterId')
wx.$router.reLaunch('login.index')
})
}
......
......@@ -9,7 +9,7 @@
<view wx:if="{{formData['showList'][index]}}" class="open-icon">
<image src="{{openedIcon}}" webp></image>
</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}}" />
<view class="scene-title {{formData['showList'][index]?'':'notOpened'}}">{{item.title}}</view>
<view class="scene-label">{{item.subTitle}}</view>
......
......@@ -10,6 +10,7 @@
.scene-item {
box-sizing: border-box;
height: 248rpx;
position: relative;
width: 25%;
/* flex: 1; */
......@@ -18,10 +19,11 @@
font-size: 18rpx;
/* color: #8A8C90; */
color: #323436;
padding: 32rpx 0 28rpx;
padding: 24rpx 0 18rpx;
border-radius: 12rpx;
margin-bottom: 20rpx;
font-weight: 500;
border: 2rpx solid transparent;
}
.scene-item:last-child {
......@@ -83,8 +85,9 @@
}
.scene-img {
width: 56rpx;
height: 56rpx;
width: 92rpx;
height: 64rpx;
}
/* .notOpened {
......
......@@ -244,8 +244,9 @@
}
.num {
font-family: MiSans-S0rpxibold;
font-weight: 600;
// font-family: MiSans-S0rpxibold;
// font-weight: 600;
font-family: 'number';
font-size: 32rpx;
color: #323436;
// margin-bottom: 14rpx;
......@@ -319,6 +320,11 @@
}
}
.list-wrap {
// padding-top: 170rpx;
padding-top: 0;
}
.emptyCon {
width: 100%;
height: 500rpx;
......
......@@ -9,7 +9,7 @@ Page({
navStyle: 'background-color: rgba(0,0,0,0);',
loginType: 0,
agree: true,
tabIndx: 0,
tabIndx: 1,
tabList: ['我的客户', '我的门店', '我的员工'],
popupShow: false,
subIndex: -1,
......
......@@ -25,7 +25,7 @@
content: '';
width: 100%;
// height: 486rpx;
height: 276rpx;
height: 295rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg.png') no-repeat;
background-size: 100% 264rpx;
background-color: #fff;
......@@ -80,11 +80,12 @@
.navigation-title .move {
transform: rotate(-180deg) translateY(0);
}
// 圆点样式
.wx-swiper-dots .wx-swiper-dot {
.wx-swiper-dots .wx-swiper-dot {
width: 8rpx;
height: 8rpx;
background: #CCCED1;
height: 8rpx;
background: #CCCED1;
}
// 当前选中圆点样式
......
......@@ -17,7 +17,7 @@ export const STORAGE_OBJECTkEY = {
authphone: 'authphone',
disLikeRecordFlag: 'disLikeRecordFlag',
fileList: 'fileList',
postId: 'postId'
posterId: 'posterId'
}
export const IMG_VERSION = () => {
......
......@@ -17,7 +17,7 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false
const release = false
let index = 2
let index = 1
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!