{$item.goodsInfo.name}{$item.goodsInfo.priceNow} ">

Heim  >  Artikel  >  Backend-Entwicklung  >  我是php小白 复制拷贝下面代码的文件为啥提示该动作不存在 ?

我是php小白 复制拷贝下面代码的文件为啥提示该动作不存在 ?

WBOY
WBOYOriginal
2016-06-02 11:34:16899Durchsuche

php

我是php小白 问一个问题 复制拷贝下面代码的文件为啥提示该动作不存在 网站用的smarty模板分离..

{seopage id=18}
{include "header.inc.html"}
{include "user/header.inc.html"}

{include "user/side.inc.html"}

我的收藏夹

{userfavorite userId=$smarty.session.userId} {/userfavorite}
缩略图 产品名称 单价 加入购物车 取消收藏
我是php小白   复制拷贝下面代码的文件为啥提示该动作不存在 ? {$item.goodsInfo.name} {$item.goodsInfo.priceNow}

function delFavorite(fid){ if(!fid || isNaN(parseInt(fid))){ return false; } //if(!confirm("确定删除该收藏吗?")){ return false; } $.ajax({ type:"POST", url:"{$baseUrl}user/favorite/", data:"inajax=1&act=del&id="+fid, dataType:"json", cache:false, success:function(data){ G.ui.popup.showMsg(data.message,{ type:data.type }); if(data.success){ $("#fav"+fid).hide("slow").remove(); } } });}

{include "footer.inc.html"}

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn