联系官方销售客服
1835022288
028-61286886
插件 | 通用订单 V2.14 |
应用作者 | 迅睿官方团队 |
发布时间 | 2019-06-06 15:43:57 |
更新时间 | 2024-04-30 07:28:25 |
checkout.html里有个标签{$city},前端却输出如下一大段HTML内容,我要更改需要怎么去修改这里的内容和JS呢
'<input type="hidden" name="data[city]" id="dr_city" value="0"><script type="text/javascript" src="/static/assets/js/jquery.ld.js?v=1694864530"></script><span id="dr_linkage_city_select" style=""><label style="padding-right:10px;"><select class="form-control finecms-select-city" name="city-1" id="city-1" width="100" ><option value=""> -- </option></select></label><label style="padding-right:10px;"><select class="form-control finecms-select-city" name="city-2" id="city-2" width="100" style="display:none"><option value=""> -- </option></select></label><label id="dr_linkage_city_html"></label></span> <script type="text/javascript"> function dr_linkage_select_city() { $("#dr_linkage_city_select").show(); $("#dr_linkage_city_cxselect").hide(); } $(function(){ var $ld5 = $(".finecms-select-city"); $ld5.ld({ajaxOptions:{"url": "/index.php?s=api&c=api&m=linkage_ld&mid=order&file=&code=bolan"},inputId:"dr_linkage_city_html",defaultParentId:0}); var ld5_api = $ld5.ld("api"); ld5_api.selected(); $ld5.bind("change", function(e){ var $target = $(e.target); var index = $ld5.index($target); //$("#city-3").remove(); var vv = $ld5.eq(index).show().val(); $("#dr_city").val(vv); index ++; $ld5.eq(index).show(); //console.log("value="+vv); }); }) </script>'