|
@@ -80,7 +80,7 @@ class MemberSalesController extends HomeBaseController |
|
@@ -80,7 +80,7 @@ class MemberSalesController extends HomeBaseController |
80
|
</div>';
|
80
|
</div>';
|
81
|
$this->sort_model[10] = '<div class="text_item no_margin form_options" data-validate="{validate}" data-type="10">
|
81
|
$this->sort_model[10] = '<div class="text_item no_margin form_options" data-validate="{validate}" data-type="10">
|
82
|
<p class="text_tit"><span class=" _validate">{name}</span>{must}</p>
|
82
|
<p class="text_tit"><span class=" _validate">{name}</span>{must}</p>
|
83
|
- <input type="text" name="" readonly="readonly" value="{value}" class="baby_input birthday" placeholder="请选择{name}" />
|
83
|
+ <input type="text" name="" readonly="readonly" id="birthday{key}" value="{value}" class="baby_input birthday" placeholder="请选择{name}" />
|
84
|
<img src="__TMPL__/public/mobile/images/youjiantou.png" class="jiantou" />
|
84
|
<img src="__TMPL__/public/mobile/images/youjiantou.png" class="jiantou" />
|
85
|
</div>';
|
85
|
</div>';
|
86
|
$this->sort_model[11] = '<div class="text_item form_options" data-validate="{validate}" data-type="11">
|
86
|
$this->sort_model[11] = '<div class="text_item form_options" data-validate="{validate}" data-type="11">
|
|
@@ -501,6 +501,9 @@ class MemberSalesController extends HomeBaseController |
|
@@ -501,6 +501,9 @@ class MemberSalesController extends HomeBaseController |
501
|
$html = str_replace('{img}',$img,$html);
|
501
|
$html = str_replace('{img}',$img,$html);
|
502
|
$html = str_replace('{img_height}','height:auto;',$html);
|
502
|
$html = str_replace('{img_height}','height:auto;',$html);
|
503
|
}
|
503
|
}
|
|
|
504
|
+ if($formData['type'] == 10) {
|
|
|
505
|
+ $html = str_replace('{key}',$formData['id'],$html);
|
|
|
506
|
+ }
|
504
|
$html = str_replace('{value}',$formData['user_choose'],$html);
|
507
|
$html = str_replace('{value}',$formData['user_choose'],$html);
|
505
|
} else {
|
508
|
} else {
|
506
|
if($formData['type'] == 8) {
|
509
|
if($formData['type'] == 8) {
|
|
@@ -509,6 +512,9 @@ class MemberSalesController extends HomeBaseController |
|
@@ -509,6 +512,9 @@ class MemberSalesController extends HomeBaseController |
509
|
$html = str_replace('{img}',$img,$html);
|
512
|
$html = str_replace('{img}',$img,$html);
|
510
|
$html = str_replace('{img_height}','',$html);
|
513
|
$html = str_replace('{img_height}','',$html);
|
511
|
}
|
514
|
}
|
|
|
515
|
+ if($formData['type'] == 10) {
|
|
|
516
|
+ $html = str_replace('{key}',$formData['id'],$html);
|
|
|
517
|
+ }
|
512
|
$html = str_replace('{value}','',$html);
|
518
|
$html = str_replace('{value}','',$html);
|
513
|
}
|
519
|
}
|
514
|
return $html;
|
520
|
return $html;
|