Commit 505d7df0 authored by agping's avatar agping

后台优化 站点城市 选择

parent 5f66b562
...@@ -1543,7 +1543,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1543,7 +1543,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var _htmlTemp = ''; var _htmlTemp = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
...@@ -1551,7 +1551,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1551,7 +1551,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var _htmlTempDetail = ''; var _htmlTempDetail = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
......
...@@ -1347,7 +1347,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css', 'c ...@@ -1347,7 +1347,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css', 'c
var _htmlTemp = ''; var _htmlTemp = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
...@@ -1355,7 +1355,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css', 'c ...@@ -1355,7 +1355,7 @@ define(['doT', 'text!temp/callPhone_template_tpl.html', 'css!style/home.css', 'c
var _htmlTempDetail = ''; var _htmlTempDetail = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
......
...@@ -1484,7 +1484,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home ...@@ -1484,7 +1484,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
var _htmlTemp = ''; var _htmlTemp = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
...@@ -1492,7 +1492,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home ...@@ -1492,7 +1492,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
var _htmlTempDetail = ''; var _htmlTempDetail = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
......
...@@ -1812,7 +1812,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1812,7 +1812,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
var _htmlTemp = ''; var _htmlTemp = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTag" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTag" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
...@@ -1852,7 +1852,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1852,7 +1852,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
var _htmlTemp = ''; var _htmlTemp = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTemp += '<label class="checkbox-inline"><input type="checkbox" class="roomTagEdit" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
...@@ -1860,7 +1860,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1860,7 +1860,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
var _htmlTempDetail = ''; var _htmlTempDetail = '';
$.each(_data.data.list, function(i, item) { $.each(_data.data.list, function(i, item) {
_htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({ _htmlTempDetail += '<label class="checkbox-inline"><input type="checkbox" class="roomTagDetail" id="" value="{0}" data-id="{1}" name="shangpu_tags[]">{0}</label>'.stringFormatObj({
'0': item.name, '0': item.city,
'1': item.id '1': item.id
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment