首页图标
@@ -9,13 +9,15 @@
|
|||||||
"name":"司机列表",
|
"name":"司机列表",
|
||||||
"router":"/driverManagement/index/index",
|
"router":"/driverManagement/index/index",
|
||||||
"lable":"driver:info:list",
|
"lable":"driver:info:list",
|
||||||
"icon":"iconxiugaiyonghuxinxi"
|
"icon":"iconxiugaiyonghuxinxi",
|
||||||
|
"image":"../../static/newindex/driverList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"新增司机",
|
"name":"新增司机",
|
||||||
"router":"/driverManagement/addDiver/addDiver",
|
"router":"/driverManagement/addDiver/addDiver",
|
||||||
"lable":"driver:info:add",
|
"lable":"driver:info:add",
|
||||||
"icon":"iconxiugaiyonghuxinxi"
|
"icon":"iconxiugaiyonghuxinxi",
|
||||||
|
"image":"../../static/newindex/driverAdd.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -29,13 +31,15 @@
|
|||||||
"name":"分发列表",
|
"name":"分发列表",
|
||||||
"router":"/oilDistribution/index/index",
|
"router":"/oilDistribution/index/index",
|
||||||
"lable":"distributeReverse:info:list",
|
"lable":"distributeReverse:info:list",
|
||||||
"icon":"iconbiangeng"
|
"icon":"iconbiangeng",
|
||||||
|
"image":"../../static/newindex/distributeReverseList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon":"iconbiangeng",
|
"icon":"iconbiangeng",
|
||||||
"name":"新增分发",
|
"name":"新增分发",
|
||||||
"router":"/oilDistribution/distribute/distribute",
|
"router":"/oilDistribution/distribute/distribute",
|
||||||
"lable":"distributeReverse:info:add"
|
"lable":"distributeReverse:info:add",
|
||||||
|
"image":"../../static/newindex/distributeReverseAdd.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -49,7 +53,8 @@
|
|||||||
"icon":"iconzhangdanchaxun",
|
"icon":"iconzhangdanchaxun",
|
||||||
"name":"订单列表",
|
"name":"订单列表",
|
||||||
"router":"/orderList/index/index",
|
"router":"/orderList/index/index",
|
||||||
"lable":"oilOrder:info:list"
|
"lable":"oilOrder:info:list",
|
||||||
|
"image":"../../static/newindex/oilOrderList.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -63,13 +68,15 @@
|
|||||||
"icon":"iconjiagebiangeng",
|
"icon":"iconjiagebiangeng",
|
||||||
"name":"油站动销",
|
"name":"油站动销",
|
||||||
"router":"/salesRanking/page/index/index",
|
"router":"/salesRanking/page/index/index",
|
||||||
"lable":"ranking:info:list"
|
"lable":"ranking:info:list",
|
||||||
|
"image":"../../static/newindex/rankingList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon":"iconjiagebiangeng",
|
"icon":"iconjiagebiangeng",
|
||||||
"name":"企业动销",
|
"name":"企业动销",
|
||||||
"router":"/salesRanking/page/index/enterpriseIndex",
|
"router":"/salesRanking/page/index/enterpriseIndex",
|
||||||
"lable":"ranking:info:list"
|
"lable":"ranking:info:list",
|
||||||
|
"image":"../../static/newindex/enterpriseList.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -83,13 +90,15 @@
|
|||||||
"icon":"iconxiugaijiage",
|
"icon":"iconxiugaijiage",
|
||||||
"name":"调价申请",
|
"name":"调价申请",
|
||||||
"router":"/priceAdjustment/page/index/index",
|
"router":"/priceAdjustment/page/index/index",
|
||||||
"lable":"priceAdjust:info:list"
|
"lable":"priceAdjust:info:list",
|
||||||
|
"image":"../../static/newindex/priceAdjustList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon":"iconxiugaijiage",
|
"icon":"iconxiugaijiage",
|
||||||
"name":"调价任务",
|
"name":"调价任务",
|
||||||
"router":"/priceAdjustmentTask/page/index",
|
"router":"/priceAdjustmentTask/page/index",
|
||||||
"lable":"priceTask:info:list"
|
"lable":"priceTask:info:list",
|
||||||
|
"image":"../../static/newindex/priceTaskList.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -103,13 +112,15 @@
|
|||||||
"icon":"iconxiugaijiage",
|
"icon":"iconxiugaijiage",
|
||||||
"name":"油站公司充值",
|
"name":"油站公司充值",
|
||||||
"router":"/oilAccount/page/companyRecharge/index",
|
"router":"/oilAccount/page/companyRecharge/index",
|
||||||
"lable":"sys:siteCompany:recharge"
|
"lable":"sys:siteCompany:recharge",
|
||||||
|
"image":"../../static/newindex/siteCompanyList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon":"iconxiugaijiage",
|
"icon":"iconxiugaijiage",
|
||||||
"name":"油站账户充值",
|
"name":"油站账户充值",
|
||||||
"router":"/oilAccount/page/accountRecharge/index",
|
"router":"/oilAccount/page/accountRecharge/index",
|
||||||
"lable":"sys:siteAcct:recharge"
|
"lable":"sys:siteAcct:recharge",
|
||||||
|
"image":"../../static/newindex/siteAcctList.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -123,13 +134,15 @@
|
|||||||
"icon":"iconxiugaijiage",
|
"icon":"iconxiugaijiage",
|
||||||
"name":"公司账户管理",
|
"name":"公司账户管理",
|
||||||
"router":"/financialCenter/business/index",
|
"router":"/financialCenter/business/index",
|
||||||
"lable":"finance:account:enterprise"
|
"lable":"finance:account:enterprise",
|
||||||
|
"image":"../../static/newindex/accountEnterpriseList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon":"iconxiugaijiage",
|
"icon":"iconxiugaijiage",
|
||||||
"name":"油站账户管理",
|
"name":"油站账户管理",
|
||||||
"router":"/financialCenter/serviceStation/index",
|
"router":"/financialCenter/serviceStation/index",
|
||||||
"lable":"finance:account:serviceStation"
|
"lable":"finance:account:serviceStation",
|
||||||
|
"image":"../../static/newindex/accountServiceStationList.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -143,13 +156,15 @@
|
|||||||
"icon":"iconxiugaiyonghuxinxi",
|
"icon":"iconxiugaiyonghuxinxi",
|
||||||
"name":"客户运营系统",
|
"name":"客户运营系统",
|
||||||
"router":"/userManagement/customer/index",
|
"router":"/userManagement/customer/index",
|
||||||
"lable":"management:user:customer"
|
"lable":"management:user:customer",
|
||||||
|
"image":"../../static/newindex/customerList.png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon":"iconxiugaiyonghuxinxi",
|
"icon":"iconxiugaiyonghuxinxi",
|
||||||
"name":"星油云站",
|
"name":"星油云站",
|
||||||
"router":"/userManagement/yunSite/index",
|
"router":"/userManagement/yunSite/index",
|
||||||
"lable":"management:user:yunSite"
|
"lable":"management:user:yunSite",
|
||||||
|
"image":"../../static/newindex/yunSiteList.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -226,14 +226,14 @@
|
|||||||
}
|
}
|
||||||
.options-frame {
|
.options-frame {
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
padding-left: 106rpx;
|
padding: 0 35rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.options-frame > .option {
|
.options-frame > .option {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
padding: 10rpx 14rpx;
|
padding: 10rpx 14rpx;
|
||||||
width: 240rpx;
|
width: 335rpx;
|
||||||
height: 140rpx;
|
height: 140rpx;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
@@ -243,11 +243,11 @@
|
|||||||
}
|
}
|
||||||
.options-frame > .option > .star {
|
.options-frame > .option > .star {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 5rpx;
|
||||||
right: 0;
|
right: 8rpx;
|
||||||
width: 80rpx;
|
width: 30rpx;
|
||||||
height: 80rpx;
|
height: 30rpx;
|
||||||
line-height: 80rpx;
|
line-height: 30rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
@@ -256,17 +256,15 @@
|
|||||||
}
|
}
|
||||||
.options-frame > .option > .wall {
|
.options-frame > .option > .wall {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 20rpx;
|
|
||||||
padding-top: 9rpx;
|
padding-top: 9rpx;
|
||||||
width: 212rpx;
|
width: 297rpx;
|
||||||
height: 120rpx;
|
height: 120rpx;
|
||||||
background: rgba(40, 102, 255, .1) ;
|
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
}
|
}
|
||||||
.options-frame > .option > .wall > .name {
|
.options-frame > .option > .wall > .name {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 24rpx;
|
left: 110rpx;
|
||||||
bottom: 12rpx;
|
bottom: 40rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,11 +57,12 @@
|
|||||||
<template v-for="optionItme,optionIndex in item.submenu">
|
<template v-for="optionItme,optionIndex in item.submenu">
|
||||||
<view class="option" v-if="user.authList.includes(optionItme.lable)" :key="optionIndex" @tap.stop="jump(optionItme)">
|
<view class="option" v-if="user.authList.includes(optionItme.lable)" :key="optionIndex" @tap.stop="jump(optionItme)">
|
||||||
<view class="star" @tap.stop="collectionFn(optionItme)">
|
<view class="star" @tap.stop="collectionFn(optionItme)">
|
||||||
<uni-icons :color="iconFn(optionItme)" custom-prefix="iconfont" type="iconshoucang-yishoucang" size="18"></uni-icons>
|
<uni-icons :color="iconFn(optionItme)" custom-prefix="iconfont" type="iconshoucang-yishoucang" size="14"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
<view class="wall">
|
<view class="wall">
|
||||||
<view class="name">{{optionItme.name}}</view>
|
<view class="name">{{optionItme.name}}</view>
|
||||||
<uni-icons color="#fff" custom-prefix="iconfont" :type="optionItme.icon" size="50"></uni-icons>
|
<image style="width: 100rpx;height: 100rpx;" :src="optionItme.image"></image>
|
||||||
|
<!-- <uni-icons color="#fff" custom-prefix="iconfont" :type="optionItme.icon" size="50"></uni-icons> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -80,7 +81,8 @@
|
|||||||
<uni-icons custom-prefix="iconfont" color="#fff" type="iconchiping" size="20"></uni-icons>
|
<uni-icons custom-prefix="iconfont" color="#fff" type="iconchiping" size="20"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
<view class="collection_item_name">
|
<view class="collection_item_name">
|
||||||
<uni-icons custom-prefix="iconfont" color="#2866FF" :type="item.icon" size="30"></uni-icons>
|
<image style="width: 95rpx;height: 95rpx;" :src="item.image"></image>
|
||||||
|
<!-- <uni-icons custom-prefix="iconfont" color="#2866FF" :type="item.icon" size="30"></uni-icons> -->
|
||||||
<view class="collection_item_text">{{item.name}}</view>
|
<view class="collection_item_text">{{item.name}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -176,7 +178,7 @@
|
|||||||
this.$set(this.collection,index,'')
|
this.$set(this.collection,index,'')
|
||||||
},
|
},
|
||||||
iconFn(e) {
|
iconFn(e) {
|
||||||
return this.collection.filter((item) => e.name == item.name).length == 0 ? '#bbbbbb' : '#FFB730';
|
return this.collection.filter((item) => e.name == item.name).length == 0 ? '#bbbbbb' : '#0256FF';
|
||||||
},
|
},
|
||||||
initFn() {
|
initFn() {
|
||||||
this.menuList = JSON.parse(JSON.stringify(menus))
|
this.menuList = JSON.parse(JSON.stringify(menus))
|
||||||
|
|||||||
BIN
static/newindex/accountEnterpriseList.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
static/newindex/accountServiceStationList.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
static/newindex/customerList.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
static/newindex/distributeReverseAdd.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
static/newindex/distributeReverseList.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
static/newindex/driverAdd.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
static/newindex/driverList.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
static/newindex/enterpriseList.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
static/newindex/oilOrderList.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
static/newindex/priceAdjustList.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
static/newindex/priceTaskList.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
static/newindex/rankingList.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
static/newindex/siteAcctList.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
static/newindex/siteCompanyList.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
static/newindex/yunSiteList.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
@@ -2,21 +2,21 @@ import axios from 'axios'
|
|||||||
import utils from '@/utils/encode'
|
import utils from '@/utils/encode'
|
||||||
// const env = process.env.NODE_ENV
|
// const env = process.env.NODE_ENV
|
||||||
// const env = 'test'
|
// const env = 'test'
|
||||||
const env = 'test'
|
const env = 'production'
|
||||||
const testUrl = 'http://192.168.1.85:38080'
|
const testUrl = 'http://192.168.1.85:38080'
|
||||||
// const productUrl = 'https://www.xingoil.com/adminapi'
|
// const productUrl = 'https://www.xingoil.com/adminapi'
|
||||||
// const productUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
|
// const productUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
|
||||||
const productUrl = 'http://uat.xingoil.com/adminapi'
|
const productUrl = 'http://uat.xingoil.com/adminapi'
|
||||||
|
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
baseURL: env == 'production' ? productUrl : testUrl,
|
baseURL: env == 'production' ? productUrl : testUrl,
|
||||||
// baseURL: testUrl,
|
// baseURL: testUrl,
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
})
|
})
|
||||||
var url = ''
|
var url = ''
|
||||||
service.interceptors.request.use(
|
service.interceptors.request.use(
|
||||||
config => {
|
config => {
|
||||||
// 拦截请求
|
// 拦截请求
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '加载中...',
|
title: '加载中...',
|
||||||
mask: true
|
mask: true
|
||||||
@@ -25,7 +25,7 @@ service.interceptors.request.use(
|
|||||||
const unionId = uni.getStorageSync('unionid')
|
const unionId = uni.getStorageSync('unionid')
|
||||||
|
|
||||||
const openId = uni.getStorageSync('openid')
|
const openId = uni.getStorageSync('openid')
|
||||||
// const accountSources = 'WE_CHAT_PROGRAM'
|
// const accountSources = 'WE_CHAT_PROGRAM'
|
||||||
const accountSources = 'LOGIN_MP_WECHAT'
|
const accountSources = 'LOGIN_MP_WECHAT'
|
||||||
// console.log('取出来缓存', token, openid)
|
// console.log('取出来缓存', token, openid)
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ service.interceptors.response.use(
|
|||||||
console.log('用户点击取消');
|
console.log('用户点击取消');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
|
|||||||