Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
83c21b33
authored
2018-03-24 11:06:40 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
e527486e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
16 deletions
application/views/work/资料/资料补录.php
application/views/work/资料/资料补录.php
View file @
83c21b3
<?php
$this
->
load
->
view
(
'common/header'
);
?>
<body>
<div
id=
"tab"
class=
"HuiTab"
>
<div
id=
"tab"
class=
"HuiTab"
>
<div
class=
"tabBar clearfix"
style=
"background-color:#e8e8e8"
>
<span>
产品选择
</span>
<span>
申请信息
</span>
...
...
@@ -14,13 +14,17 @@
<div
class=
"panel-header"
>
选择贷款产品
</div>
<div
class=
"panel-body cl"
>
<div
class=
"row cl text-c"
>
<?php
foreach
(
$session
->
products
as
$k
=>
$v
)
:?>
<
div
class
="
col
-
sm
-
4
mb
-
20
">
<label class="
radio
">
<input
type=
"radio
"
name=
"1"
/>
<input type="
radio
" value="
<?=
$v
->
productName
?>
" name="1"/>
<img
src=
"holder.js/180x180"
>
</label>
</div>
<div
class=
"col-sm-4 mb-20"
>
<?php
endforeach
;
?>
<!--<div class="col-sm-4 mb-20">
<label class="radio">
<input type="radio" name="1"/>
<img src="holder.js/180x180">
...
...
@@ -43,13 +47,14 @@
<input type="radio" name="1"/>
<img src="holder.js/180x180">
</label>
</div
>
</div>--
>
</div>
</div>
</div>
<div
class=
"col-sm-offset-4 col-sm-4 pb-20"
>
<button
class=
"btn btn-primary btn-block"
type=
"button"
onclick=
"$('#tab').Huitab({index: 1})"
>
下一步
</button>
<button
class=
"btn btn-primary btn-block"
type=
"button"
onclick=
"$('#tab').Huitab({index: 1})"
>
下一步
</button>
</div>
</div>
...
...
@@ -379,7 +384,8 @@
</div>
<div
class=
"col-sm-offset-4 col-sm-4 pb-20"
>
<button
class=
"btn btn-primary btn-block"
type=
"button"
onclick=
"$('#tab').Huitab({index: 2})"
>
下一步
</button>
<button
class=
"btn btn-primary btn-block"
type=
"button"
onclick=
"$('#tab').Huitab({index: 2})"
>
下一步
</button>
</div>
</div>
<!-- 资料信息 -->
...
...
@@ -391,30 +397,31 @@
</div>
</div>
</form>
</div>
</div>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<?php
$this
->
load
->
view
(
'common/footer'
);
?>
<script>
<script>
function getQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
if (r != null) return unescape(r[2]);
return null;
}
var index = getQueryString('tab');
$("#tab").Huitab({index: index});
$(".upload :file").change(function
() {
$(".upload :file").change(function
() {
if (typeof(FileReader) != "undefined") {
var dvPreview = $(this).parent().prev();
var regex = /(.jpg|.jpeg|.gif|.png|.bmp)$/;
$($(this)[0].files).each(function
() {
$($(this)[0].files).each(function
() {
var file = $(this);
if (regex.test(file[0].name.toLowerCase())) {
var reader = new FileReader();
reader.onload = function
(e) {
reader.onload = function
(e) {
var img = $("<img />");
img.attr("src", e.target.result);
dvPreview.append(img);
...
...
@@ -433,12 +440,12 @@
function submit() {
layer.confirm('提交成功之后, 将立即进入审批阶段', {
btn: ['确认',
'取消'],
btn: ['确认',
'取消'],
title: '提交订单'
}, function()
{
}, function ()
{
layer_load('提交成功', '
<?=
site_url
(
"work/recorded"
)
?>
'
);
});
}
</script>
</script>
</body>
</html>
...
...
Write
Preview
Styling with
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