Commit fbcbc166 by zhangxw

样式修改

1 parent e3b1bba8
// components/SideSelectPopup/SideSelectPopup.js
import constantData from '../../pages/constant/data'
import api from '~/api/api'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat'
Component({
/**
......@@ -72,7 +73,6 @@ Component({
let { item } = e.currentTarget.dataset
let { userInfo, storeList } = this.data
if (item?.merchantId == userInfo?.selectedMerchantId) return this.closeMenu()
const thisPage = wx.$router.getPageInstance()
storeList?.map(val => {
val.actived = false
if (val.merchantId == userInfo?.selectedMerchantId) val.actived = true
......@@ -81,7 +81,23 @@ Component({
this.setData({
storeList
})
this.closeMenu()
api.selectAccountLogin({
id: userInfo?.uuid,
loginStoreId: item.merchantId
})
.then(res => {
let { data, message } = res
if (data) {
wx.$util.setUserInfo({...wx.$util.getUserInfo(), ...data.loginUserInfoList[0]})
wx.$util.hideLoading()
this.eventCallback(item)
} else {
wx.$util.showToast(message)
}
})
},
eventCallback(item) {
const thisPage = wx.$router.getPageInstance()
wx.$util.setUserInfo({
...wx.$util.getUserInfo(),
selectedMerchantName: item.merchantName,
......@@ -118,13 +134,10 @@ Component({
}
}})
// 除精品升级外 切换门店刷新数据
console.log(thisPage.initList)
thisPage.initList && thisPage.initList()
// wx.$util.pointRecord(item.recordId)
// 精品升级首页数据刷新
thisPage.initData && thisPage.initData()
this.closeMenu()
}
// goMineCenter() {
// wx.$util.pointRecord(5)
// wx.$router.redirectTo('pages.sceneIndex')
// }
}
})
......@@ -25,12 +25,17 @@
font-weight: 500;
font-size: 30rpx;
color: #FFFFFF;
max-width: 440rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wrapper .element .img,.gap_icon{
width: 64rpx;
height: 64rpx;
margin-right: 16rpx;
flex-shrink: 0;
}
.wrapper .active{
......
......@@ -28,7 +28,7 @@
</view>
</view>
<block >
<view class="scene_box">
<!-- <view class="scene_box">
<view class="title">场景</view>
<view class="select_item">
<view class="scene_message">
......@@ -45,26 +45,34 @@
</view>
<view class="change_btn" bindtap="changeScene">切换场景</view>
</view>
</view>
<!-- <view class="set_box">
<view class="set_item item_1" bindtap="showWork">
<view class="title">工位设置<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
</view> -->
<view class="set_box">
<!-- <view class="set_item item_1" bindtap="showWork">
<view class="title">工位设置<image class="arrow_icon" src="/tabMine/images/arrow_icon.png" mode=""/></view>
<view class="set_tips" wx:if="{{workCount>0}}"><text style="font-size: 32rpx;color: #333333; font-weight: 500;">{{workCount}}</text>个</view>
<view class="set_tips" wx:else>根据门店设置工位数</view>
</view>
<view class="set_item item_2" bindtap="showMerchantPop">
<view class="title">录单设置<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="title">录单设置<image class="arrow_icon" src="/tabMine/images/arrow_icon.png" mode=""/></view>
<view class="set_tips">设置录单必填项</view>
</view> -->
<view class="set_item item_3" bindtap="changeScene">
<view class="title">场景切换<image class="arrow_icon" src="/tabMine/images/arrow_icon.png" mode=""/></view>
<view class="set_tips">{{selectedSceneName}}</view>
</view>
</view> -->
<view class="version_box" bindtap="goVersionPage">
<view class="set_item item_4" bindtap="goVersionPage">
<view class="title">更新日志<image class="arrow_icon" src="/tabMine/images/arrow_icon.png" mode=""/></view>
<view class="set_tips">最新{{versionData.version}}版</view>
</view>
</view>
<!-- <view class="version_box" bindtap="goVersionPage">
<view class="item">
<view class="icon_box">
<view class="is_new" hidden="{{!versionData.isNew}}">NEW</view>
</view>
<view>更新日志</view>
</view>
</view>
</view> -->
</block>
<view class="logout text-center" bindtap="logout">退出账号</view>
</view>
......
/* tabComponents/pages/index/index.wxss */
.main {
.pagedetail {
position: relative;
}
.bg {
......@@ -134,11 +134,12 @@
}
.set_box{
margin: 20rpx;
margin-top: 48rpx;
display: grid;
grid-template-columns: repeat(auto-fill, 344rpx);
justify-content: space-between;
align-items: center;
margin: 20rpx;
}
.set_box .set_item{
......@@ -150,6 +151,7 @@
flex-flow: column;
justify-content: center;
padding: 32rpx;
margin-bottom: 20rpx;
}
.set_box .set_item .title .arrow_icon{
......@@ -165,6 +167,14 @@
background: #F8F9FF;
}
.set_box .item_3{
background: #F6FCFE;
}
.set_box .item_4{
background: #FFF8F8;
}
.set_box .set_item .title{
font-weight: 500;
font-size: 28rpx;
......@@ -230,7 +240,10 @@
}
.logout {
margin: 94rpx auto;
position: absolute;
bottom: 106rpx;
left: 50%;
transform: translateX(-50%);
width: 326rpx;
height: 80rpx;
background: #FFFFFF;
......
......@@ -54,6 +54,7 @@ Component({
util.getViewInfo(
'#navigation-bar',
res => {
console.log('123123')
_this.triggerEvent('navbarReady', res)
_this.setData({
showNavBar: true
......
......@@ -15,7 +15,7 @@ Page({
selectedIconPath: '/images/tab-staging-active.png'
},
{
name: '活动',
name: '活动管理',
iconPath: '/images/tab-quited.png',
selectedIconPath: '/images/tab-quited-active.png'
},
......
// packageCrowdFunding/pages/homePage/index/index.js
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/crowdFunding/'
Component({
/**
* 组件的属性列表
......@@ -11,6 +12,7 @@ Component({
* 组件的初始数据
*/
data: {
IMG_URL,
staticDataList: [{
label: '今日营业额',
value: 0,
......@@ -52,6 +54,27 @@ Component({
value: 0,
icon: ''
}],
menuList: [{
menuText: '调查问卷',
icon: 'questionnaire',
path: ''
}, {
menuText: '营销素材',
icon: 'marketing_materials',
path: ''
}, {
menuText: '业务申请',
icon: 'business_application',
path: ''
}, {
menuText: '活动管理',
icon: 'event_management',
path: ''
}, {
menuText: '话术库',
icon: 'script _library',
path: ''
}],
loginRoleLabel: {
1: '超管',
2: '商户管理员',
......@@ -79,6 +102,11 @@ Component({
methods: {
onLoad() {
}
},
navGo(e) {
console.log(e)
let {item} = e.currentTarget.dataset
if (!item.path) wx.$util.showToast('模块暂未开通\r\n敬请期待')
},
}
})
......@@ -3,7 +3,7 @@
<view class="top_box">
<view class="top_item" wx:for="{{staticDataList}}" wx:key="index">
<view class="label">{{item.label}}</view>
<view class="value">{{item.value}}</view>
<view class="value"><text style="font-size: 28rpx;margin-right: 4rpx;">¥</text>{{item.value}}</view>
<view class="tips_box">
<text>{{item.tipsLabel}}</text>
<text class="num_text">{{item.tipsValue}}</text>
......@@ -16,12 +16,19 @@
<text>{{loginRoleLabel[loginRole]|| ''}}{{userInfo.name || ''}}</text>
</view>
<view class="static_box">
<view class="static_item" wx:for="{{itemDataList}}" wx:key="index">
<view class="static_item" wx:for="{{itemDataList}}" wx:key="index" wx:for-index="index">
<view class="label">
<image src="" mode=""/>
<text>{{item.label}}</text>
</view>
<view class="value">{{item.value}}</view>
<view class="value"><text wx:if="{{index == 2 || index == 5}}" style="font-size: 24rpx;margin-right: 4rpx;">¥</text>{{item.value}}</view>
</view>
</view>
<view class="title">展业工具</view>
<view class="menu_box">
<view class="menu_item" wx:for="{{menuList}}" wx:key="index" bindtap="navGo" data-item="{{item}}">
<view class="icon"><image src="{{IMG_URL}}{{item.icon}}.png" mode="widthFix"/></view>
<view class="text">{{item.menuText}}</view>
</view>
</view>
</view>
......
......@@ -2,8 +2,9 @@
.layout_box{
width: 100%;
height: 100vh;
background: #F6FAFF;
background: #FAFBFF;
padding-top: 6rpx;
overflow: scroll;
}
.top_box{
width: calc(100% - 24rpx);
......@@ -29,6 +30,7 @@
font-size: 40rpx;
margin: 4rpx 0 12rpx 0;
font-weight: 700;
font-family: 'numberBold';
}
.top_item .tips_box{
......@@ -45,6 +47,7 @@
.top_item .tips_box .num_text{
font-size: 28rpx;
margin: 0;
font-family: 'numberBold';
}
.content_box{
......@@ -99,4 +102,27 @@
color: #2D2D33;
font-weight: 700;
margin-top: 8rpx;
font-family: 'numberBold';
}
.content_box .title{
font-weight: 600;
font-size: 28rpx;
color: #323436;
margin: 20rpx 0;
}
.menu_box{
display: grid;
grid-template-columns: repeat(4, 100rpx);
justify-content: space-between;
align-items: center;
}
.menu_box .menu_item{
margin-bottom: 40rpx;
}
.menu_box .menu_item .icon{
width: 100rpx;
height: 100rpx;
}
// pages/accountItems/accountItems.js
import api from '../../api/api.js'
import api from '~/api/api'
const app = getApp()
import { getYQorderInfo, get4SStoreList } from '~/store/index'
import constantData from '../constant/data'
......@@ -209,6 +209,7 @@ Page({
loginUserInfoList,
selectedUuid: item.uuid
})
this.choiceAccountLogin()
},
sceneHandle() {
......@@ -257,7 +258,7 @@ Page({
})
})
},
async getYqMerchantSceneConfig({ yqMerchantId, isSuper, result }) {
async getYqMerchantSceneConfig(yqMerchantId, isSuper, result, loginInfo) {
// 先取消掉
// let checkAgree = await this.checkAgree()
// if (!checkAgree) return false
......@@ -300,6 +301,10 @@ Page({
if (!openSceneArr.length) {
wx.$util.showToast('暂无开通业务,请联系总部管理员')
} else {
if (loginInfo?.subLoginUser?.selectedMerchantId) { // 记录上次登录选择的4s店
let { selectedMerchantId, selectedMerchantName } = loginInfo?.subLoginUser
this.jumpPage(openSceneArr, {merchantId: selectedMerchantId, merchantName: selectedMerchantName})
}
wx.$util.setUserInfo({ ...wx.$util.getUserInfo(), openSceneArr })
if (result?.length == 1) this.jumpPage(openSceneArr, result[0])
else wx.$router.reLaunch('pages.merchantList')
......@@ -381,7 +386,7 @@ Page({
app.globalData.yqdInfo.merchantRange = null
app.globalData.YQorderSetting = null
wx.$util.hideLoading()
console.log(app);
wx.$util.setUserInfo(data.loginUserInfoList[0])
app.gobalCheckYqdSuper(data.loginUserInfoList[0])
// checkYqdSuper(app, data.loginUserInfoList[0])
......@@ -390,7 +395,7 @@ Page({
const SCENE = wx.$SCENE
// debugger
// 有场景信息就跳转对应页面 没有就登录场景
SCENE && SCENE.path != 'pages/accountItems/accountItems' ? this.sceneHandle() : this.getYqMerchantSceneConfig({ yqMerchantId, isSuper, result })
SCENE && SCENE.path != 'pages/accountItems/accountItems' ? this.sceneHandle() : this.getYqMerchantSceneConfig(yqMerchantId, isSuper, result, data.loginUserInfoList[0])
} else {
wx.$util.showToast(message)
}
......
<view class="layout" style="padding-bottom:{{isFullSucreen?'224rpx':'160rpx'}}">
<view class="title">请选择登录的账号</view>
<!-- style="padding-bottom:{{isFullSucreen?'224rpx':'160rpx'}}" -->
<view class="layout">
<!-- <view class="title">请选择登录的账号</view> -->
<view class="search-box" wx:if="{{copyLoginUserInfoList && copyLoginUserInfoList.length >= 10}}">
<view class="search-input">
<block wx:if="{{!edit}}">
......@@ -23,6 +24,11 @@
<block wx:if="{{loginUserInfoList}}">
<block wx:for="{{loginUserInfoList}}" wx:key="index">
<view class="items {{item.active?'active':''}}" bindtap="chooseAccount" data-index="{{index}}" data-item="{{item}}">
<view class="right">
<view class="midle {{item.isSuper==true?'midle_1':item.userType==1?'midle_2':(item.loginRole == 3 ?'midle_3' : item.loginRole == 4 ? 'midle_4' : 'midle_5')}}">
{{item.isSuper==true?'超管':item.userType==1?'商户':(item.loginRole == 3 ? '督导' : item.loginRole == 4 ? '驻店' : '员工')}}
</view>
</view>
<view class="left">
<view class="name">
{{item.merchantName}}
......@@ -32,15 +38,14 @@
</view>
</view>
<!-- userType 1商户号 2员工号 loginRole细化员工号角色 3区域督导 4驻店负责人 -->
<view class="right">
<!-- <view class="right">
<view class="midle {{item.isSuper==true?'midle_1':item.userType==1?'midle_2':(item.loginRole == 3 ?'midle_3' : item.loginRole == 4 ? 'midle_4' : 'midle_5')}}">
{{item.isSuper==true?'超管':item.userType==1?'商户号':(item.loginRole == 3 ? '区域督导' : item.loginRole == 4 ? '驻店负责人' : '员工号')}}
<!-- {{ loginRole[item.loginRole]||'员工号'}} -->
</view>
<view class="icon">
<image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/arrow-left.png" />
</view>
</view>
</view> -->
</view>
</block>
</block>
......@@ -52,8 +57,8 @@
</block>
<view class="scrollSpase"></view>
</scroll-view >
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<!-- <view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class='btn' bindtap="choiceAccountLogin">确定</view>
</view>
</view> -->
</view>
......@@ -55,7 +55,7 @@
padding: 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
/* justify-content: space-between; */
box-sizing: border-box;
}
.items {
......@@ -75,14 +75,14 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
color: #1B233D;
font-size: 28rpx;
color: #181A1F;
}
.items .left .shop_no{
font-weight: 400;
font-size: 24rpx;
margin-top: 4rpx;
color: #9299AD;
color: #999EA8;
}
.items .right{
flex-shrink: 0;
......@@ -91,42 +91,44 @@
}
.items .right .midle{
font-size: 24rpx;
height: 44rpx;
width: 96rpx;
height: 96rpx;
border-radius: 4rpx;
line-height: 44rpx;
padding: 0 16rpx;
margin-right: 26rpx;
margin-right: 30rpx;
display: flex;
align-items: center;
justify-content: center;
}
/* 超管 */
.items .right .midle_1{
color: #F24724;
border: 2rpx solid #F24724;
background-color: #F2472410;
/* border: 2rpx solid #F24724; */
background-color: #f247241a;
}
/* 商户号 */
.items .right .midle_2{
color: #FF9D0A;
border: 2rpx solid #FF9D0A;
background-color: #FF9D0A10;
/* border: 2rpx solid #FF9D0A; */
background-color: #ff9d0a1a;
}
/* 区域督导 */
.items .right .midle_3{
color: #3582EE;
border: 2rpx solid #3582EE;
background-color: #3582EE10;
/* border: 2rpx solid #3582EE; */
background-color: #347bff1a;
}
/* 驻店负责人 */
.items .right .midle_4{
color: #35C376;
border: 2rpx solid #35C376;
background-color: #35C37610;
/* border: 2rpx solid #35C376; */
background-color: #35c3761a;
}
/* 员工号 */
.items .right .midle_5{
color: #35C376;
border: 2rpx solid #35C376;
background-color: #35C37610;
/* border: 2rpx solid #35C376; */
background-color: #35c3761a;
}
.items .right .icon{
width: 40rpx;
......
......@@ -12,7 +12,7 @@
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
padding-left: 90rpx;
}
/* .tips text {
......@@ -37,9 +37,8 @@
}
.tips .choose-box {
width: 80rpx;
height: 80rpx;
width: 50rpx;
height: 50rpx;
position: relative;
z-index: 10;
margin-right: -18rpx;
}
\ No newline at end of file
......@@ -4,7 +4,7 @@
<image src="{{agree?'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/login_checked.png':'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/login_check.png'}}" class='check-img' />
</view>
</view>
阅读并同意以下协议
我已阅读并同意
<!-- <text catchtap="jump" data-url="agree">《服务协议》</text> -->
<text catchtap="jump" data-url="privacy">《隐私协议》</text>和
<text catchtap="jump" data-url="agreement">《用户协议》</text>
......
/* components/authSetting/authSetting.wxss */
.tips {
position: fixed;
/* position: fixed; */
width: 100%;
left: 0;
bottom: 60rpx;
font-size: 24rpx;
color: #999;
letter-spacing: 2rpx;
padding-left: 28rpx;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
padding-left: 90rpx;
}
.tips text {
......@@ -37,9 +36,8 @@
}
.tips .choose-box {
width: 80rpx;
height: 80rpx;
width: 50rpx;
height: 50rpx;
position: relative;
z-index: 10;
margin-right: -18rpx;
}
\ No newline at end of file
......@@ -51,7 +51,7 @@ Page({
wx.nextTick(() => {
// 没有登录信息 或无开通场景 退出登录
if (!userInfo || !Object.keys(userInfo).length || !userInfo.openSceneArr?.length) {
return app.login(true,'请重新登录')
return app.login(false,'请重新登录')
}
// 未选择4s店
if ((userInfo?.selectedMerchantId ?? '') === '') return wx.$router.reLaunch('pages.accountItems')
......
// pages/accountItems/accountItems.js
const app = getApp()
import api from '~/api/api'
import { get4SStoreList } from '~/store/index'
import constantData from '../constant/data'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
......@@ -46,8 +46,28 @@ Page({
.catch(err => {})
},
jumpPage() {
console.log(123123)
let userInfo = wx.$util.getUserInfo()
let openSceneArr = userInfo?.openSceneArr || []
let { selectedMerchantName, selectedMerchantId } = this.data
console.log(userInfo)
wx.$util.setUserInfo({
...wx.$util.getUserInfo(),
selectedMerchantName,
selectedMerchantId,
default4SStoreInfo: {
merchantId: selectedMerchantId,
merchantName: selectedMerchantName
},
default4SStoreInfo_crowdFunding: {
merchantId: selectedMerchantId,
merchantName: selectedMerchantName
},
default4SStoreInfo_newCarConversion: {
merchantId: selectedMerchantId,
merchantName: selectedMerchantName
}
})
// 只开通一个场景直接跳转页面
if (openSceneArr.length === 1) {
wx.$util.setUserInfo({ ...wx.$util.getUserInfo(), selectedSceneType: openSceneArr[0] })
......@@ -111,6 +131,7 @@ Page({
chooseAccount(e) {
let { item } = e.currentTarget.dataset
let { loginUserInfoList } = this.data
let userInfo = wx.$util.getUserInfo()
loginUserInfoList.map(i => {
i.active = false
if (i.merchantId == item?.merchantId) {
......@@ -123,29 +144,27 @@ Page({
selectedMerchantId: item.merchantId,
selectedMerchantName: item.merchantName
})
api
.selectAccountLogin({
id: userInfo?.uuid,
loginStoreId: item.merchantId
})
.then(res => {
let { data, message } = res
if (data) {
wx.$util.setUserInfo({...wx.$util.getUserInfo(), ...data.loginUserInfoList[0]})
wx.$util.hideLoading()
console.log(data)
this.jumpPage()
} else {
wx.$util.showToast(message)
}
})
},
choiceAccountLogin() {
let { selectedMerchantName, selectedMerchantId } = this.data
if (!selectedMerchantId) return wx.$util.showToast('请选择4S店')
wx.$util.setUserInfo({
...wx.$util.getUserInfo(),
selectedMerchantName,
selectedMerchantId,
default4SStoreInfo: {
merchantId: selectedMerchantId,
merchantName: selectedMerchantName
},
default4SStoreInfo_crowdFunding: {
merchantId: selectedMerchantId,
merchantName: selectedMerchantName
},
default4SStoreInfo_newCarConversion: {
merchantId: selectedMerchantId,
merchantName: selectedMerchantName
}
})
this.jumpPage()
},
/**
......
{
"navigationBarTitleText": "选择账号"
"navigationBarTitleText": "选择4S店"
}
\ No newline at end of file
<view class="layout" style="padding-bottom:{{isFullSucreen?'224rpx':'160rpx'}}">
<!-- style="padding-bottom:{{isFullSucreen?'224rpx':'160rpx'}}" -->
<view class="layout">
<view class="title">请选择4S店</view>
<view class="search-box" wx:if="{{copyLoginUserInfoList && copyLoginUserInfoList.length >= 10}}">
<view class="search-input">
......@@ -32,12 +33,12 @@
</view>
</view>
<!-- userType 1商户号 2员工号 loginRole细化员工号角色 3区域督导 4驻店负责人 -->
<view class="right">
<!-- <view class="right">
<view class="icon">
<image src="/images/active-arc.png" />
</view>
<view class='radio' />
</view>
</view> -->
</view>
</block>
</block>
......@@ -49,8 +50,8 @@
</block>
<view class="scrollSpase"></view>
</scroll-view >
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<!-- <view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class='btn' bindtap="choiceAccountLogin">确定</view>
</view>
</view> -->
</view>
......@@ -11,9 +11,10 @@ Page({
userName: '',
count: 60,
verificationCount: '',
loginType: 3,
loginType: 1,
agree: false,
noLoginAgree: false
noLoginAgree: false,
navBarHeight: 0
},
onRoute(loginToken) {
......@@ -21,6 +22,13 @@ Page({
loginToken
})
},
navbarReady(e) {
console.log(e)
let navBarHeight = e.detail.height
this.setData({
navBarHeight
})
},
noLoginAgreeChoose(e) {
let { detail: agree } = e
this.setData({
......
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<view class="layout {{ loginType == 1?'phone_login_layout':'' }}">
<navigation-bar navStyle="background-color: rgba(0,0,0,0);box-shadow:none;">生意助手员工版</navigation-bar>
<view class="box_content">
<navigation-bar navStyle="background-color: rgba(0,0,0,0);box-shadow:none;" bindnavbarReady="navbarReady">生意助手员工版</navigation-bar>
<view class="box_content" style="margin-top: {{navBarHeight}}px;">
<!-- 登录区域 -->
<view class="box">
<!-- 微信登录 -->
......@@ -17,7 +17,6 @@
<!-- <view hidden="{{ loginType !=3 }}" bindtap="checkAgree">微信登录</view> -->
</view>
<view class="mobile_btn" bindtap="changeLoginType" data-type="1" wx:if="{{ loginType != 1 }}">手机号登录</view>
<auth-noLogin bind:choose="noLoginAgreeChoose" agree="{{ noLoginAgree }}"></auth-noLogin>
</block>
<!-- 手机号登录 -->
<block wx:if="{{ loginType == 1 }}">
......@@ -65,12 +64,16 @@
<text bindtap="changeLoginType" data-type="3">授权登录</text>
</view>
</view>
</view>
</view>
<autoLogin-btn></autoLogin-btn>
</block>
</block>
<view class="auth_box">
<!-- 协议 -->
<auth-setting bind:choose="authChoose" agree="{{ agree }}" />
<!-- 30天免登录 -->
<auth-noLogin bind:choose="noLoginAgreeChoose" agree="{{ noLoginAgree }}"></auth-noLogin>
</view>
</view>
<!-- 协议 -->
<auth-setting bind:choose="authChoose" agree="{{ agree }}" />
</view>
<!-- -->
</view>
......
......@@ -4,8 +4,10 @@ page {
}
.layout {
padding: 0 80rpx;
/* padding: 0 80rpx; */
position: relative;
display: flex;
justify-content: center;
height: 100vh;
}
......@@ -38,14 +40,14 @@ page {
.wx .title {
font-weight: 600;
font-size: 60rpx;
color: #323436;
padding: 216rpx 0 24rpx;
font-size: 52rpx;
color: #181A1F;
padding-top: 68rpx;
}
.wx .subtitle {
font-size: 44rpx;
color: #323436;
font-size: 40rpx;
color: #181A1F;
margin-bottom: 76rpx;
}
......@@ -92,7 +94,7 @@ page {
height: 100rpx;
background: #E6F0FD;
border-radius: 12rpx;
color: #3582EE;
color: #347BFF;
text-align: center;
line-height: 100rpx;
}
......@@ -124,17 +126,23 @@ page {
padding: 8px 0;
}
.phone_login{
width: 100%;
}
.phone_login .title {
font-weight: 600;
font-size: 48rpx;
color: #333333;
padding: 300rpx 0 110rpx;
color: #181A1F;
padding: 194rpx 0 158rpx;
display: flex;
justify-content: center;
}
.login-form .input {
display: flex;
align-items: center;
margin-top: 33rpx;
margin-top: 20rpx;
padding: 26rpx 40rpx;
background: #F7F8FA;
border-radius: 12rpx;
......@@ -161,7 +169,7 @@ page {
}
.login-form .login_btn {
width: 100%;
width: 594rpx;
height: 100rpx;
background-image: linear-gradient(125deg, #65B8F8 0%, #3582EE 100%);
border-radius: 12rpx;
......@@ -180,4 +188,12 @@ page {
.login-form .wx_login text {
color: #3582EE;
margin-left: 20rpx;
}
.auth_box{
position: fixed;
width: 100%;
left: 50%;
bottom: 368rpx;
transform: translateX(-50%);
}
\ No newline at end of file
......@@ -258,12 +258,15 @@ export const get4SStoreList = options => {
console.log(options, 'options')
return new Promise((resolve, reject) => {
const app = getApp()
wx.showLoading()
if (app.globalData.storeListRange?.length) {
wx.hideLoading()
return resolve(app.globalData.storeListRange)
}
api
.getSceneMerchantRefStoreList(options)
.then(res => {
wx.hideLoading()
let { code, data } = res
if (code == 0) {
app.globalData.storeListRange = data
......
import api from '~/subvehicleConversion/api'
import NP from 'number-precision'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/crowdFunding/'
Component({
properties: {
navBarHeight: Number
},
data: {
IMG_URL,
productionValueList: [
{title: '当日访客', num: '2', imgName: 'dayVisitor',valueName:'todayFansCount'},
{title: '当日订单', num: '3', imgName: 'dayOrder',valueName:'todayOrderCount'},
......@@ -19,10 +21,29 @@ Component({
{title: '业务申请', imgName: 'businessApplication', isOpen: false},
],
exhibitionToolsList: [
{title: '活动管理', imgName: 'managementOfActivities', isOpen: true,path:'activityManagement'},
{title: '话术库', imgName: 'speechLibrary', isOpen: false},
{title: '调查问卷', icon: 'questionnaire', isOpen: false},
{title: '营销素材', icon: 'marketing_materials', isOpen: false},
{title: '业务申请', icon: 'business_application', isOpen: false},
{title: '活动管理', icon: 'event_management', isOpen: true,path:'activityManagement'},
{title: '话术库', icon: 'script _library', isOpen: false},
// {title: '订单补录', imgName: 'supplementary_order', isOpen: true, path: 'supplementaryOrderList'}
],
staticDataList: [{
label: '今日营业额',
value: 0,
tipsLabel: '今日成交量',
tipsValue: 0
}, {
label: '本月营业额',
value: 0,
tipsLabel: '本月成交量',
tipsValue: 0
}, {
label: '累计营业额',
value: 0,
tipsLabel: '累计成交量',
tipsValue: 0
}],
conversionList: {}
},
lifetimes: {
......
.conversion-list-wrap{
padding: 0 30rpx;
width: 100%;
height: 100vh;
background: #FAFBFF;
padding-top: 6rpx;
overflow: scroll;
.top_box{
width: calc(100% - 24rpx);
height: 212rpx;
box-sizing: border-box;
margin: 0 12rpx 20rpx 12rpx;
background: linear-gradient(0deg, #347BFF 0%, #3B8FFE 100%);
border-radius: 32rpx;
color: #FFFFFF;
padding: 32rpx 24rpx;
display: flex;
.top_item{
width: 33%;
.label{
font-size: 24rpx;
}
.value{
font-size: 40rpx;
margin: 4rpx 0 12rpx 0;
font-weight: 700;
font-family: 'numberBold';
}
.tips_box{
display: flex;
align-items: center;
word-break: break-all;
text{
font-size: 20rpx;
margin-right: 12rpx;
}
.num_text{
font-size: 28rpx;
margin: 0;
font-family: 'numberBold';
}
}
}
}
.content_box{
width: 100%;
box-sizing: border-box;
background: #FFFFFF;
box-shadow: 0 4rpx 20rpx 0 #0000001a;
border-radius: 32rpx 32rpx 0 0;
height: calc(100% - 238rpx);
padding: 30rpx 36rpx;
}
.production-list{
.title{
font-weight: 600;
......@@ -10,29 +59,34 @@
margin-bottom: 24rpx; }
.overview-wrap{
background: #FAFBFC;
border-radius: 6px;
display: grid;
grid-template-columns:33.3% 33.3% 33.3%;
padding-top: 20rpx;
padding-bottom: 10rpx;
//margin-bottom: 50rpx;
grid-template-columns: repeat(auto-fill, 216rpx);
justify-content: space-between;
align-items: center;
.overview-list{
display: flex;
justify-content: space-around;
margin-bottom: 20rpx;
background: #F6FCFE;
border-radius: 12rpx;
margin-bottom: 18rpx;
padding: 24rpx 8rpx;
.overview-left{
.overview-title{
display: flex;
align-items: center;
font-size: 22rpx;
color: #5A6066;
font-size: 26rpx;
image{
width: 36rpx;
height: 36rpx;
}
}
.overview-num{
margin-top: 24rpx;
margin-left: 44rpx;
font-size: 36rpx;
color: #2D2D33;
font-size: 32rpx;
font-weight: 600;
font-weight: 700;
margin-top: 8rpx;
font-family: 'numberBold';
} }
......@@ -58,8 +112,8 @@
grid-template-columns: 25% 25% 25% 25%;
text-align: center;
.business-img{
width: 62px;
height: 62px;
width: 100rpx;
height: 100rpx;
}
.business-title{
//text-align: center;
......
<view class="conversion-list-wrap">
<!--产值总览-->
<view class="top_box">
<view class="top_item" wx:for="{{staticDataList}}" wx:key="index">
<view class="label">{{item.label}}</view>
<view class="value"><text style="font-size: 28rpx;margin-right: 4rpx;">¥</text>{{item.value}}</view>
<view class="tips_box">
<text>{{item.tipsLabel}}</text>
<text class="num_text">{{item.tipsValue}}</text>
</view>
</view>
</view>
<!--产值总览-->
<view class="content_box">
<view class="production-list">
<view class="title">产值总览</view>
<view class="overview-wrap">
<view class="overview-list" wx:for="{{productionValueList}}" wx:key="index">
<view class="overview-left">
<view class="overview-title">{{item.title}}</view>
<view class="overview-num">{{conversionList[item.valueName]}}</view>
</view>
<block class="overview-right">
<image class="overview-img" src="../../images/{{item.imgName}}.png"></image>
</block>
</view>
<!-- <view class="title">产值总览</view> -->
<view class="overview-wrap">
<view class="overview-list" wx:for="{{productionValueList}}" wx:key="index">
<view class="overview-left">
<view class="overview-title"><image class="overview-img" src="{{IMG_URL}}{{item.icon}}.png"></image>{{item.title}}</view>
<view class="overview-num">{{conversionList[item.valueName]}}</view>
</view>
</view>
</view>
</view>
<!-- 业务拓展-->
<view class="business-list">
<view class="title">业务拓展</view>
<view class="business-wrap">
<block wx:for="{{businessDevelopmentList}}" wx:key="index" >
<view class="title">展业工具</view>
<view class="business-wrap">
<block wx:for="{{exhibitionToolsList}}" wx:key="index">
<view class="business-content" bindtap="clickTap" data-item="{{item}}">
<image class="business-img" src="../../images/{{item.imgName}}.png"></image>
<image class="business-img" src="{{IMG_URL}}{{item.icon}}.png"></image>
<view class="business-title">{{item.title}}</view>
</view>
</block>
</view>
</block>
</view>
</view>
</view>
<!-- 业务拓展-->
<!-- <view class="business-list">
<view class="title">业务拓展</view>
<!-- 展业工具-->
<!-- <view class="instrument-list">-->
<!-- <view class="title">展业工具</view>-->
<!-- </view>-->
<!--</view>-->
<view class="business-wrap">
<block wx:for="{{businessDevelopmentList}}" wx:key="index" >
<view class="business-content" bindtap="clickTap" data-item="{{item}}">
<image class="business-img" src="../../images/{{item.imgName}}.png"></image>
<view class="business-title">{{item.title}}</view>
</view>
</block>
</view>
<view class="business-list">
<view class="title">展业工具</view>
<view class="business-wrap">
<block wx:for="{{exhibitionToolsList}}" wx:key="index">
<view class="business-content" bindtap="clickTap" data-item="{{item}}">
<image class="business-img" src="../../images/{{item.imgName}}.png"></image>
<view class="business-title">{{item.title}}</view>
</view>
</block>
</view>
</view>
</view> -->
</view>
......@@ -2,41 +2,44 @@
<wxs src="../index.wxs" module="filter" />
<navigation-bar
bindnavbarReady="navbarReady"
showMenu="{{ true }}"
showMenu="{{ userInfo.isSuper ? false : true }}"
bindback="back"
bindshowMenuPopup="showMenuPopup"
navStyle="{{ navStyle }}"
>
<!-- <picker range="{{ merchantRange }}" value="{{ subIndex }}" range-key="merchantName" bindchange="changePicker" bindtap="tapPicker" bindcancel="tapPicker" disabled="{{ merchantRange.length < 2 }}"> -->
<!-- bindtap="showStorePicker" -->
<view class="navigation-title" bindtap="showStorePicker">
<view class="navigation-title-text text-hide">{{userInfo.selectedMerchantName || merchantRange[subIndex].merchantName}}</view>
<!-- {{ moveArrow?'move':'' }} -->
<view class="navigation-title-text text-hide">{{userInfo.isSuper ? merchantRange[subIndex].merchantName : userInfo.selectedMerchantName}}</view>
<view class="arrow" wx:if="{{ userInfo.isSuper }}">
<image src="/images/arrow-bottom.png" />
</view>
</view>
<!-- </picker> -->
</navigation-bar>
<view class="bg"></view>
<view
class="layout {{ flag?'opacity':''}} {{waitInputCount?'mtTips':'' }}"
style="height:100vh; padding-top:{{ navBarHeight + 'px' }}"
>
<!-- <scroll-view style="height:100%;" scroll-x="false" scroll-y="false" upper-threshold="50" lower-threshold="50"> height:calc(100vh - {{ navBarHeight - 18}}rpx) -->
<block wx:if="{{ navBarHeight > 0 }}">
<block wx:if="{{ navBarHeight > 0 }}">
<view class="top_box">
<view class="top_item" wx:for="{{staticDataList}}" wx:key="index">
<view class="label">{{item.label}}</view>
<view class="value"><text style="font-size: 28rpx;margin-right: 4rpx;">¥</text>{{item.value}}</view>
<view class="tips_box">
<text>{{item.tipsLabel}}</text>
<text class="num_text">{{item.tipsValue}}</text>
</view>
</view>
</view>
<view class="main">
<view class="tips">
<view class="tips-text text-hide">
你好,
<text>{{loginRoleLabel[loginRole]|| ''}}{{userInfo.name || ''}}</text>
</view>
<!-- <view class="tips-fixed">您的累计贡献产值</view> -->
</view>
<view class="StatisticsCon">
<view class="totalCon">
<view class="item">
<view class="label">累计产值</view>
<view class="label">个人产值</view>
<veiw class="number">
<text class="unit">¥ </text>
{{userStat.totalOrderMoney||0}}
......@@ -49,14 +52,17 @@
</view>
<view class="customStatistic">
<veiw class="customItem" wx:for="{{ totalList }}" data-item="{{item}}" bindtap="navTabPage" wx:key="index">
<veiw class="label">{{item.name}}</veiw>
<veiw class="label">
<view class="icon">
<image src="../../images/customIcon0{{ item.index }}.png" mode="" binderror="" bindload=""></image>
</view>
{{item.name}}
</veiw>
<view class="number">
<text class="unit" wx:if="{{ item.unit }}">{{item.unit}}</text>
{{userStat[item.itemName]||0}}
</view>
<view class="icon">
<image src="../../images/customIcon0{{ item.index }}.png" mode="" binderror="" bindload=""></image>
</view>
</veiw>
</view>
</view>
......@@ -65,7 +71,18 @@
<div class="menu">
<block wx:for="{{ menu }}" wx:key="index">
<view class="item" bindtap="jump" data-item="{{ item }}" data-type="{{ userInfo.userType }}">
<image src="../../images/tabIcon0{{ index+1 }}.png" />
<image src="{{IMG_URL}}{{item.icon}}.png" />
<view class="label">{{item.name}}</view>
</view>
</block>
</div>
</block>
<block wx:if="{{ isNoStaff }}">
<view class="conTitle utils">展业工具</view>
<div class="menu noStaff">
<block wx:for="{{ menu }}" wx:key="index">
<view class="item" bindtap="jump" data-item="{{ item }}" data-type="{{ userInfo.userType }}">
<image src="{{IMG_URL}}{{item.icon}}.png" />
<view class="label">{{item.name}}</view>
</view>
</block>
......@@ -118,7 +135,6 @@
</view>
</view>
<view class="line"></view>
<!-- <van-progress class="progress" pivot-text="{{outputValueObj.totalOutputValue||0}}" percentage="{{outputValueObj.rateValue>100?100:outputValueObj.rateValue}}" /> -->
<view class="lableBox">
<view class="label">当月目标</view>
<view class="value">
......@@ -140,7 +156,6 @@
<view>产值完成比</view>
<view class="value">{{item.rateValuePercent}}</view>
</view>
<!-- <view class="chart">¥ 0</view> -->
<van-progress class="progress" pivot-text="{{ item.outputValue }}" percentage="{{ item.rateValue>100?100:item.rateValue }}" />
<view class="target">
<view class="value">
......@@ -165,7 +180,6 @@
<view>产值完成比</view>
<view class="value">{{item.rateValuePercent}}</view>
</view>
<!-- <view class="chart">¥ 0</view> -->
<van-progress class="progress" pivot-text="{{ item.outputValue }}" percentage="{{ item.rateValue>100?100:item.rateValue }}" />
<view class="target">
<view class="value">
......@@ -185,17 +199,6 @@
</view>
</view>
</view>
<block wx:if="{{ isNoStaff }}">
<view class="conTitle utils">展业工具</view>
<div class="menu noStaff">
<block wx:for="{{ menu }}" wx:key="index">
<view class="item" bindtap="jump" data-item="{{ item }}" data-type="{{ userInfo.userType }}">
<image src="../../images/tabIcon0{{ index+1 }}.png" />
<view class="label">{{item.name}}</view>
</view>
</block>
</div>
</block>
<!-- 员工不给看统计数据 -->
<view class="content" wx:if="{{ userInfo.loginRole&&userInfo.loginRole!=4 }}">
<view class="box table">
......@@ -224,10 +227,8 @@
</block>
</view>
</view>
<!-- class="table" -->
<ScrollView scroll-x scroll-y show-scrollbar="{{ false }}" bindscrolltolower="handleScrollToLower" class="table">
<view class="table-box">
<!-- top:{{navBarHeight}}px; -->
<view class="table-header" style="width:{{ tableWidth }}rpx">
<view class="label">合作门店</view>
<view class="values">
......@@ -241,7 +242,6 @@
>
<view class="lable">
<view class="name">{{item.name}}{{item.unit}}</view>
<!-- <view class="unit">{{item.unit}}</view> -->
</view>
<view class="sort-list">
<view class="up {{ item.sort?'sort-active':'' }}" />
......@@ -255,11 +255,7 @@
<view class="totalLabel average">累计</view>
<view class="values">
<block wx:for="{{ totalTableSum }}" wx:for-index="index" wx:key="index" wx:for-item="item">
<!-- font-size:{{item.total>9999&&item.total<10000000?'20rpx':''}}; -->
<view class="th" style="width:{{ tableObj[index]['width'] }};">
<!-- {{item.total?item.total:'0'}} -->
<!-- <block wx:if="{{item.total >100000000}}">1亿+</block>
<block wx:elif="{{item.total > 10000000 }}">1000万+</block> -->
<block wx:if="{{ item.name == 'upgradeRateSum' }}">{{item.total || 0}}%</block>
<block wx:else>{{item.total || 0}}</block>
</view>
......@@ -276,7 +272,6 @@
</view>
<view class="values">
<block wx:for="{{ tableObj }}" wx:key="ind" wx:for-item="i" wx:for-index="ind">
<!-- font-size:{{item[i.key]>9999&&item[i.key]<10000000?'20rpx':''}}; ind==4||ind==5? '124rpx':'100rpx' -->
<view class="td text-center" style="width: {{ tableObj[ind]['width'] }};">
<block wx:if="{{ i.key == 'filmTimes' }}">
<view
......@@ -286,8 +281,6 @@
bindtap="changeTableData"
>{{item[i.key] || 0}}</view>
</block>
<!-- <block wx:elif="{{item[i.key] >100000000}}">1亿+</block>
<block wx:elif="{{item[i.key] > 10000000 }}">1000万+</block> -->
<block wx:elif="{{ i.key == 'upgradeRate' }}">{{item[i.key] || 0}}%</block>
<block wx:else>{{item[i.key] || 0}}</block>
</view>
......@@ -303,44 +296,11 @@
<block wx:if="{{ table.length <= 0 }}">
<view class="nothing">暂无数据</view>
</block>
<!-- <ScrollView
class="table"
scroll-x
scroll-y
bindscrolltolower="handleScrollToLower">
<View class="sticky-box" style="height:{{tableHeight}}rpx;">
<View class="table__head" style="width:{{tableWidth}}rpx;">
<View
class="table__head__td"
wx:for="{{dataAttribute}}"
wx:key="attrIndex"
wx:for-index="attrIndex"
wx:for-item="attrItem">
<Text class="table__head__td__text">{{attrItem.title}}</Text>
</View>
</View>
<View
class="table__row"
wx:for="{{data}}"
wx:key="dataIndex"
wx:for-index="dataIndex"
wx:for-item="dataItem"
style="width:{{tableWidth}}rpx;">
<Text class="table__row__td" wx:for="{{dataAttribute}}" wx:key="dataIndex" wx:for-index="attrIndex" wx:for-item="attrItem">
{{dataItem[attrItem.key] || '-'}}
</Text>
</View>
</View>
</ScrollView> -->
</view>
<!-- <block wx:if="{{ table.length > 0 }}">
<view class="table-tips">到底了~</view>
</block> -->
</view>
</view>
</block>
<!-- </scroll-view> -->
</view>
<view class="waitOrderCon" wx:if="{{ waitInputCount }}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
......@@ -371,9 +331,4 @@
show="{{ showPicker }}"
bindsearch="getStoreList"
bindconfirm="changePicker"
/>
<!-- <store-picker
items="{{storeListRange}}"
show="{{showPicker}}"
bindsearch="getStoreList"
bindconfirm="changePicker" /> -->
\ No newline at end of file
/>
\ No newline at end of file
export default {
data: {
navStyle: 'background-color: rgba(0,0,0,0);box-shadow:none;',
navStyle: 'background-color: #ffffff;box-shadow:none;',
subIndex: 0,
staticDataList: [{
label: '今日营业额',
value: 0,
tipsLabel: '今日成交量',
tipsValue: 0
}, {
label: '本月营业额',
value: 0,
tipsLabel: '本月成交量',
tipsValue: 0
}, {
label: '累计营业额',
value: 0,
tipsLabel: '累计成交量',
tipsValue: 0
}],
menu: [
{
name: '新建工单',
url: 'tabWorkOrder.createOrder',
recordId: 6
recordId: 6,
icon: 'create_newworkorder'
},
{
name: '扫码下单',
url: 'tabWorkOrder.createOrder',
type: 'scanCode',
recordId: 7
recordId: 7,
icon: 'scancode_verification'
},
{
name: '预约管理',
url: 'tabDate.index',
recordId: 9
recordId: 9,
icon: 'booking_management'
},
{
name: '经营数据',
url: 'tabOperating.index',
recordId: 11
recordId: 11,
icon: 'business_data'
},
{
name: '客户建档',
// name: '战败下单',
url: 'tabWorkOrder.createArchives',
recordId: 8
recordId: 8,
icon: 'customer_filing'
}
],
totalTableSum: [
......@@ -64,12 +85,12 @@ export default {
typeText: '补录订单'
},
totalList: [
{
name: '服务客户',
itemName: 'totalCustomer',
index: 1,
url: 'tabOperating.index'
},
// {
// name: '服务客户',
// itemName: 'totalCustomer',
// index: 1,
// url: 'tabOperating.index'
// },
{
name: '已预约客户',
itemName: 'totalInvited',
......
......@@ -29,7 +29,7 @@
</view>
</view>
<block >
<view class="scene_box">
<!-- <view class="scene_box">
<view class="title">场景</view>
<view class="select_item">
<view class="scene_message">
......@@ -46,7 +46,7 @@
</view>
<view class="change_btn" bindtap="changeScene">切换场景</view>
</view>
</view>
</view> -->
<view class="set_box">
<view class="set_item item_1" bindtap="showWork">
<view class="title">工位设置<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
......@@ -57,15 +57,23 @@
<view class="title">录单设置<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="set_tips">设置录单必填项</view>
</view>
<view class="set_item item_3" bindtap="changeScene">
<view class="title">场景切换<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="set_tips">{{selectedSceneName}}</view>
</view>
<view class="set_item item_4" bindtap="goVersionPage">
<view class="title">更新日志<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="set_tips">最新{{versionData.version}}版</view>
</view>
</view>
<view class="version_box" bindtap="goVersionPage">
<!-- <view class="version_box" bindtap="goVersionPage">
<view class="item">
<view class="icon_box">
<view class="is_new" hidden="{{!versionData.isNew}}">NEW</view>
</view>
<view>更新日志</view>
</view>
</view>
</view> -->
</block>
<view class="logout text-center" bindtap="logout">退出账号</view>
</view>
......
......@@ -134,11 +134,12 @@
}
.set_box{
margin: 20rpx;
margin-top: 48rpx;
display: grid;
grid-template-columns: repeat(auto-fill, 344rpx);
justify-content: space-between;
align-items: center;
margin: 20rpx;
}
.set_box .set_item{
......@@ -150,6 +151,7 @@
flex-flow: column;
justify-content: center;
padding: 32rpx;
margin-bottom: 20rpx;
}
.set_box .set_item .title .arrow_icon{
......@@ -165,6 +167,14 @@
background: #F8F9FF;
}
.set_box .item_3{
background: #F6FCFE;
}
.set_box .item_4{
background: #FFF8F8;
}
.set_box .set_item .title{
font-weight: 500;
font-size: 28rpx;
......@@ -369,7 +379,10 @@
}
.logout {
margin: 94rpx auto;
position: fixed;
bottom: 106rpx;
left: 50%;
transform: translateX(-50%);
width: 326rpx;
height: 80rpx;
background: #FFFFFF;
......
......@@ -24,7 +24,8 @@ page {
.headerContainer {
height: 306rpx;
background-color: #3582EE;
background-image: linear-gradient(0deg, #347BFF 0%, #3B8FFE 100%);
box-shadow: inset -1px -1px 2px 0 #0064f099, inset 0 -1px 6px 0 #1BB1FE;
width: 100%;
.businessDataContainer {
......@@ -50,13 +51,14 @@ page {
// height: 60rpx;
margin-bottom: 10rpx;
// display: inline;
font-size: 44rpx;
font-size: 48rpx;
font-weight: 600;
}
.lab {
// height: 42rpx;
font-size: 24rpx;
color: rgba(255, 255, 255, .5);
}
}
......
......@@ -31,7 +31,7 @@
<!-- wx:for-index="index" -->
<block wx:for="{{ menu }}" wx:key="index">
<view class="item" bindtap="menuJump" data-item="{{ item }}" data-index="{{ index }}">
<image src="../../images/navIcon{{ index }}.png" />
<image src="{{IMG_URL}}static_{{index }}.png" />
{{item.name}}
</view>
</block>
......
import { env, envIndex } from '~/config'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/upgrade/'
export default {
data: {
IMG_URL,
menu: [
{
name: '累计营收',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!