Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
danzhai-sign
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5f0a5259
authored
Jun 02, 2019
by
fengfan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
也不知道对不对 也没法预览 改了几个地方
parent
371bded0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
src/api/http.js
+2
-1
src/views/Home.vue
+4
-3
yarn.lock
+0
-0
No files found.
src/api/http.js
View file @
5f0a5259
import
axios
from
'axios'
;
import
axios
from
'axios'
;
let
http
=
axios
.
create
({
let
http
=
axios
.
create
({
baseURL
:
'http://wanda-qj.maxrocky.com/'
,
baseURL
:
'http://wanda-qj.iyunfish.com/'
,
// baseURL: 'http://wanda-qj.maxrocky.com/',
// baseURL: 'http://web-comment.iyunfish.cn/',
// baseURL: 'http://web-comment.iyunfish.cn/',
withCredentials
:
true
,
withCredentials
:
true
,
});
});
...
...
src/views/Home.vue
View file @
5f0a5259
...
@@ -22,10 +22,10 @@
...
@@ -22,10 +22,10 @@
<myInput
v-if=
"isUse == 1"
msg=
""
ref=
"input4"
class=
"input"
reg=
""
:isUse=
"isUse"
:value=
"addressDetail"
palc=
"您的详细地址"
@
blur
.
native=
"blur"
/>
<myInput
v-if=
"isUse == 1"
msg=
""
ref=
"input4"
class=
"input"
reg=
""
:isUse=
"isUse"
:value=
"addressDetail"
palc=
"您的详细地址"
@
blur
.
native=
"blur"
/>
<input
v-if=
"isUse == 0 && addressDetail"
type=
"text"
class=
"input"
v-model=
"addressDetail"
readonly
>
<input
v-if=
"isUse == 0 && addressDetail"
type=
"text"
class=
"input"
v-model=
"addressDetail"
readonly
>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
v-if=
"isUse == 0 && danwei"
>
<img
src=
"../assets/icon4.png"
alt=
""
>
<img
src=
"../assets/icon4.png"
alt=
""
>
<myInput
v-if=
"isUse == 1"
msg=
""
ref=
"input3"
class=
"input"
reg=
""
:isUse=
"isUse"
:value=
"danwei"
palc=
"您的摄协单位(选填)"
@
blur
.
native=
"blur"
/>
<myInput
v-if=
"isUse == 1"
msg=
""
ref=
"input3"
class=
"input"
reg=
""
:isUse=
"isUse"
:value=
"danwei"
palc=
"您的摄协单位(选填)"
@
blur
.
native=
"blur"
/>
<input
v-if=
"isUse == 0"
type=
"text"
class=
"input"
v-model=
"danwei"
readonly
>
<input
v-if=
"isUse == 0
&& danwei
"
type=
"text"
class=
"input"
v-model=
"danwei"
readonly
>
</div>
</div>
<div
class=
"item"
v-if=
"number && number != -1"
>
<div
class=
"item"
v-if=
"number && number != -1"
>
<img
src=
"../assets/icon5.png"
alt=
""
>
<img
src=
"../assets/icon5.png"
alt=
""
>
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
if
(
this
.
isUse
==
1
){
if
(
this
.
isUse
==
1
){
return
'normal'
return
'normal'
}
else
{
}
else
{
return
'active'
return
'
normal'
||
'
active'
}
}
}
}
},
},
...
@@ -430,6 +430,7 @@ textarea::-webkit-input-placeholder {
...
@@ -430,6 +430,7 @@ textarea::-webkit-input-placeholder {
background
:
none
;
background
:
none
;
color
:
#1281aa
;
color
:
#1281aa
;
border-radius
:
1vw
;
border-radius
:
1vw
;
margin
:
10px
;
&.normal{
&.normal{
color
:
#fff
;
color
:
#fff
;
background
:
#1281aa
;
background
:
#1281aa
;
...
...
yarn.lock
0 → 100644
View file @
5f0a5259
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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