Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac-quanmin
Overview
Overview
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
HTML5-李恒逸
sunac-quanmin
Commits
fa2de6f0
Commit
fa2de6f0
authored
Jun 16, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 每一列希望有固定宽度,字数超了折行展示
parent
3a5f688f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
customerSearch.php
html/application/views/admin/channel/customerSearch.php
+13
-1
distributor.php
html/application/views/admin/kpiadmin/distributor.php
+16
-2
No files found.
html/application/views/admin/channel/customerSearch.php
View file @
fa2de6f0
...
...
@@ -152,7 +152,7 @@
<td>
<?php
echo
$customer
[
'company_name'
];
?>
</td>
<td>
<?php
echo
$customer
[
'building_title'
];
?>
</td>
<td>
<?php
echo
$customer
[
'user_name'
]
?>
</td>
<td>
<?php
echo
$customer
[
'remark'
]
?>
</td>
<td
class=
"hzz-remark"
>
<?php
echo
$customer
[
'remark'
]
?>
</td>
</tr>
<?php
endforeach
;
...
...
@@ -175,6 +175,18 @@
background
-
color
:
#428bca;
border
-
color
:
#428bca;
}
.
hzz
-
remark
{
display
:
inline
-
block
;
width
:
100
px
;
height
:
auto
;
word
-
wrap
:
break
-
word
;
word
-
break
:
break
-
all
;
border
-
left
:
none
!
important
;
border
-
right
:
none
!
important
;
border
-
bottom
:
none
!
important
;
text
-
align
:
center
;
background
-
color
:
#fff !important;
}
</
style
>
<
div
class
="
pagination
-
box
">
<div class="
row
">
...
...
html/application/views/admin/kpiadmin/distributor.php
View file @
fa2de6f0
...
...
@@ -128,7 +128,7 @@
<!-- <td>
<?php
//echo $customer['restatus'] == 4 ? '是' : '否';?></td> -->
<
td
><?
php
echo
$customer
[
'agent_name'
]
?
:
$customer
[
'partner_name'
];
?>
</td>
<td>
<?php
echo
$customer
[
'partner_user_mobile'
];
?>
</td>
<td>
<?php
echo
$customer
[
'remark'
];
?>
</td>
<td
class="fenxiao-remark"
>
<?php
echo
$customer
[
'remark'
];
?>
</td>
</tr>
<?php
endforeach
;
...
...
@@ -169,6 +169,20 @@
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<style>
.fenxiao-remark
{
display
:
inline-block
;
width
:
100px
;
height
:
auto
;
word-wrap
:
break-word
;
word-break
:
break-all
;
border-left
:
none
!important
;
border-right
:
none
!important
;
border-bottom
:
none
!important
;
text-align
:
center
;
background-color
:
#fff
!important
;
}
</style>
<?php
$this
->
load
->
view
(
'admin/footer'
);
?>
<!-- BEGIN PAGE LEVEL PLUGINS -->
<link
rel=
"stylesheet"
href=
"
<?php
echo
APPLICATION_PATH
?>
/assets/plugins/data-tables/DT_bootstrap.css"
/>
...
...
@@ -197,7 +211,7 @@
language
:
'cn'
,
autoclose
:
true
,
});
$
(
'input[type="reset"]'
).
click
(
function
(){
$
(
'input[type="text"]'
).
attr
(
'value'
,
''
);
});
...
...
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