WAP版home_space.tpl文件有BUG

2020-12-01 10:00

本帖最后由 ytzjq 于 2015-4-12 22:42 编辑

  <li>学历要求:<span><!--{if $cond.startedu == '0'}-->不限<!--{else}--><!--{area type='text' value=$home.startedu}-->~<!--{area type='text'
value=$home.endedu}--><!--{/if}--></span></li>

上面这段代码,在手机WAP页查看会员择偶条件时,学历要求 只显示 ~
如果不设置学历要求 就显示不限,设置了学历要求时 就显示不出来 只显示个 ~

====================================
修复方法:
  <li>学历要求:<span><!--{if $home.startedu == '0'}-->不限<!--{else}--><!--{hook mod='var' type='text' item='education' value=
$cond.startedu}-->~<!--{hook mod='var' type='text' item='education' value=$cond.endedu}--><!--{/if}--></span></li>

2336 次浏览 2 条评论 收藏

说说我的看法

登录后可以发表评论 登录
2个评论
-- 2020-12-01 10:00
在那个文件里面改正 啊
回复
Lee 官方认证帐号 2020-12-01 10:00
正确的标签应该是:
<!--{if $cond.startedu == \'0\'}-->不限<!--{else}--><!--{hook mod=\'var\' type=\'text\' item=\'education\' value=
$cond.startedu}-->~<!--{hook mod=\'var\' type=\'text\' item=\'education\' value=$cond.endedu}--><!--{/if}-->
回复
作者信息

18
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询