Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 229777a0
authored
Oct 18, 2021
by
ym
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
mock
1 parent
3500785f
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
282 additions
and
158 deletions
package-lock.json
package.json
src/App.vue
src/api/modules/home.js
src/assets/css/common.scss
src/config/env.production.js
src/config/index.js
src/setup/qiankun.js
src/views/ehome/components/summary-ranking.vue
src/views/ehome/components/summary-statistics.vue
src/views/enterpriseWechat/index.vue
src/views/followUp/components/addSale.vue
src/views/followUp/index.vue
src/views/home/components/customer-echart.vue
src/views/home/components/enterprise-information.vue
src/views/home/components/operational-services.vue
src/views/home/components/overview-enterprise.vue
src/views/home/index.vue
src/views/service/index.vue
vue.config.js
package-lock.json
View file @
229777a
{
{
"name"
:
"scrm-sub-blog
"
,
"name"
:
"home
"
,
"version"
:
"0.1.0"
,
"version"
:
"0.1.0"
,
"lockfileVersion"
:
1
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"requires"
:
true
,
...
...
package.json
View file @
229777a
{
{
"name"
:
"scrm-sub-blog
"
,
"name"
:
"home
"
,
"version"
:
"0.1.0"
,
"version"
:
"0.1.0"
,
"private"
:
true
,
"private"
:
true
,
"scripts"
:
{
"scripts"
:
{
...
@@ -10,15 +10,10 @@
...
@@ -10,15 +10,10 @@
"dependencies"
:
{
"dependencies"
:
{
"axios"
:
"^0.21.1"
,
"axios"
:
"^0.21.1"
,
"core-js"
:
"^3.4.4"
,
"core-js"
:
"^3.4.4"
,
"echarts"
:
"^5.2.0"
,
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.4"
,
"glsx-common"
:
"^1.4.4"
,
"glsx-components"
:
"^1.0.4"
,
"glsx-components"
:
"^1.0.4"
,
"glsx-table"
:
"^1.0.9"
,
"glsx-table"
:
"^1.0.9"
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
...
...
src/App.vue
View file @
229777a
<
template
>
<
template
>
<div
id=
"app"
>
<div
id=
"app"
>
<!--
<h2>
报表子应用
<span
class=
"right"
>
{{
gs
}}
</span>
</h2>
<div
id=
"nav"
>
<span>
切换路由:
</span>
<el-button-group
class=
"right"
>
<el-button
type=
"primary"
size=
"medium"
@
click=
"routerChange('/')"
>
报表
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"routerChange('/about')"
>
穿梭框
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"toAppReport('1-1')"
>
表格
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"toAppReport('1-2')"
>
日历
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"toAppReport('3-1')"
>
aaaa
</el-button>
</el-button-group>
</div>
<div
class=
"parent-child-communication"
>
<h3>
父子应用通信:
</h3>
<div
style=
"margin-bottom: 20px;"
>
<span>
rxjs通信方案:
{{
myMsg
}}
</span>
<el-button
class=
"right"
type=
"primary"
size=
"medium"
@
click=
"callParentChange('rxjs')"
>
通知父应用变天了
</el-button>
</div>
<div>
<span>
官方通信方案:
{{
myMessage
}}
</span>
<el-button
class=
"right"
type=
"primary"
size=
"medium"
@
click=
"callParentChange('default')"
>
通知父应用收到
</el-button>
</div>
<img
src=
"./assets/logo.png"
alt=
""
srcset=
""
/>
</div>
-->
<router-view
/>
<router-view
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -59,5 +32,12 @@ export default {
...
@@ -59,5 +32,12 @@ export default {
#app
{
#app
{
background
:
#F4F5FA
;
background
:
#F4F5FA
;
padding
:
0px
20px
20px
40px
;
padding
:
0px
20px
20px
40px
;
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
top
:
0px
;
left
:
0px
;
overflow-y
:
auto
;
height
:
100%
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/api/modules/home.js
View file @
229777a
...
@@ -68,11 +68,22 @@ const findLoginCount = params => {
...
@@ -68,11 +68,22 @@ const findLoginCount = params => {
sign
:
true
sign
:
true
})
})
}
}
const
findMerchantInfoByMerchantNo
=
params
=>
{
params
.
method
=
'org.ore.api.common.findMerchantInfoByMerchantNo.list'
return
http
({
url
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
export
default
{
getChart
,
getChart
,
getView
,
getView
,
getSort
,
getSort
,
getShop
,
getShop
,
getStore
,
getStore
,
findLoginCount
findLoginCount
,
findMerchantInfoByMerchantNo
}
}
\ No newline at end of file
\ No newline at end of file
src/assets/css/common.scss
View file @
229777a
*
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
margin
:
0
;
padding
:
0
;
}
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
src/config/env.production.js
View file @
229777a
/*
* @Descripttion:
* @version:
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors: limin
* @LastEditTime: 2021-09-06 17:38:28
*/
// 本地环境配置
module
.
exports
=
{
module
.
exports
=
{
title
:
'gh-hall'
,
title
:
'scrm-sub-blog'
,
response
:
{
data_key
:
'data'
,
message_key
:
'message'
,
code_key
:
'code'
,
code_success_value
:
'0'
,
code_message_map
:
{}
},
request
:
{
request
:
{
// baseURL: 'http://ghwx.cgacar.com/scrm-wechat' // 生产
baseURL
:
'https://scrm.test.glsx.com.cn'
,
baseURL
:
'http://cim.chinagrandauto.com/scrm-wechat1111'
// 生产
// 设置超时时间
// baseURL: 'http://cim.chinagrandauto.com' // 生产
timeout
:
180000
,
// 携带凭证
withCredentials
:
true
,
// 返回数据类型
responseType
:
'json'
},
},
sign
:
{
sign
:
{
app
_k
ey
:
'48e5e13229b82c1b4e6e8c96151f0637'
,
app
K
ey
:
'48e5e13229b82c1b4e6e8c96151f0637'
,
v
:
'1.0.0'
,
v
:
'1.0.0'
,
format
:
'json'
,
format
:
'json'
,
source
:
'glsx'
source
:
''
}
},
secret
:
'c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b'
,
cdn
:
'https://www.xxx.cn/static'
}
}
\ No newline at end of file
\ No newline at end of file
src/config/index.js
View file @
229777a
...
@@ -9,15 +9,15 @@
...
@@ -9,15 +9,15 @@
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
let
cfg
=
require
(
'./conf.js'
)
let
cfg
=
require
(
'./conf.js'
)
import
{
Http
}
from
'glsx-common'
let
timeout
=
30000
//超时时间
let
timeout
=
30000
//超时时间
export
const
fetchConfig
=
function
(
isEnv
=
true
)
{
export
const
fetchConfig
=
function
(
isEnv
=
true
)
{
if
(
isEnv
)
{
// if (isEnv) {
let
{
request
}
=
cfg
// let { request } = cfg
Object
.
assign
(
request
,
{
timeout
})
// Object.assign(request, { timeout })
return
Promise
.
resolve
(
cfg
)
// return Promise.resolve(cfg)
}
// }
//return window.fetch('https://', {}).then(res => res.json())
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/616d28231072f92988f059fb/home/config'
)
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/setup/qiankun.js
View file @
229777a
...
@@ -15,6 +15,7 @@ let router = null
...
@@ -15,6 +15,7 @@ let router = null
let
instance
=
null
let
instance
=
null
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
})
{
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
})
{
const
{
response
,
request
,
sign
,
secret
}
=
await
fetchConfig
()
const
{
response
,
request
,
sign
,
secret
}
=
await
fetchConfig
()
console
.
log
(
request
)
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
...
...
src/views/ehome/components/summary-ranking.vue
View file @
229777a
<
template
>
<
template
>
<div
class=
"summary-ranking-panel"
>
<div
class=
"summary-ranking-panel"
>
<div
class=
"scrm-box-f summary-ranking-box"
>
<div
class=
"scrm-box-f summary-ranking-box"
:style=
"
{
height: rankHeight + 'px',
}">
<div
class=
"summary-ranking-title scrm-c3"
>
<div
class=
"summary-ranking-title scrm-c3"
>
<span>
门店企微客户数排行
</span>
<span>
门店企微客户数排行
</span>
<el-radio-group
v-model=
"radioStore"
@
change=
"tabRank"
size=
"mini"
>
<el-radio-group
v-model=
"radioStore"
@
change=
"tabRank"
size=
"mini"
>
...
@@ -20,9 +22,6 @@
...
@@ -20,9 +22,6 @@
</div>
</div>
<div
<div
class=
"ranking-td-panel"
class=
"ranking-td-panel"
:style=
"
{
height: rankHeight + 'px',
}"
v-else
v-else
>
>
<div
<div
...
@@ -50,7 +49,9 @@
...
@@ -50,7 +49,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"scrm-box-f summary-ranking-box"
>
<div
class=
"scrm-box-f summary-ranking-box"
:style=
"
{
height: rankHeight + 'px',
}">
<div
class=
"summary-ranking-title scrm-c3"
>
<div
class=
"summary-ranking-title scrm-c3"
>
<span>
各门店产值排行
</span>
<span>
各门店产值排行
</span>
<el-radio-group
v-model=
"radioOutput"
size=
"mini"
>
<el-radio-group
v-model=
"radioOutput"
size=
"mini"
>
...
@@ -70,9 +71,6 @@
...
@@ -70,9 +71,6 @@
</div>
</div>
<div
<div
class=
"ranking-td-panel"
class=
"ranking-td-panel"
:style=
"
{
height: rankHeight + 'px',
}"
v-else
v-else
>
>
<div
class=
"summary-ranking-td"
v-for=
"(item, index) in summaryArr"
:key=
"index"
>
<div
class=
"summary-ranking-td"
v-for=
"(item, index) in summaryArr"
:key=
"index"
>
...
@@ -152,7 +150,10 @@ export default {
...
@@ -152,7 +150,10 @@ export default {
mounted
()
{
mounted
()
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
this
.
rankHeight
=
clientHeight
-
520
;
this
.
rankHeight
=
clientHeight
-
480
;
window
.
addEventListener
(
resize
=>
{
})
this
.
getSort
();
this
.
getSort
();
},
},
};
};
...
@@ -164,6 +165,7 @@ export default {
...
@@ -164,6 +165,7 @@ export default {
.summary-ranking-box
{
.summary-ranking-box
{
width
:
50%
;
width
:
50%
;
margin-right
:
20px
;
margin-right
:
20px
;
min-height
:
100px
;
}
}
.summary-ranking-title
{
.summary-ranking-title
{
height
:
64px
;
height
:
64px
;
...
@@ -193,6 +195,8 @@ export default {
...
@@ -193,6 +195,8 @@ export default {
}
}
.ranking-td-panel
{
.ranking-td-panel
{
overflow-y
:
auto
;
overflow-y
:
auto
;
height
:
calc
(
100%
-
110px
);
background
:
#fff
;
}
}
.summary-ranking-td
{
.summary-ranking-td
{
display
:
flex
;
display
:
flex
;
...
@@ -266,7 +270,7 @@ export default {
...
@@ -266,7 +270,7 @@ export default {
.chart-empty
{
.chart-empty
{
width
:
100px
;
width
:
100px
;
height
:
100px
;
height
:
100px
;
margin
:
10
0px
auto
;
margin
:
5
0px
auto
;
text-align
:
center
;
text-align
:
center
;
&-d
{
&-d
{
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/ehome/components/summary-statistics.vue
View file @
229777a
...
@@ -339,7 +339,6 @@ export default {
...
@@ -339,7 +339,6 @@ export default {
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
margin-left
:
6px
;
margin-left
:
6px
;
margin-top
:
4px
;
}
}
}
}
.summary-item-total
{
.summary-item-total
{
...
...
src/views/enterpriseWechat/index.vue
View file @
229777a
...
@@ -239,6 +239,7 @@
...
@@ -239,6 +239,7 @@
class=
"footer-panel"
class=
"footer-panel"
:style=
"
{
:style=
"
{
left: footerLeft + 'px',
left: footerLeft + 'px',
width: footerWidth+ 'px'
}"
}"
>
>
<el-button
type=
"primary"
v-show=
"active == 2"
@
click=
"handlePrev"
<el-button
type=
"primary"
v-show=
"active == 2"
@
click=
"handlePrev"
...
@@ -294,7 +295,7 @@ export default {
...
@@ -294,7 +295,7 @@ export default {
entryStatus
:
true
,
entryStatus
:
true
,
qrcodeUrl
:
""
,
qrcodeUrl
:
""
,
dialogTime
:
5
,
dialogTime
:
5
,
active
:
2
,
active
:
0
,
dialogStatus
:
false
,
dialogStatus
:
false
,
Secret
:
""
,
Secret
:
""
,
SecretContact
:
""
,
SecretContact
:
""
,
...
@@ -452,10 +453,10 @@ export default {
...
@@ -452,10 +453,10 @@ export default {
this
.
checkResult
=
this
.
applicationList
[
index
].
checkResult
;
this
.
checkResult
=
this
.
applicationList
[
index
].
checkResult
;
}
}
if
(
this
.
statusQrcode
==
"NEVER"
)
{
if
(
this
.
statusQrcode
==
"NEVER"
)
{
this
.
active
=
1
;
this
.
dialogStatus
=
true
;
this
.
dialogStatus
=
true
;
this
.
timer
=
setInterval
(
this
.
closeDalog
,
1000
);
this
.
timer
=
setInterval
(
this
.
closeDalog
,
1000
);
this
.
getQrcode
();
this
.
getQrcode
();
this
.
getReportStatus
();
}
else
if
(
this
.
statusQrcode
==
"SUCCESS"
)
{
}
else
if
(
this
.
statusQrcode
==
"SUCCESS"
)
{
this
.
active
=
3
;
this
.
active
=
3
;
}
else
if
(
this
.
statusQrcode
==
"SERVER_CHECK"
)
{
}
else
if
(
this
.
statusQrcode
==
"SERVER_CHECK"
)
{
...
@@ -495,6 +496,7 @@ export default {
...
@@ -495,6 +496,7 @@ export default {
mounted
()
{
mounted
()
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
let
clientHeight
=
document
.
documentElement
.
clientHeight
;
this
.
footerLeft
=
document
.
querySelector
(
".base-container-right"
).
offsetLeft
;
this
.
footerLeft
=
document
.
querySelector
(
".base-container-right"
).
offsetLeft
;
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
;
this
.
boxHeight
=
clientHeight
-
200
;
this
.
boxHeight
=
clientHeight
-
200
;
this
.
getStatus
();
this
.
getStatus
();
},
},
...
@@ -558,7 +560,6 @@ export default {
...
@@ -558,7 +560,6 @@ export default {
}
}
}
}
.footer-panel
{
.footer-panel
{
width
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -611,10 +612,14 @@ export default {
...
@@ -611,10 +612,14 @@ export default {
&
-h3
{
&
-h3
{
margin
:
30px
0px
10px
0px
;
margin
:
30px
0px
10px
0px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
5
00
;
font-weight
:
6
00
;
color
:
#333333
;
color
:
#333333
;
line-height
:
20px
;
line-height
:
20px
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
margin-left
:
10px
;
}
.config-box-form
{
margin-left
:
10px
;
}
}
&
-h4
{
&
-h4
{
font-weight
:
500
;
font-weight
:
500
;
...
@@ -687,9 +692,8 @@ export default {
...
@@ -687,9 +692,8 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.config-box-form
{
.config-box-form
{
margin-left
:
30px
;
.config-box-input
{
.config-box-input
{
width
:
66
0px
;
width
:
40
0px
;
height
:
32px
;
height
:
32px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
2px
;
border-radius
:
2px
;
...
@@ -704,7 +708,7 @@ export default {
...
@@ -704,7 +708,7 @@ export default {
>
label
{
>
label
{
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
line-height
:
17
px
;
line-height
:
28
px
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
...
@@ -732,7 +736,7 @@ export default {
...
@@ -732,7 +736,7 @@ export default {
}
}
}
}
.config-box-link
{
.config-box-link
{
width
:
39
0px
;
width
:
41
0px
;
font-size
:
12px
;
font-size
:
12px
;
text-align
:
right
;
text-align
:
right
;
font-weight
:
400
;
font-weight
:
400
;
...
...
src/views/followUp/components/addSale.vue
View file @
229777a
...
@@ -153,9 +153,13 @@ export default {
...
@@ -153,9 +153,13 @@ export default {
this
.
$message
.
error
(
"请输入类型名称"
);
this
.
$message
.
error
(
"请输入类型名称"
);
return
;
return
;
}
}
if
(
this
.
empType
.
length
==
32
)
{
this
.
$message
.
error
(
"跟进员工类型最多新增30个"
);
return
;
}
let
params
=
{
let
params
=
{
followName
:
this
.
empTypeValue
,
followName
:
this
.
empTypeValue
,
merchantid
:
10001001
,
merchantid
:
this
.
$globalState
.
session
.
merchantId
,
};
};
this
.
$apis
.
emp
.
saveFollowerType
(
params
).
then
((
res
)
=>
{
this
.
$apis
.
emp
.
saveFollowerType
(
params
).
then
((
res
)
=>
{
this
.
listEntFollowerType
();
this
.
listEntFollowerType
();
...
...
src/views/followUp/index.vue
View file @
229777a
...
@@ -66,7 +66,11 @@
...
@@ -66,7 +66,11 @@
:direction=
"direction"
:direction=
"direction"
:before-close=
"handleClose"
:before-close=
"handleClose"
>
>
<add-sale
ref=
"drawerForm"
@
closeDrawer=
"closeDrawer"
@
handSelectdEmp=
"handSelectdEmp"
></add-sale>
<add-sale
ref=
"drawerForm"
@
closeDrawer=
"closeDrawer"
@
handSelectdEmp=
"handSelectdEmp"
></add-sale>
</el-drawer>
</el-drawer>
</div>
</div>
</template>
</template>
...
@@ -149,11 +153,17 @@ export default {
...
@@ -149,11 +153,17 @@ export default {
tableTotal
:
0
,
tableTotal
:
0
,
};
};
},
},
watch
:
{
drawer
(
val
)
{
if
(
!
val
)
{
this
.
listEntFollowerType
();
}
},
},
methods
:
{
methods
:
{
openDrawer
()
{
openDrawer
()
{
this
.
drawer
=
true
;
this
.
drawer
=
true
;
//
this.$refs.drawerForm.init();
this
.
$refs
.
drawerForm
.
init
();
},
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
...
@@ -186,9 +196,11 @@ export default {
...
@@ -186,9 +196,11 @@ export default {
pageNum
:
this
.
$refs
.
table
.
page
.
pageNum
,
pageNum
:
this
.
$refs
.
table
.
page
.
pageNum
,
};
};
this
.
$apis
.
emp
.
listFollowerStaffByPage
(
params
).
then
((
res
)
=>
{
this
.
$apis
.
emp
.
listFollowerStaffByPage
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
tableData
=
res
.
data
;
this
.
tableData
=
res
.
data
;
this
.
tableTotal
=
res
.
total
;
this
.
tableTotal
=
res
.
count
;
if
(
res
.
data
&&
res
.
data
.
length
==
[])
{
this
.
$refs
.
table
.
setTableHeightFun
();
}
});
});
},
},
listEntFollowerType
()
{
listEntFollowerType
()
{
...
@@ -225,7 +237,6 @@ export default {
...
@@ -225,7 +237,6 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
$refs
.
table
.
setTableHeightFun
();
this
.
listEntFollowerType
();
this
.
listEntFollowerType
();
this
.
handleSearch
();
this
.
handleSearch
();
},
},
...
@@ -235,7 +246,6 @@ export default {
...
@@ -235,7 +246,6 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.follow-header
{
.follow-header
{
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
4px
;
line-height
:
20px
;
line-height
:
20px
;
padding
:
10px
20px
;
padding
:
10px
20px
;
font-size
:
15px
;
font-size
:
15px
;
...
@@ -265,6 +275,5 @@ export default {
...
@@ -265,6 +275,5 @@ export default {
}
}
}
}
.drawer-panel
{
.drawer-panel
{
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/home/components/customer-echart.vue
View file @
229777a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"view-title-desc"
>
<div
class=
"view-title-desc"
>
<span>
总产值
</span>
<span>
总产值
</span>
</div>
</div>
<div
class=
"view-title-num"
>
- -
人
</div>
<div
class=
"view-title-num"
>
<span>
- -
</span>
人
</div>
</div>
</div>
<div
class=
"view-chart"
>
<div
class=
"view-chart"
>
<div
class=
"view-chart-empty"
>
<div
class=
"view-chart-empty"
>
...
@@ -51,6 +51,7 @@ export default {
...
@@ -51,6 +51,7 @@ export default {
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.chart-home-panel
{
.chart-home-panel
{
display
:
flex
;
display
:
flex
;
...
@@ -106,6 +107,12 @@ export default {
...
@@ -106,6 +107,12 @@ export default {
font-weight
:
600
;
font-weight
:
600
;
color
:
#333333
;
color
:
#333333
;
line-height
:
18px
;
line-height
:
18px
;
.view-title-num
{
font-size
:
14px
;
>span
{
font-size
:
26px
;
}
}
.view-title-desc
{
.view-title-desc
{
display
:
flex
;
display
:
flex
;
}
}
...
...
src/views/home/components/enterprise-information.vue
View file @
229777a
<
template
>
<
template
>
<div
class=
"scrm-main"
>
<div
class=
"scrm-main"
>
<div
class=
"info-border"
>
<div
class=
"info-border"
>
<div
class=
"info-title"
>
企业信息
<span>
门店
</span></div>
<div
class=
"info-title"
>
<div
class=
"info-content"
>
企业信息
<span
v-if=
"info.merchantModelName"
>
{{
info
.
merchantModelName
.
substring
(
0
,
2
)
}}
</span>
<p>
所属企业:- -
</p>
</div>
<p>
所属门店:- -
</p>
<div
class=
"merchant-info"
>
<p>
关联企微:- -
</p>
<p>
<p>
企微成员:- -
</p>
<span>
所属企业:
</span
><span
class=
"text-hide-2"
>
{{
info
.
parentName
?
info
.
parentName
:
"- -"
}}
</span>
</p>
<p>
<span>
所属门店:
</span
><span
class=
"text-hide-2"
>
{{
info
.
merchantName
?
info
.
merchantName
:
"- -"
}}
</span>
</p>
<p>
<span>
关联企微:
</span
><span><span
class=
"text-hide-2"
>
{{
info
.
entmicroName
?
info
.
entmicroName
:
"- -"
}}
</span>
<span
class=
"info-succ-btn"
v-if=
"info.entmicroName"
>
已授权
</span></span>
</p>
<p>
<span>
企微成员:
</span
><span>
{{
info
.
numberStores
?
info
.
numberStores
:
"- -"
}}
</span>
</p>
</div>
</div>
</div>
</div>
<div
class=
"info-border consult-box"
>
<div
class=
"info-border consult-box"
>
...
@@ -20,8 +35,7 @@
...
@@ -20,8 +35,7 @@
<div
class=
"info-qrcode-desc"
>
扫码添加您的专属顾问
</div>
<div
class=
"info-qrcode-desc"
>
扫码添加您的专属顾问
</div>
</div>
</div>
<div
class=
"info-consult-icon"
>
<div
class=
"info-consult-icon"
>
<i
class=
"el-icon-chat-dot-round"
>
<i
class=
"el-icon-chat-dot-round"
>
</i><span>
联系客服
</span>
</i><span>
联系客服
</span>
</div>
</div>
<div
class=
"info-time"
>
<div
class=
"info-time"
>
<span>
工作时间:9:00-18:00
</span>
<span>
工作时间:9:00-18:00
</span>
...
@@ -31,17 +45,21 @@
...
@@ -31,17 +45,21 @@
<div
class=
"info-border"
>
<div
class=
"info-border"
>
<div
class=
"info-title"
>
赢销学院
</div>
<div
class=
"info-title"
>
赢销学院
</div>
<div
class=
"info-content"
>
<div
class=
"info-content"
>
<p>
子账户的注册和管理>
>
</p>
<p>
<span>
子账户的注册和管理
</span><span>
>>
</span
></p>
<p>
老客户引流企微操作流程>
>
</p>
<p>
<span>
老客户引流企微操作流程
</span><span>
>>
</span
></p>
<p>
企微授权流程>
>
</p>
<p>
<span>
企微授权流程
</span><span>
>>
</span
></p>
<p>
权益裂变操作流程>
>
</p>
<p>
<span>
权益裂变操作流程
</span><span>
>>
</span
></p>
<p>
优惠券营销使用手册>
>
</p>
<p>
<span>
优惠券营销使用手册
</span><span>
>>
</span
></p>
</div>
</div>
<div
class=
"info-more"
>
了解更多
</div>
<div
class=
"info-more"
>
了解更多
</div>
</div>
</div>
<div
class=
"info-border"
>
<div
class=
"info-border"
>
<div
class=
"info-title"
>
版本更新
</div>
<div
class=
"info-title"
>
版本更新
</div>
<div
class=
"info-content"
></div>
<div
class=
"info-content"
>
<div
class=
"info-content-title"
>
2021年7月20日更新
</div>
<div
class=
"info-content-desc"
>
1、新增赢销微店2.0
</div>
<div
class=
"info-content-desc"
>
2、新增赢销微店2.0
</div>
</div>
<div
class=
"info-more"
>
了解更多
</div>
<div
class=
"info-more"
>
了解更多
</div>
</div>
</div>
</div>
</div>
...
@@ -50,17 +68,24 @@
...
@@ -50,17 +68,24 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"enterpriseInformation"
,
name
:
"enterpriseInformation"
,
data
()
{
data
()
{
return
{
return
{
permissions
:
[
1211
]
,
info
:
{}
,
};
};
},
},
methods
:
{
methods
:
{
test
()
{
getInfo
()
{
console
.
log
(
"点击了按钮"
);
this
.
$apis
.
home
.
findMerchantInfoByMerchantNo
({}).
then
((
res
)
=>
{
this
.
$messenger
.
send
({
from
:
11
,
message
:
"11111"
});
this
.
info
=
res
;
});
},
},
},
},
mounted
()
{
this
.
getInfo
();
},
};
};
</
script
>
</
script
>
...
@@ -70,7 +95,6 @@ export default {
...
@@ -70,7 +95,6 @@ export default {
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
margin-bottom
:
20px
;
margin-bottom
:
20px
;
padding
:
20px
;
padding
:
20px
;
width
:
218px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.info-title
{
.info-title
{
font-size
:
20px
;
font-size
:
20px
;
...
@@ -91,19 +115,64 @@ export default {
...
@@ -91,19 +115,64 @@ export default {
}
}
}
}
}
}
.merchant-info
{
margin
:
20px
0px
6px
;
p
{
display
:
flex
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
line-height
:
20px
;
margin-bottom
:
10px
;
.info-succ-btn
{
display
:
inline-block
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#5850ff
;
line-height
:
20px
;
padding
:
0px
5px
;
border-radius
:
2px
;
vertical-align
:
top
;
border
:
1px
solid
#5850ff
;
}
span
{
&:first-child
{
min-width
:
70px
;
}
}
}
}
.info-content
{
.info-content
{
margin-top
:
20px
;
margin
:
20px
0px
6px
;
&-title
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#333333
;
line-height
:
20px
;
}
&
-desc
{
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
20px
;
}
p
{
p
{
display
:
flex
;
justify-content
:
space-between
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
line-height
:
20px
;
line-height
:
20px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
span
{
color
:
#666666
;
&:first-child
{
display
:
inline-block
;
width
:
170px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
span
{
}
color
:
#666666
;
}
}
}
}
}
}
...
@@ -138,6 +207,7 @@ export default {
...
@@ -138,6 +207,7 @@ export default {
color
:
#333333
;
color
:
#333333
;
line-height
:
20px
;
line-height
:
20px
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
margin-top
:
5px
;
}
}
.info-consult-icon
{
.info-consult-icon
{
font-size
:
14px
;
font-size
:
14px
;
...
@@ -148,7 +218,7 @@ export default {
...
@@ -148,7 +218,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
i
{
i
{
font-size
:
20px
;
font-size
:
20px
;
color
:
#
FE911A
;
color
:
#
fe911a
;
vertical-align
:
middle
;
vertical-align
:
middle
;
margin-right
:
5px
;
margin-right
:
5px
;
}
}
...
...
src/views/home/components/operational-services.vue
View file @
229777a
...
@@ -46,6 +46,7 @@ export default {
...
@@ -46,6 +46,7 @@ export default {
padding
:
20px
55px
;
padding
:
20px
55px
;
margin-right
:
30px
;
margin-right
:
30px
;
text-align
:
center
;
text-align
:
center
;
width
:
33.33%
;
&:last-child
{
&:last-child
{
margin-right
:
0px
;
margin-right
:
0px
;
}
}
...
...
src/views/home/components/overview-enterprise.vue
View file @
229777a
...
@@ -15,60 +15,58 @@
...
@@ -15,60 +15,58 @@
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
/>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"view-title-num"
>
{{
customerCount
?
customerCount
:
"- -"
}}
人
</div>
<div
class=
"view-title-num"
>
<span
class=
"f26"
>
{{
customerCount
?
customerCount
:
"- -"
}}
</span>
人
</div>
</div>
</div>
<div
class=
"view-num-panel"
>
<div
class=
"view-num-panel"
>
<div
class=
"view-num-y"
>
<div
class=
"view-num-y"
>
<img
class=
"accurate-img"
src=
"@/assets/img/home/count1.png"
alt=
""
/>
<img
class=
"accurate-img"
src=
"@/assets/img/home/count1.png"
alt=
""
/>
<div
class=
"view-customer-desc"
>
企微客户数
</div>
<div
class=
"view-customer-desc"
>
企微客户数
</div>
<div
class=
"view-customer-num"
>
<div
class=
"view-customer-num"
>
{{
addEntmicroCount
?
addEntmicroCount
:
"- -"
}}
人
<span
class=
"f26"
>
{{
addEntmicroCount
?
addEntmicroCount
:
"- -"
}}
</span>
人
</div>
</div>
</div>
</div>
<div
class=
"view-num-n"
>
<div
class=
"view-num-n"
>
<img
class=
"accurate-img"
src=
"@/assets/img/home/count2.png"
alt=
""
/>
<img
class=
"accurate-img"
src=
"@/assets/img/home/count2.png"
alt=
""
/>
<div
class=
"view-customer-desc"
>
未加企微客户数
</div>
<div
class=
"view-customer-desc"
>
未加企微客户数
</div>
<div
class=
"view-customer-num"
>
<div
class=
"view-customer-num"
>
{{
notAddEntmicroCount
?
notAddEntmicroCount
:
"- -"
}}
人
<span
class=
"f26"
>
{{
notAddEntmicroCount
?
notAddEntmicroCount
:
"- -"
}}
</span>
人
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"view-l-loss"
>
<div
class=
"view-l-loss"
>
<div
class=
"view-loss-desc"
>
<div
class=
"view-loss-desc"
>
企微流失客户总数
<span>
{{
企微流失客户总数
<span
class=
"f26"
>
{{
entmicroLoseCount
?
entmicroLoseCount
:
"- -"
entmicroLoseCount
?
entmicroLoseCount
:
"- -"
}}
</span
}}
</span
>
人
>
人
</div>
</div>
<div
class=
"view-loss-btn"
>
<div
class=
"view-loss-btn"
>
<el-button
type=
"primary"
size=
"small"
>
立即召回
</el-button>
<el-button
type=
"primary"
size=
"small"
:class=
"
{'emp-btn': !notAddEntmicroCount}"
>立即召回
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"view-prise-r"
>
<div
class=
"view-prise-r"
>
<div
class=
"view-prise-h"
>
<div
class=
"view-prise-h"
>
<div
class=
"view-h-title"
>
<div
class=
"view-h-title"
>
当日新增客户数
<
span>
{{
newCustomerCount
?
newCustomerCount
:
"- -"
}}
人
</span
>
当日新增客户数
<
div><span
class=
"f26"
>
{{
newCustomerCount
?
newCustomerCount
:
"- -"
}}
</span>
人
</div
>
</div>
</div>
<div
class=
"view-h-desc"
>
<div
class=
"view-h-desc"
>
当日新增企微客户数:
{{
addEntmicroCount
?
addEntmicroCount
:
"- -"
}}
人
当日新增企微客户数:
<span
class=
"f26"
>
{{
newEntmicroCount
?
newEntmicroCount
:
"- -"
}}
</span>
人
</div>
</div>
</div>
</div>
<div
class=
"view-prise-h"
>
<div
class=
"view-prise-h"
>
<div
class=
"view-h-title"
>
<div
class=
"view-h-title"
>
当日新增群客户数
<span
当日新增群客户数
<div><span
class=
"f26"
>
{{
todayAddPackmenberCount
?
todayAddPackmenberCount
:
"- -"
}}
人
</span
>
{{
todayAddPackmenberCount
?
todayAddPackmenberCount
:
"- -"
}}
</span>
人
</div>
>
</div>
</div>
<div
class=
"view-h-desc"
>
<div
class=
"view-h-desc"
>
群客户总数:
{{
packmenberCount
?
packmenberCount
:
"- -"
}}
人
群客户总数:
<span
class=
"f26"
>
{{
packmenberCount
?
packmenberCount
:
"- -"
}}
</span>
人
</div>
</div>
</div>
</div>
<div
class=
"view-prise-f"
>
<div
class=
"view-prise-f"
>
<div
class=
"view-h-title"
>
<div
class=
"view-h-title"
>
当日企微流失数
<span
当日企微流失数
<div><span
class=
"f26"
>
{{
todayEntmicroLoseCount
?
todayEntmicroLoseCount
:
"- -"
}}
人
</span
>
{{
todayEntmicroLoseCount
?
todayEntmicroLoseCount
:
"- -"
}}
</span>
人
</div>
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -129,6 +127,13 @@ export default {
...
@@ -129,6 +127,13 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.f26
{
font-size
:
26px
!important
;
}
.emp-btn
{
background
:
#999999
;
border
:
none
;
}
.view-prise-panel
{
.view-prise-panel
{
display
:
flex
;
display
:
flex
;
.view-prise-l
{
.view-prise-l
{
...
@@ -145,6 +150,9 @@ export default {
...
@@ -145,6 +150,9 @@ export default {
.view-title-desc
{
.view-title-desc
{
display
:
flex
;
display
:
flex
;
}
}
.view-title-num
{
font-size
:
14px
;
}
img
{
img
{
width
:
14px
;
width
:
14px
;
height
:
14px
;
height
:
14px
;
...
@@ -163,8 +171,9 @@ export default {
...
@@ -163,8 +171,9 @@ export default {
display
:
inline-block
;
display
:
inline-block
;
}
}
.view-num-y
{
.view-num-y
{
width
:
2
5%
;
width
:
3
5%
;
text-align
:
center
;
text-align
:
center
;
border-right
:
1px
solid
rgba
(
0
,
0
,
0
,
.06
);
.view-customer-desc
{
.view-customer-desc
{
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
...
@@ -172,7 +181,7 @@ export default {
...
@@ -172,7 +181,7 @@ export default {
line-height
:
20px
;
line-height
:
20px
;
}
}
.view-customer-num
{
.view-customer-num
{
font-size
:
22
px
;
font-size
:
14
px
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#333333
;
color
:
#333333
;
line-height
:
30px
;
line-height
:
30px
;
...
@@ -180,7 +189,7 @@ export default {
...
@@ -180,7 +189,7 @@ export default {
}
}
}
}
.view-num-n
{
.view-num-n
{
width
:
2
5%
;
width
:
3
5%
;
text-align
:
center
;
text-align
:
center
;
.view-customer-desc
{
.view-customer-desc
{
font-size
:
14px
;
font-size
:
14px
;
...
@@ -189,7 +198,7 @@ export default {
...
@@ -189,7 +198,7 @@ export default {
line-height
:
20px
;
line-height
:
20px
;
}
}
.view-customer-num
{
.view-customer-num
{
font-size
:
22
px
;
font-size
:
14
px
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#333333
;
color
:
#333333
;
line-height
:
30px
;
line-height
:
30px
;
...
@@ -200,6 +209,7 @@ export default {
...
@@ -200,6 +209,7 @@ export default {
.view-l-loss
{
.view-l-loss
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
...
@@ -222,6 +232,7 @@ export default {
...
@@ -222,6 +232,7 @@ export default {
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.view-prise-f
{
.view-prise-f
{
margin-top
:
50px
;
padding-bottom
:
10px
;
padding-bottom
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
...
@@ -233,8 +244,11 @@ export default {
...
@@ -233,8 +244,11 @@ export default {
line-height
:
22px
;
line-height
:
22px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
>div
{
font-size
:
14px
;
}
span
{
span
{
font-size
:
26
px
;
font-size
:
14
px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
}
}
...
...
src/views/home/index.vue
View file @
229777a
<
template
>
<
template
>
<div
class=
"main"
>
<div
class=
"
scrm-
main"
>
<div
class=
"main-panel"
:class=
"
{ 'main-isScroll
2
': guideStatus }">
<div
class=
"main-panel"
:class=
"
{ 'main-isScroll': guideStatus }">
<div
class=
"main-left"
>
<div
class=
"main-left"
>
<div
class=
"header-panel"
:style=
"
{
<div
class=
"header-panel"
:style=
"
{
height: headHeight + 'px'}">
height: headHeight + 'px',
'font-size': headHeight / 5+'px'}">
<img
<img
class=
"info-consulting-icon"
class=
"info-consulting-icon"
src=
"@/assets/img/home/home-header.png"
src=
"@/assets/img/home/home-header.png"
alt=
""
alt=
""
/>
/>
<div
class=
"jump-mf-btn"
>
立即使用
</div>
<div
class=
"jump-mf-btn"
:style=
"
{
left: headWidth/1.36 + 'px'
}">立即使用
</div>
</div>
</div>
<div
class=
"summary-panel"
>
<div
class=
"summary-panel"
>
<div
class=
"home-statistics-title"
>
企业数据概览
</div>
<div
class=
"home-statistics-title"
>
企业数据概览
</div>
...
@@ -60,7 +63,7 @@
...
@@ -60,7 +63,7 @@
class=
"guide-btn"
class=
"guide-btn"
:style=
"
{
:style=
"
{
left: guideLeft - imgWidth / 2 - borderLeft + 'px',
left: guideLeft - imgWidth / 2 - borderLeft + 'px',
top: guideTop +
imgHeight -
30 + 'px',
top: guideTop + 30 + 'px',
}"
}"
>
>
我知道了
我知道了
...
@@ -175,6 +178,7 @@ export default {
...
@@ -175,6 +178,7 @@ export default {
guideStatus
:
false
,
guideStatus
:
false
,
step
:
1
,
step
:
1
,
headHeight
:
0
,
headHeight
:
0
,
headWidth
:
0
,
guideWidth
:
""
,
guideWidth
:
""
,
guideHeight
:
""
,
guideHeight
:
""
,
guideLeft
:
0
,
guideLeft
:
0
,
...
@@ -200,7 +204,7 @@ export default {
...
@@ -200,7 +204,7 @@ export default {
this
.
borderLeft
=
document
.
querySelector
(
".el-main"
).
offsetLeft
+
38
;
this
.
borderLeft
=
document
.
querySelector
(
".el-main"
).
offsetLeft
+
38
;
this
.
borderTop
=
document
.
querySelector
(
".el-main"
).
offsetTop
;
this
.
borderTop
=
document
.
querySelector
(
".el-main"
).
offsetTop
;
if
(
this
.
step
==
1
)
{
if
(
this
.
step
==
1
)
{
this
.
guideWidth
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
+
20
;
this
.
guideWidth
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
+
5
;
this
.
guideHeight
=
this
.
headHeight
;
this
.
guideHeight
=
this
.
headHeight
;
this
.
imgWidth
=
this
.
guideWidth
/
2
;
this
.
imgWidth
=
this
.
guideWidth
/
2
;
this
.
imgHeight
=
(
this
.
imgWidth
*
246
)
/
541
;
this
.
imgHeight
=
(
this
.
imgWidth
*
246
)
/
541
;
...
@@ -213,18 +217,18 @@ export default {
...
@@ -213,18 +217,18 @@ export default {
this
.
imgHeight
=
this
.
guideHeight
;
this
.
imgHeight
=
this
.
guideHeight
;
this
.
imgWidth
=
(
this
.
imgHeight
*
614
)
/
222
;
this
.
imgWidth
=
(
this
.
imgHeight
*
614
)
/
222
;
this
.
guideLeft
=
this
.
guideLeft
=
document
.
querySelector
(
".consult-box"
).
offsetLeft
+
this
.
borderLeft
;
document
.
querySelector
(
".consult-box"
).
offsetLeft
+
this
.
borderLeft
-
44
;
this
.
guideTop
=
document
.
querySelector
(
".consult-box"
).
offsetTop
+
this
.
borderTop
;
this
.
guideTop
=
document
.
querySelector
(
".consult-box"
).
offsetTop
+
this
.
borderTop
;
}
else
{
}
else
{
let
top
=
document
.
querySelector
(
".accurate-sercives"
).
offsetTop
+
150
;
let
top
=
document
.
querySelector
(
".accurate-sercives"
).
offsetTop
+
150
;
this
.
guideLeft
=
this
.
guideLeft
=
document
.
querySelector
(
".operational-panel-s"
).
offsetLeft
+
this
.
borderLeft
;
document
.
querySelector
(
".operational-panel-s"
).
offsetLeft
+
this
.
borderLeft
-
40
;
this
.
guideTop
=
this
.
guideTop
=
document
.
querySelector
(
".operational-panel-s"
).
offsetTop
-
document
.
querySelector
(
".operational-panel-s"
).
offsetTop
-
top
-
top
-
10
+
10
+
this
.
borderTop
;
this
.
borderTop
;
this
.
guideWidth
=
document
.
querySelector
(
".operational-panel-s"
).
offsetWidth
;
this
.
guideWidth
=
document
.
querySelector
(
".operational-panel-s"
).
offsetWidth
+
5
;
this
.
guideHeight
=
this
.
guideHeight
=
document
.
querySelector
(
".operational-panel-s"
).
offsetHeight
+
10
;
document
.
querySelector
(
".operational-panel-s"
).
offsetHeight
+
10
;
document
.
querySelector
(
".main-panel"
).
scrollTop
=
top
;
document
.
querySelector
(
".main-panel"
).
scrollTop
=
top
;
...
@@ -247,6 +251,11 @@ export default {
...
@@ -247,6 +251,11 @@ export default {
mounted
()
{
mounted
()
{
this
.
headHeight
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
/
8
;
this
.
headHeight
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
/
8
;
this
.
headWidth
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
;
window
.
addEventListener
(
"resize"
,
()
=>
{
this
.
headHeight
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
/
8
;
this
.
headWidth
=
document
.
querySelector
(
".header-panel"
).
offsetWidth
;
});
this
.
findLogin
();
this
.
findLogin
();
},
},
};
};
...
@@ -268,24 +277,28 @@ export default {
...
@@ -268,24 +277,28 @@ export default {
position
:
absolute
;
position
:
absolute
;
background
:
#f4c647
;
background
:
#f4c647
;
border-radius
:
4px
;
border-radius
:
4px
;
padding
:
6px
10px
;
padding
:
0.6em
0.9em
;
font-size
:
10px
;
font-size
:
10px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#ffffff
;
color
:
#ffffff
;
line-height
:
12px
;
line-height
:
12px
;
cursor
:
pointer
;
cursor
:
pointer
;
bottom
:
15px
;
bottom
:
7px
;
right
:
20.6%
;
}
}
>
img
{
>
img
{
width
:
100%
;
width
:
100%
;
height
:
auto
;
height
:
auto
;
}
}
}
}
.main-isScroll
2
{
.main-isScroll
{
position
:
absolute
;
position
:
absolute
;
overflow-y
:
hidden
;
overflow-y
:
hidden
;
height
:
100%
;
height
:
100%
;
padding
:
0px
20px
20px
40px
;
box-sizing
:
border-box
;
width
:
100%
;
top
:
0px
;
left
:
0px
;
}
}
.main-panel
{
.main-panel
{
display
:
flex
;
display
:
flex
;
...
@@ -313,7 +326,7 @@ export default {
...
@@ -313,7 +326,7 @@ export default {
}
}
.main-left
{
.main-left
{
flex
:
1
;
flex
:
1
;
margin-right
:
1
0px
;
margin-right
:
2
0px
;
}
}
.main-right
{
.main-right
{
width
:
230px
;
width
:
230px
;
...
...
src/views/service/index.vue
View file @
229777a
...
@@ -47,7 +47,6 @@
...
@@ -47,7 +47,6 @@
<hr
/>
<hr
/>
</div>
</div>
</div>
<div
class=
"service-footer"
>
<div
class=
"service-footer"
>
<div
class=
"service-footer-title"
>
嘀加智慧门店——功能服务清单
</div>
<div
class=
"service-footer-title"
>
嘀加智慧门店——功能服务清单
</div>
<table
cellspacing=
"0"
cellpadding=
"0"
border=
"0"
class=
"service-footer-table"
>
<table
cellspacing=
"0"
cellpadding=
"0"
border=
"0"
class=
"service-footer-table"
>
...
@@ -86,6 +85,7 @@
...
@@ -86,6 +85,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -238,11 +238,7 @@ export default {
...
@@ -238,11 +238,7 @@ export default {
}
}
.service-footer
{
.service-footer
{
background
:
#ffffff
;
padding
:
20px
0px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
30px
40px
;
width
:
100%
;
box-sizing
:
border-box
;
&-title
{
&-title
{
font-size
:
32px
;
font-size
:
32px
;
font-weight
:
600
;
font-weight
:
600
;
...
...
vue.config.js
View file @
229777a
const
path
=
require
(
'path'
)
const
path
=
require
(
'path'
)
const
packageName
=
require
(
'./package.json'
).
name
const
packageName
=
require
(
'./package.json'
).
name
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
// const baseUrl = process.env.VUE_APP_BASE_URL;
const
publicPath
=
node_env
?
`/child/
${
packageName
}
/`
:
'/'
const
baseUrl
=
'/'
const
resolve
=
dir
=>
path
.
join
(
__dirname
,
dir
)
const
resolve
=
dir
=>
path
.
join
(
__dirname
,
dir
)
const
CDN_DOMAIN
=
'https://cdn.bootc
ss.com
'
const
CDN_DOMAIN
=
'https://cdn.bootc
dn.net/
'
const
cdn
=
{
const
cdn
=
{
css
:
[
css
:
[
`
${
CDN_DOMAIN
}
/element-ui/2.11.1/theme-chalk/index.css`
`
${
CDN_DOMAIN
}
ajax/libs
/element-ui/2.11.1/theme-chalk/index.css`
],
],
js
:
[
js
:
[
`
${
CDN_DOMAIN
}
/vue/2.6.10/vue.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vue/2.6.11/vue.min.js`
,
`
${
CDN_DOMAIN
}
/vue-router/3.0.6/vue-router.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vue-router/3.2.0/vue-router.min.js`
,
`
${
CDN_DOMAIN
}
/element-ui/2.11.1/index.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/element-ui/2.11.1/index.js`
,
`
${
CDN_DOMAIN
}
/vuex/3.1.1/vuex.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/vuex/3.6.2/vuex.min.js`
,
`
${
CDN_DOMAIN
}
/axios/0.19.0/axios.min.js`
,
`
${
CDN_DOMAIN
}
ajax/libs/echarts/5.1.2/echarts.min.js`
`
${
CDN_DOMAIN
}
/echarts/4.3.0-rc.1/echarts.min.js`
]
]
}
}
module
.
exports
=
{
module
.
exports
=
{
outputDir
:
`../dist/
${
packageName
}
`
,
outputDir
:
`../dist/
${
packageName
}
`
,
// publicPath: node_env ? baseUrl : '/'
,
publicPath
,
assetsDir
:
'static'
,
assetsDir
:
'static'
,
productionSourceMap
:
false
,
configureWebpack
:
{
configureWebpack
:
{
resolve
:
{
resolve
:
{
alias
:
{
alias
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment