tpl.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div class="card mb-3 {$random}">
  2. <div class="card-block">
  3. <div class="mb-3">
  4. <span class="show-first-div{$random}"><span class="show-frist"> 首重/件(克/个):</span>{$row['frist']}</span>
  5. <span class="show-price-div{$random}"><span class="show-frist-price">首费(元) :</span>{$row['frist_price']}</span>
  6. <span class="show-second-div{$random}"><span class="show-second">续重/件(克/个) :</span>{$row['second']}</span>
  7. <span class="show-xufei-div{$random}"><span>续费(元) :</span>{$row['second_price']}</span>
  8. <a href="javascript:" data-index="{$random}" onclick="$(this).parent().parent().parent().remove()" class="del-rules-btn float-right">[-删除条目]</a>
  9. </div>
  10. <input type="hidden" name="random[]" value="{$random}" />
  11. <input type="hidden" class='citys' name="citys[{$random}]" value="{$row['citys']}" />
  12. <input type="hidden" class='citys_code' name="citys_code[{$random}]" value="{$row['citys_code']}" />
  13. <input type="hidden" value="{$row['firstweight']}" name="firstweight[{$random}]" />
  14. <input type="hidden" value="{$row['firstprice']}" name="firstprice[{$random}]" />
  15. <input type="hidden" value="<?php echo empty($row['secondweight'])?1000:$row['secondweight'];?>" name="secondweight[{$random}]" />
  16. <input type="hidden" value="{$row['secondprice']}" name="secondprice[{$random}]" />
  17. <input type="hidden" value="<?php echo empty($row['firstnum'])?1:$row['firstnum'];?>" name="firstnum[{$random}]" />
  18. <input type="hidden" value="{$row['firstnumprice']}" name="firstnumprice[{$random}]" />
  19. <input type="hidden" value="<?php echo empty($row['secondnum'])?1:$row['secondnum'];?>" name="secondnum[{$random}]" />
  20. <input type="hidden" value="{$row['secondnumprice']}" name="secondnumprice[{$random}]"/>
  21. <input type="hidden" value="{$row['freeprice']}" name="freeprice[{$random}]" />
  22. <input type="hidden" class="{$random}frist" name="detail[{$random}][frist]" value="{$row['frist']}">
  23. <input type="hidden" class="{$random}frist_price" name="detail[{$random}][frist_price]" value="{$row['frist_price']}">
  24. <input type="hidden" class="{$random}second" name="detail[{$random}][second]" value="{$row['second']}">
  25. <input type="hidden" class="{$random}second_price" name="detail[{$random}][second_price]" value="{$row['second_price']}">
  26. <div>
  27. <span>省份:</span>
  28. <span class="cityshtml">
  29. {$row['citys']}
  30. </span>
  31. </div>
  32. </div>
  33. </div>