caolc 2 years ago
parent 3c8c985cce
commit ffd45a79c2
  1. 5
      colorui/main.css
  2. 6
      common/common.css
  3. 2
      manifest.json
  4. 2
      packageSecurity/setPassword/setPassword.vue
  5. 2
      packageStaff/pages/staff/editStaff/addUser.vue
  6. 2
      pages.json
  7. 6
      pages/Auth/Auth.vue
  8. 16
      pages/home/home.vue
  9. 12
      pages/index/index.vue
  10. 16
      pages/login/boforeLogin/boforeLogin.vue
  11. 11
      pages/login/login.vue
  12. 12
      pages/login/posLogin/posLogin.vue
  13. 2
      pages/startPage/startPage.vue
  14. BIN
      static/img/header_card.png
  15. 6
      utils/request.js

@ -3559,8 +3559,9 @@ scroll-view.cu-steps .cu-item {
}
.bg-gradual-orange {
background-image: linear-gradient(45deg, #ff9700, #ed1c24);
/* background-image: linear-gradient(45deg, #ff9700, #ed1c24); */
color: #ffffff;
background-color: #1890FF;
}
.bg-gradual-green {
@ -3579,7 +3580,7 @@ scroll-view.cu-steps .cu-item {
}
.bg-main-oil {
background-color: #FE0505;
background-color: #1890FF;
color: #ffffff;
}

@ -30,11 +30,11 @@ page {
}
.oil-main-color {
color: #FE0505 !important;
color: #000000 !important;
}
.bg-main-oil {
background-color: #FE0505 !important;
background-color: #1890FF !important;
}
.oil-main-btn-color {
@ -168,7 +168,7 @@ page {
.mini-label::before {
content: '';
position: absolute;
background-color: #FF5200;
background-color: #1890FF;
width: 8upx;
height: 1.4rem;
left: 0;

@ -1,5 +1,5 @@
{
"name" : "星油云站",
"name" : "中品云站",
"appid" : "__UNI__F1ED4B9",
"description" : "",
"versionName" : "1.0.0",

@ -1,7 +1,7 @@
<template>
<view class="page-content">
<cu-custom :isBack="true" class="main-topbar bg-main-oil" bgColor="bg-main-oil">
<block slot="content">绑定星油云站</block>
<block slot="content">绑定中品云站</block>
<block slot="backText">返回</block>
</cu-custom>
<view class=" margin radius cu-card shadow no-card padding-top padding-bottom ">

@ -53,7 +53,7 @@
<view class="margin-bottom-xs">1员工添加成功后系统会向该员工发送一条短信短信中包含了云站的识别码</view>
<view
class="margin-bottom-xs"
>2用户在收到短信后需要关注星油云站公众号进入小程序输入云站编码后根据页面要求输入对应的手机号姓名身份证信息与管理员添加的信息一致方可绑定成功</view>
>2用户在收到短信后需要关注中品云站公众号进入小程序输入云站编码后根据页面要求输入对应的手机号姓名身份证信息与管理员添加的信息一致方可绑定成功</view>
<view class>3绑定成功后无需再次登录操作</view>
</view>
</view>

@ -229,7 +229,7 @@
"allowsBounceVertical": "NO"
},
"navigationBarBackgroundColor": "#FE0606",
"navigationBarTitleText": "星油云站",
"navigationBarTitleText": "中品云站",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
},

@ -1,7 +1,7 @@
<template>
<view class="page-content my-bg">
<cu-custom :isBack="true" class="main-topbar bg-main-oil" bgColor="bg-main-oil">
<block slot="content">绑定星油云站</block>
<block slot="content">绑定中品云站</block>
<block slot="backText">返回</block>
</cu-custom>
<view class="pannel">
@ -11,7 +11,7 @@
{{oilSite.oilSiteName}}
</view>
<view class="padding-xs text-lg">
星油云站欢迎您的加入
中品云站欢迎您的加入
</view>
</view>
</view>
@ -44,7 +44,7 @@
</view>
<view class="margin-left">
<text class="cuIcon-infofill padding-right-xs text-sm oil-main-color"></text>
<text class="text-sm">请确认您的手机号已添加为星油云站管理员账号</text>
<text class="text-sm">请确认您的手机号已添加为中品云站管理员账号</text>
</view>
<view class="margin margin-top-xl">
<!-- <button class="bg-main-oil" @tap="beforeLogin" open-type="getUserInfo" @getuserinfo="getUserInfo">

@ -2,7 +2,7 @@
<view class="content my-bg">
<cu-custom class="main-topbar bg-main-oil" @showLists='showLists' :isChange='true' bgColor="bg-main-oil">
<block slot="changeChannel">切换</block>
<block slot="content">{{'星油云站'}}</block>
<block slot="content">{{'中品云站'}}</block>
</cu-custom>
<view class="main-money bg-main-oil">
<view class="padding-left-lg">当前油站为<text>{{accountName}}</text></view>
@ -84,7 +84,7 @@
</view>
<text>{{ cuIconList[4].name }}</text>
</view>
<view class="cu-item" v-for="(item,index) in menusList" :key="index" @tap="routerTo(item.path)" v-if=' item.name != "星油云站超级管理员"' >
<view class="cu-item" v-for="(item,index) in menusList" :key="index" @tap="routerTo(item.path)" v-if=' item.name != "中品云站超级管理员"' >
<view :class="['cuIcon-' + item.cuIcon, 'text-' + cuIconList[index+1].color]" class="text-sl">
<view class="cu-tag badge" v-if="item.badge != 0">
<block v-if="item.badge != 1">{{ item.badge > 99 ? '99+' : item.badge }}</block>
@ -135,7 +135,7 @@
</view>
<view class="cu-modal" :class="checkList">
<view class="cu-dialog">
<view class="cu-bar bg-red justify-end">
<view class="cu-bar bg-blue justify-end">
<view class="content ">
{{'选择登录油站'}}
</view>
@ -147,7 +147,7 @@
<view class="flex align-center justify-between margin-bottom-sm " v-for="(list,i) in oliList" :key='list'>
<view class=""> {{list.siteName}}</view>
<view class="">
<view class=" bg-red cu-btn text-white text-center btn-radius-10 text-sm" @tap="checkLists(list)">
<view class=" bg-blue cu-btn text-white text-center btn-radius-10 text-sm" @tap="checkLists(list)">
进入
</view>
</view>
@ -157,7 +157,7 @@
</view>
<view class="cu-modal" :class="[checkFirst ? 'show':'']" >
<view class="cu-dialog">
<view class="cu-bar bg-red justify-end">
<view class="cu-bar bg-blue justify-end">
<view class="content ">
{{'选择登录油站'}}
</view>
@ -169,7 +169,7 @@
<view class="flex align-center justify-between margin-bottom-sm " v-for="(list,i) in oliList" :key='list'>
<view class=""> {{list.siteName}}</view>
<view class="">
<view class=" bg-red cu-btn text-white text-center btn-radius-10 text-sm" @tap="checkLists(list)">
<view class=" bg-blue cu-btn text-white text-center btn-radius-10 text-sm" @tap="checkLists(list)">
进入
</view>
</view>
@ -400,7 +400,7 @@
obj.color= 'blue',
obj.badge= 0,
obj.name=list.roleName
}else if(list.roleName == '星油云站超级管理员'){
}else if(list.roleName == '中品云站超级管理员'){
obj.cuIcon = 'punch',
obj.path= ' ',
obj.color= 'blue',
@ -615,7 +615,7 @@
transition: all linear .3s;
}
.color-red{
color: #f70e0e;
color: #1890FF;
font-weight: 700;
font-size: 35rpx;
margin-left: 3%;

@ -7,20 +7,20 @@
<view class="padding-top radius shadow bottom-bar-fixed">
<view class="cu-bar tabbar bg-white">
<view class="action text-gray" @tap="NavChange" data-cur="home">
<view class="cuIcon-homefill sl" :class="PageCur=='home'?'text-red':'text-gray'"></view>
<text :class="PageCur=='home'?'text-red':'text-gray'">
<view class="cuIcon-homefill sl" :class="PageCur=='home'?'text-blue':'text-gray'"></view>
<text :class="PageCur=='home'?'text-blue':'text-gray'">
加油站
</text>
</view>
<view class="action text-gray add-action" @tap="NavChange" data-cur="scan">
<button class="cu-btn cuIcon-scan sl shadow" :class="PageCur=='scan'?'bg-main-oil':'bg-gradual-orange'"></button>
<text :class="PageCur=='scan'?'text-red':'text-gray'">
<text :class="PageCur=='scan'?'text-blue':'text-gray'">
一键扫码
</text>
</view>
<view class="action text-gray" @tap="NavChange" data-cur="setup">
<view class="cuIcon-peoplefill sl" :class="PageCur=='setup'?'text-red':'text-gray'"></view>
<text :class="PageCur=='setup'?'text-red':'text-gray'">
<view class="cuIcon-peoplefill sl" :class="PageCur=='setup'?'text-blue':'text-gray'"></view>
<text :class="PageCur=='setup'?'text-blue':'text-gray'">
我的
</text>
</view>
@ -203,7 +203,7 @@
obj.color= 'blue',
obj.badge= 0,
obj.name=list.roleName
}else if(list.roleName == '星油云站超级管理员'){
}else if(list.roleName == '中品云站超级管理员'){
obj.cuIcon = 'punch',
obj.path= ' ',
obj.color= 'blue',

@ -3,21 +3,18 @@
<cu-custom class="main-topbar bg-main-oil" bgColor="bg-main-oil">
<block slot="content">星油云站</block>
</cu-custom>
<view class="bg-img margin flex padding-lg radius align-center text-center" :style="'background-image: url('+mainURL+'login-bg.png)'">
<view class=" header_card bg-img margin flex padding-lg radius align-center text-center" >
<view class="padding-lg margin text-center text-lg text-white w100">
<text class="">
油站工作人员绑定油站
</text>
</view>
</view>
<view class="pannel">
<view class="bg-white margin padding radius ">
<view class="cu-form-group radius " @tap="routerTo('/pages/login/posLogin/posLogin')">
<view class="title mini-label text-black">已有账号登录</view>
<view class="cuIcon-right">
</view>
<view class="cuIcon-right"></view>
</view>
<!-- <view class="cu-form-group padding-top" @tap="routerTo('/pages/login/login')">
<view class="title mini-label text-black">首次认证登录</view>
@ -164,11 +161,6 @@
console.log(res,'这里是自动登录res')
if (res.data.authTokenDTO.loginFlag == true) {
this.setStored(res)
}else {
uni.showToast({
icon: 'none',
title: res.data.msg
})
}
})
},
@ -350,6 +342,10 @@
</script>
<style scoped>
.header_card{
background-image: url('../../../static/img/header_card.png') !important;
background-size: 100% 100%;
}
.btnSize{
font-size:60rpx;
}

@ -1,9 +1,9 @@
<template>
<view class="page-content my-bg">
<cu-custom class="main-topbar bg-main-oil" bgColor="bg-main-oil" :isBack="true">
<block slot="content">绑定星油云站</block>
<block slot="content">绑定中品云站</block>
</cu-custom>
<view class="bg-img margin flex padding-lg radius align-center text-center" :style="'background-image: url('+mainURL+'login-bg.png)'">
<view class=" header_card bg-img margin flex padding-lg radius align-center text-center" >
<view class="padding-lg margin text-center text-lg text-white w100">
<text class="">
油站工作人员绑定油站
@ -20,7 +20,7 @@
</view>
<view class="margin-left">
<text class="cuIcon-infofill padding-right-xs text-sm oil-main-color"></text>
<text class="text-sm">请确认您的手机号已添加为星油云站管理员账号</text>
<text class="text-sm">请确认您的手机号已添加为中品云站管理员账号</text>
</view>
</view>
<view class="margin-lg padding-lg bottom-bg">
@ -223,7 +223,10 @@
background-size: contain;
margin: auto;
}
.header_card{
background-image: url('@/static/img/header_card.png') !important;
background-size: 100% 100%;
}
.bottom-bg {
position: sticky;
bottom: 50upx;

@ -2,9 +2,9 @@
<template>
<view class="page-content my-bg">
<cu-custom class="main-topbar bg-main-oil" bgColor="bg-main-oil" :isBack="true">
<block slot="content">星油云站</block>
<block slot="content">中品云站</block>
</cu-custom>
<view class="bg-img margin flex padding-lg radius align-center text-center" :style="'background-image: url('+mainURL+'login-bg.png)'">
<view class=" header_card bg-img margin flex padding-lg radius align-center text-center" >
<view class="padding-lg margin text-center text-lg text-white w100">
<text class>油站工作人员绑定油站</text>
</view>
@ -56,7 +56,7 @@
</view>
<view class="text-left padding-xl padding-bottom padding-top bg-white">
<view class="padding-bottom-sm">
由于微信平台规则变更现用户要关注 星油云站 公众号才能登陆
由于微信平台规则变更现用户要关注 中品云站 公众号才能登陆
</view>
<view class="padding-bottom-sm ">
之前已经关注过的小部分用户可能需要重新关注才能登陆即取消关注再关注
@ -65,7 +65,7 @@
<view class="text-center" @longpress="navToQr" @tap="toQr">
<view class=" img-view">
<image height="200" src="https://xingka51.oss-cn-hangzhou.aliyuncs.com/applets/cloudSite/yunzhan.jpg" mode="widthFix"></image>
星油云站公众号
中品云站公众号
</view>
</view>
<view class="text-center padding-top padding-bottom">
@ -653,6 +653,10 @@
</script>
<style scoped>
.header_card{
background-image: url('../../../static/img/header_card.png') !important;
background-size: 100% 100%;
}
.textshowCheck{
flex-direction: column;
}

@ -12,7 +12,7 @@
<view class="text-center logo-part">
<view class="cu-avatar xl text-sl" :style="'background-image: url('+mainURL+'qr-icon.png)'"></view>
<view class>
<text class="text-lg">星油云站</text>
<text class="text-lg">中品云站</text>
</view>
</view>
</view>

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

@ -7,11 +7,11 @@ import utils from '@/utils/encode'
//42 洛超 /29 孙志华 /40 阿浩
// 测试日日顺时需要连阿浩
const testUrl = 'http://192.168.20:38080'
const testUrl = 'http://192.168.26:38080'
// const productionUrl = 'https://www.51xingka.net/oilApp' // 生产,加密 old
// const productionUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
// const productionUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
const productionUrl = 'http://uat.xingoil.com/adminapi'
const productionUrl = 'http://119.177.60.118:8000/adminapi'
// const env = process.env.NODE_ENV // 环境
const service = axios.create({
baseURL: env=='production'?productionUrl:testUrl, //
@ -124,7 +124,7 @@ service.interceptors.response.use(
title: '下线提醒',
confirmText: '重新登录',
cancelText: "退出",
content: '您的账号在另一微信下登录了星油云站,请确认是否本加油站工作人员操作',
content: '您的账号在另一微信下登录了中品云站,请确认是否本加油站工作人员操作',
success: function(res) {
if (res.confirm) {
uni.reLaunch({

Loading…
Cancel
Save