首页  >  文章  >  php教程  >  WeMall微信商城源码插件会员卡代码详情

WeMall微信商城源码插件会员卡代码详情

WBOY
WBOY原创
2016-10-09 08:32:152427浏览

WeMall微信商城源码插件会员卡代码是用于商业推广的比较有效的方式,分享了部分比较重要的代码,供技术员学习参考
WeMall微信商城源码插件会员卡代码是用于商业推广的比较有效的方式,分享了部分比较重要的代码,供技术员学习参考

Index_index.html<br> <br>     <meta> <br>     <title>会员卡</title> <br>     <meta>           content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;"><br>     <meta> <br>     <meta> <br>     <meta> <br>     <link> <br> <br> <br> <div></div> <br> <div> <br>     <div> <img alt="WeMall微信商城源码插件会员卡代码详情" ><br>         <img alt="WeMall微信商城源码插件会员卡代码详情" ><br>         <h1>VIP会员卡</h1> <br>         <strong><br>             <span><br>                 <em>会员姓名</em><span>{$user.username}</span><br>             </span><br>             <span><em>会员卡号</em><br>                 <a>{$user.id}</a><br>             </span><br>         </strong><br>     </div> <br>     <p><span>使用时向服务员出示此卡</span></p> <br> </div> <br> <div> <br>     <div> <br>         <ul> <br>             <li> <br>                 <div> <p>账户</p> <span>{$user.money}</span> </div> <br>             </li> <br>             <li> <br>                 <div> <p>积分</p> <span>{$user.score}</span> </div> <br>             </li> <br>         </ul> <br>         <div></div> <br>     </div> <br>     <ul> <br>         <li><a><span>最新通知</span></a></li> <br>         <li><a><span>会员卡说明</span></a></li> <br>     </ul> <br>     <ul> <br>         <li><a><span>消费记录</span></a></li> <br>         <li><a><span>个人资料</span></a></li> <br>     </ul> <br>     <ul> <br>         <li><a><span>地址: {$config.address}</span></a></li> <br>         <li><a><span>电话: {$config.tel}</span></a></li> <br>     </ul> <br> </div> <br> <div>© 2014-2015 inuoer.com. All<br>     rights reserved.<br> </div> <br> <br> Config_index.html<section><br>     <h1> <br>         会员卡设置<br>         <small></small><br>     </h1> <br> </section><br> <br> <!-- Main content --><br> <section><br>     <div> <br>         <div> <br>             <!-- general form elements --><br>             <div> <br>                 <div> <br>                     <h3>会员卡设置</h3> <br>                 </div> <br>                 <!-- form start --><br>                 <form> <br>                     <div> <br>                         <div> <br>                             <label>最新通知链接</label><br> <br>                             <div> <br>                                 <input>                                        value="{$config.notify_url}"<br>                                        type="text"><br>                             </div> <br>                         </div> <br>                         <div> <br>                             <label>地址</label><br> <br>                             <div> <br>                                 <input>                                        value="{$config.address}"<br>                                        type="text"><br>                             </div> <br>                         </div> <br> <br>                         <div> <br>                             <label>电话</label><br> <br>                             <div> <br>                                 <input>                                        type="text"><br>                             </div> <br>                         </div> <br> <br>                         <div> <br>                             <label>会员卡说明链接</label><br> <br>                             <div> <br>                                 <input>                                        type="text"><br>                             </div> <br>                         </div> <br> <br>                         <div> <br>                             <label>备注</label><br> <br>                             <div> <br>                                 <input>                                        type="text"><br>                             </div> <br>                         </div> <br>                     </div> <br>                     <!-- /.box-body --><br> <br>                     <div> <br>                         <div> <br>                             <button>保存</button><br>                         </div> <br>                     </div> <br>                 </form> <br>             </div> <br>             <!-- /.box --><br> <br>         </div> <br>         <!--/.col (right) --><br>     </div> <br> </section>IndexController.class.php<?php <br /> namespace Addons\Card\Controller;<br> <br> class IndexController extends InitController<br> {<br>     public function index()<br>     {<br>         $user = R("App/Public/oauthLogin");<br>         $this->assign("user", $user);<br> <br>         $config = M("AddonCardConfig")->find();<br>         $this->assign("config", $config);<br>         $this->display('', false);<br>     }<br> }代码来源: www.wemallshop.com
WeMall微信商城源码插件会员卡代码详情

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn