Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
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
esf
fenzhan_zsb
Commits
b1e079eb
Commit
b1e079eb
authored
Jun 13, 2023
by
zhangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租房面积提示文字修改
parent
de5602b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletion
+38
-1
rent_modify.php
new_admincp/applications/zsb/views/nj/rent_modify.php
+38
-1
No files found.
new_admincp/applications/zsb/views/nj/rent_modify.php
View file @
b1e079eb
...
...
@@ -385,7 +385,18 @@
}
?>
<dd
class=
"list_item clearfix"
>
<label
class=
"label"
>
面积:
</label>
<?php
if
(
$infotype
==
1
)
{
if
(
$house_detail
[
'renttype'
]
==
'整租'
)
{
$areaName
=
'总面积'
;
}
else
{
$areaName
=
'房屋面积'
;
}
}
else
{
$areaName
=
'面积'
;
}
?>
<label
class=
"label areaName"
>
<?=
$areaName
?>
:
</label>
<div
class=
"fields"
>
<div
class=
"fgInput jsFgInput"
>
<input
type=
"text"
class=
" input_text w90"
name=
"buildarea"
id=
"buildarea"
value=
"
<?=
$house_detail
[
'buildarea'
]
?>
"
>
...
...
@@ -820,6 +831,17 @@ if (isset($publish_block) && !empty($publish_block)) {
}
}
var
renttype
=
$
(
this
).
val
();
if
(
infotype
==
1
){
if
(
renttype
==
'整租'
){
$
(
".areaName"
).
html
(
'总面积:'
);
}
else
{
$
(
".areaName"
).
html
(
'房屋面积:'
);
}
}
else
{
$
(
".areaName"
).
html
(
'面积:'
);
}
})
...
...
@@ -868,6 +890,21 @@ if (isset($publish_block) && !empty($publish_block)) {
}
});
$
(
input
:
radio
[
name
=
'renttype'
]).
change
(
function
(){
var
renttype
=
$
(
this
).
val
();
var
infotype
=
$
(
'input[name=infotype]'
).
val
();
if
(
infotype
==
1
){
if
(
renttype
==
'整租'
){
$
(
".areaName"
).
html
(
'总面积:'
);
}
else
{
$
(
".areaName"
).
html
(
'房屋面积:'
);
}
}
else
{
$
(
".areaName"
).
html
(
'面积:'
);
}
})
$
(
"#blockshowname"
).
autocomplete
({
source
:
function
(
request
,
response
)
{
...
...
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