分享
  • 收藏
  • 举报
    X
    怎么实现直达自定义跳转按钮,第二步有难度,谁指导下,有酬谢
    • hxbsj88 消费4013.66元 2018-10-12 12:16 12:16
    647
    9

    在后台加链接字段,前台加个跳转按钮




    6
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 9
    • 阿赖耶识 程序开发者 消费:24.43元 2018-10-12 17:38 17:386楼

      那就再加一句话呗

      <div class="butters">
         <span style="width:30%;"><button onclick="BuyThisShop(2)">立即购买</button></span>
         <em style="width:40%;"><button onclick="BuyThisShop(1)">加入购物车</button></em>
         {notempty name="$info.taobao"}
         <span style="width:30%;"><button><a style="color:#fff"  href="{$info.taobao}" target="_blank">淘宝购买</a></button></span>
         {/notempty}
      </div>


    0 赏钱 赏礼回复
    • 阿赖耶识 程序开发者 消费:24.43元 2018-10-12 17:22 17:226楼

      直接复制吧

      <div class="butters">
         <span style="width:30%;"><button onclick="BuyThisShop(2)">立即购买</button></span>
         <em style="width:40%;"><button onclick="BuyThisShop(1)">加入购物车</button></em>
         <span style="width:30%;"><button><a style="color:#fff"  href="{$info.taobao}" target="_blank">淘宝购买</a></button></span>
      </div>


    0 赏钱 赏礼回复
    • 阿赖耶识 程序开发者 消费:24.43元 2018-10-12 12:33 12:336楼

      模版里加入

      <a  href="{$info.字段名}" target="_blank">淘宝购买</a>

      http://x1.alaiyeshi.net/shop/show-3.html

      hxbsj88 消费:4013.66元 2018-10-12 16:20

      试了下,这个怎么美化“比较购买“怎么弄成跟立即购买这种按钮,见截图及代码


      这个是代码,怎么写样式

      <div class="butters">

      <span><button onclick="BuyThisShop(2)">立即购买</button></span>

      <em><button onclick="BuyThisShop(1)">加入购物车</button></em>

      <a button href="{$info.taobao}" target="_blank">比价购买</button></a>

      </div>

      阿赖耶识 消费:24.43元 2018-10-12 16:44
      样式参考官方的,自己添加下css呗
      阿赖耶识 消费:24.43元 2018-10-12 16:49
      你对应地址发下
      hxbsj88 消费:4013.66元 2018-10-12 16:53
      怕有问题我在本地调试,我在线上调试,css不会弄
      qiqi123 消费:3元 2018-10-12 17:26
    1 赏钱 赏礼回复
    • 素之美 风格开发者 消费:495.25元 2018-10-12 13:18 13:18
      iPhone
      6楼
      就如楼下所说,很简单的跳转代码,再加一个样式就可以了
    0 赏钱 赏礼回复
    更多回复
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648