|
@@ -539,7 +539,7 @@
|
|
|
let arr =[];
|
|
|
// 判断省份下的城市是否等于选中的城市长度,相等就是全部选中
|
|
|
if (length == activeLeng) {
|
|
|
- $('.tips_btn .tips_d_text.citys').hide()
|
|
|
+ $('.tips_btn .tips_d_text.citys').slideUp()
|
|
|
// data.push($(this).parent('.tab_content').siblings('.tab:not(.whole)').children('.province').text().trim())
|
|
|
let province = $(this).parent('.tab_content').siblings('.tab:not(.whole)').children('.province').text().trim();
|
|
|
data.push({
|
|
@@ -590,10 +590,12 @@
|
|
|
if( children.length >0){
|
|
|
// 判断每个省份下选中的城市长度,当大于等于4的时候 弹出"选择全省更划算的弹窗"
|
|
|
let childrenArr=[];
|
|
|
- if (children.length >= 4 && !this.vipSubisTrial) {
|
|
|
+ if (children.length >= 3 && !this.vipSubisTrial) {
|
|
|
$('.tips_btn .tips_d_text.citys').text("已选择"+children.length+"个市,建议购买“全省”。");
|
|
|
- $('.tips_btn .tips_d_text.citys').show();
|
|
|
- }
|
|
|
+ $('.tips_btn .tips_d_text.citys').slideDown();
|
|
|
+ }else{
|
|
|
+ $('.tips_btn .tips_d_text.citys').slideUp();
|
|
|
+ }
|
|
|
html += `${result[i].name}(`
|
|
|
for(var j = 0;j < children.length;j++){
|
|
|
childrenArr.push(children[j].name)
|