Commit 684b6e43 authored by agping's avatar agping

ios 兼容

parent 987574ca
...@@ -155,7 +155,7 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun ...@@ -155,7 +155,7 @@ require(['vue', 'vconsole', 'css!style/weekly.css', 'jquery0325', 'common'], fun
if(_data.data.length){ if(_data.data.length){
var span_city = ''; var span_city = '';
$.each(_data.data, function(i,item) { $.each(_data.data, function(i,item) {
span_city+='<span class="" data-id="'+item.id+'">' + item.name + '</span>'; span_city+='<span style = "cursor: pointer" class="" data-id="'+item.id+'">' + item.name + '</span>';
}); });
$(".city-zongjian").html(span_city); $(".city-zongjian").html(span_city);
//默认选中第一个城市 并且缓存对应城市的id //默认选中第一个城市 并且缓存对应城市的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