Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cxerpapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
cxerpapp
Commits
828f743e
Commit
828f743e
authored
Feb 21, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index界面图片,两个登录页把url固定写在data中
parent
60823625
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
pages.json
pages.json
+1
-2
home.vue
pages/home/home.vue
+1
-1
cusmerLogin.vue
pages/login/cusmerLogin.vue
+7
-3
login.vue
pages/login/login.vue
+3
-1
index.jpg
static/index.jpg
+0
-0
No files found.
pages.json
View file @
828f743e
{
{
"pages"
:
[
"pages"
:
[
{
{
"path"
:
"pages/login/login"
,
"path"
:
"pages/login/login"
,
"style"
:
{}
"style"
:
{}
...
...
pages/home/home.vue
View file @
828f743e
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</view>
</view>
<view
class=
"cu-bar padding-left-xs padding-right-xs"
>
<view
class=
"cu-bar padding-left-xs padding-right-xs"
>
<view
class=
"bg-addvertise"
>
<view
class=
"bg-addvertise"
>
<image
src=
"../../static/
blue.pn
g"
mode=
"aspectFill"
></image>
<image
src=
"../../static/
index.jp
g"
mode=
"aspectFill"
></image>
</view>
</view>
</view>
</view>
<!--
<view
class=
"cu-info bg-white margin-left-xs margin-right-xs"
>
<!--
<view
class=
"cu-info bg-white margin-left-xs margin-right-xs"
>
...
...
pages/login/cusmerLogin.vue
View file @
828f743e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view
class=
"zai-box dtxg"
style=
"height: 100vh;"
>
<view
class=
"zai-box dtxg"
style=
"height: 100vh;"
>
<scroll-view
scroll-y
class=
"page"
>
<scroll-view
scroll-y
class=
"page"
>
<view
class=
"text-center"
:style=
"[
{animation: 'show ' + 0.4+ 's 1'}]">
<view
class=
"text-center"
:style=
"[
{animation: 'show ' + 0.4+ 's 1'}]">
<image
src=
"http://119.3.92.249:18080/dmg/images/logo.ico
"
mode=
'aspectFit'
class=
"zai-logo "
></image>
<image
:src=
"imgsrc
"
mode=
'aspectFit'
class=
"zai-logo "
></image>
<view
class=
"zai-title text-shadow"
style=
"margin-top: -20px;color: #FFFFFF;font-size:25px;"
>
格物云ERP系统
</view>
<view
class=
"zai-title text-shadow"
style=
"margin-top: -20px;color: #FFFFFF;font-size:25px;"
>
格物云ERP系统
</view>
</view>
</view>
<view
class=
"box padding-lr-xl login-paddingtop"
:style=
"[
{animation: 'show ' + 0.6+ 's 1'}]">
<view
class=
"box padding-lr-xl login-paddingtop"
:style=
"[
{animation: 'show ' + 0.6+ 's 1'}]">
...
@@ -83,6 +83,10 @@
...
@@ -83,6 +83,10 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
// 固定服务器资源地址
imgsrc
:
"http://119.3.92.249:18080/dmg/images/logo.ico"
,
firurl
:
"http://clouderp.gavelinfo.com/login"
,
sedyrl
:
"http://clouderp.gavelinfo.com/hderp"
,
// 服务器——端口号
// 服务器——端口号
fwq
:
""
,
fwq
:
""
,
dkh
:
""
,
dkh
:
""
,
...
@@ -171,7 +175,7 @@
...
@@ -171,7 +175,7 @@
// 二次登录
// 二次登录
loginT
(){
loginT
(){
let
_this
=
this
;
let
_this
=
this
;
http
.
config
.
baseUrl
=
"http://clouderp.gavelinfo.com/hderp"
;
http
.
config
.
baseUrl
=
_this
.
sedyrl
;
this
.
$http
.
post
(
this
.
loginurl
,{}).
then
((
resp
)
=>
{
this
.
$http
.
post
(
this
.
loginurl
,{}).
then
((
resp
)
=>
{
if
(
resp
.
data
.
success
){
if
(
resp
.
data
.
success
){
console
.
log
(
"success"
)
console
.
log
(
"success"
)
...
@@ -244,7 +248,7 @@
...
@@ -244,7 +248,7 @@
onLogin
:
function
(){
onLogin
:
function
(){
// http.config.baseUrl='http://'+this.fwq+'/'+this.dkh
// http.config.baseUrl='http://'+this.fwq+'/'+this.dkh
let
_this
=
this
;
let
_this
=
this
;
http
.
config
.
baseUrl
=
"http://clouderp.gavelinfo.com/login"
http
.
config
.
baseUrl
=
_this
.
firurl
if
(
!
this
.
userName
||
this
.
userName
.
length
==
0
){
if
(
!
this
.
userName
||
this
.
userName
.
length
==
0
){
this
.
$tip
.
toast
(
'请填写用户名'
);
this
.
$tip
.
toast
(
'请填写用户名'
);
return
;
return
;
...
...
pages/login/login.vue
View file @
828f743e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view
class=
"zai-box dtxg"
style=
"height: 100vh;"
>
<view
class=
"zai-box dtxg"
style=
"height: 100vh;"
>
<scroll-view
scroll-y
class=
"page"
>
<scroll-view
scroll-y
class=
"page"
>
<view
class=
"text-center"
:style=
"[
{animation: 'show ' + 0.4+ 's 1'}]">
<view
class=
"text-center"
:style=
"[
{animation: 'show ' + 0.4+ 's 1'}]">
<image
src=
"http://119.3.92.249:18080/dmg/images/logo.ico
"
mode=
'aspectFit'
class=
"zai-logo "
></image>
<image
:src=
"imgsrc
"
mode=
'aspectFit'
class=
"zai-logo "
></image>
<view
class=
"zai-title text-shadow"
style=
"margin-top: -20px;color: #FFFFFF;font-size:25px;"
>
格物软件
</view>
<view
class=
"zai-title text-shadow"
style=
"margin-top: -20px;color: #FFFFFF;font-size:25px;"
>
格物软件
</view>
</view>
</view>
<view
class=
"box padding-lr-xl login-paddingtop"
:style=
"[
{animation: 'show ' + 0.6+ 's 1'}]">
<view
class=
"box padding-lr-xl login-paddingtop"
:style=
"[
{animation: 'show ' + 0.6+ 's 1'}]">
...
@@ -93,6 +93,8 @@
...
@@ -93,6 +93,8 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
// 固定服务器资源地址
imgsrc
:
"http://119.3.92.249:18080/dmg/images/logo.ico"
,
// 服务器——端口号
// 服务器——端口号
fwq
:
""
,
fwq
:
""
,
dkh
:
""
,
dkh
:
""
,
...
...
static/index.jpg
0 → 100644
View file @
828f743e
14 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment