作者 v_bairong06

pc及手机端问题修改

... ... @@ -16,20 +16,20 @@
<div class="span9">
<table class="table table-bordered">
<tr>
<th width="80">分类</th>
<th width="200">分类</th>
<td>
<select style="max-height: 100px;" name="post[sort_id]">{$taxonomys}</select>
</td>
</tr>
<tr>
<th width="80">传承人名称</th>
<th>传承人名称</th>
<td>
<input type="text" style="width:400px;" name="post[name]" id="name" required placeholder="请输入传承人名称"/>
<span class="form-required">*</span>
</td>
</tr>
<tr>
<th width="80">性别</th>
<th>性别</th>
<td>
<select style="max-height: 100px;" name="post[sex]">
<option value="1"></option>
... ... @@ -38,14 +38,14 @@
</td>
</tr>
<tr>
<th width="80">出生日期</th>
<th>出生日期</th>
<td>
<input type="text" name="post[birth]" class="js-date" autocomplete="off">
<span class="form-required">*</span>
</td>
</tr>
<tr>
<th width="80">级别</th>
<th>级别</th>
<td>
<select style="max-height: 100px;" name="post[level]">
<volist name="level" id="vo">
... ... @@ -55,7 +55,7 @@
</td>
</tr>
<tr>
<th width="80">区域</th>
<th>区域</th>
<td>
<select style="max-height: 100px;" name="post[region]">
<volist name="region" id="vo">
... ... @@ -65,7 +65,7 @@
</td>
</tr>
<tr>
<th width="80">民族</th>
<th>民族</th>
<td>
<select style="max-height: 100px;" name="post[nation]">
<volist name="nation" id="vo">
... ... @@ -75,6 +75,12 @@
</td>
</tr>
<tr>
<th>传承人描述(首页介绍使用)</th>
<td>
<textarea id="description" name="post[description]"></textarea>
</td>
</tr>
<tr>
<th>详情内容</th>
<td>
<script type="text/plain" id="content" name="post[content]"></script>
... ...
... ... @@ -17,13 +17,13 @@
<div class="span9">
<table class="table table-bordered">
<tr>
<th width="80">分类</th>
<th width="200">分类</th>
<td>
<select style="max-height: 100px;" name="post[sort_id]">{$taxonomys}</select>
</td>
</tr>
<tr>
<th width="80">传承人名称</th>
<th>传承人名称</th>
<td>
<input type="text" style="width:400px;" name="post[name]" id="name" value="{$info.name}" required placeholder="请输入传承人名称"/>
<span class="form-required">*</span>
... ... @@ -31,7 +31,7 @@
</td>
</tr>
<tr>
<th width="80">性别</th>
<th>性别</th>
<td>
<select style="max-height: 100px;" name="post[sex]">
<option value="1"></option>
... ... @@ -40,14 +40,14 @@
</td>
</tr>
<tr>
<th width="80">出生日期</th>
<th>出生日期</th>
<td>
<input type="text" name="post[birth]" class="js-date" value="{$info['birth']}" autocomplete="off">
<span class="form-required">*</span>
</td>
</tr>
<tr>
<th width="80">级别</th>
<th>级别</th>
<td>
<select style="max-height: 100px;" name="post[level]">
<volist name="level" id="vo">
... ... @@ -57,7 +57,7 @@
</td>
</tr>
<tr>
<th width="80">区域</th>
<th>区域</th>
<td>
<select style="max-height: 100px;" name="post[region]">
<volist name="region" id="vo">
... ... @@ -67,7 +67,7 @@
</td>
</tr>
<tr>
<th width="80">民族</th>
<th>民族</th>
<td>
<select style="max-height: 100px;" name="post[nation]">
<volist name="nation" id="vo">
... ... @@ -77,6 +77,12 @@
</td>
</tr>
<tr>
<th>传承人描述(首页介绍使用)</th>
<td>
<textarea id="description" name="post[description]">{$info.description}</textarea>
</td>
</tr>
<tr>
<th>详情内容</th>
<td>
<script type="text/plain" id="content" name="post[content]">{$info.content}</script>
... ...
... ... @@ -27,6 +27,10 @@ class MemberbaseController extends HomebaseController{
$this->user_model=D("Common/User");
$this->user=$this->user_model->where(array("id"=>$this->userid))->find();
}
// 获取未读站内信
$read = M('MessageUserLog')->where(array('user_id'=>$this->userid))->getField('message_id',true);
$unread = M('Message')->where(array('userids'=>array('like','%'.$this->userid.'%'),'id'=>array('not in',$read)))->count();
$this->assign('unread',$unread);
$this->user['mobile'] = substr_replace($this->user['mobile'],'****',3,4);
$this->assign($this->user);
}
... ...
... ... @@ -39,8 +39,8 @@ class AdminChanceEventsController extends AdminbaseController {
if(!$this->chance_events_model->create($info)) {
$this->error($this->chance_events_model->getError());
}
if($info['is_pay'] == 1 && !$info['price']) {
$this->error("报名费用不能为空");
if($info['is_pay'] == 1 && $info['price'] <= 0) {
$this->error("报名费用需大于0");
} else {
$info['price'] = 0;
}
... ... @@ -68,6 +68,11 @@ class AdminChanceEventsController extends AdminbaseController {
$info = I('post.post');
$info['content'] = htmlspecialchars_decode($info['content']);
$info['utime'] = time();
if($info['is_pay'] == 1 && $info['price'] <= 0) {
$this->error("报名费用需大于0");
} else {
$info['price'] = 0;
}
if ($this->chance_events_model->create($info)!==false) {
if ($this->chance_events_model->where(array('id'=>$id))->save($info)!==false) {
$this->success("修改成功!");
... ...
... ... @@ -59,6 +59,9 @@ class AdminTrainController extends AdminbaseController {
$info['sort'] = 1;
$info['content'] = htmlspecialchars_decode($info['content']);
$info['ctime'] = time();
if($info['price'] <= 0) {
$this->error("报名费用需大于0");
}
if(!$this->train_model->create($info)) {
$this->error($this->train_model->getError());
}
... ... @@ -78,6 +81,9 @@ class AdminTrainController extends AdminbaseController {
$info['sort'] = 2;
$info['content'] = htmlspecialchars_decode($info['content']);
$info['ctime'] = time();
if($info['price'] <= 0) {
$this->error("报名费用需大于0");
}
if(!$this->train_model->create($info)) {
$this->error($this->train_model->getError());
}
... ... @@ -97,6 +103,9 @@ class AdminTrainController extends AdminbaseController {
$info['sort'] = 3;
$info['content'] = htmlspecialchars_decode($info['content']);
$info['ctime'] = time();
if($info['price'] <= 0) {
$this->error("报名费用需大于0");
}
if(!$this->train_model->create($info)) {
$this->error($this->train_model->getError());
}
... ... @@ -141,6 +150,9 @@ class AdminTrainController extends AdminbaseController {
$info['sort'] = 1;
$info['content'] = htmlspecialchars_decode($info['content']);
$info['utime'] = time();
if($info['price'] <= 0) {
$this->error("报名费用需大于0");
}
if ($this->train_model->create($info)!==false) {
if ($this->train_model->where(array('id'=>$id))->save($info)!==false) {
$this->success("修改成功!");
... ... @@ -161,6 +173,9 @@ class AdminTrainController extends AdminbaseController {
$info['sort'] = 2;
$info['content'] = htmlspecialchars_decode($info['content']);
$info['utime'] = time();
if($info['price'] <= 0) {
$this->error("报名费用需大于0");
}
if ($this->train_model->create($info)!==false) {
if ($this->train_model->where(array('id'=>$id))->save($info)!==false) {
$this->success("修改成功!");
... ... @@ -181,6 +196,9 @@ class AdminTrainController extends AdminbaseController {
$info['sort'] = 3;
$info['content'] = htmlspecialchars_decode($info['content']);
$info['utime'] = time();
if($info['price'] <= 0) {
$this->error("报名费用需大于0");
}
if ($this->train_model->create($info)!==false) {
if ($this->train_model->where(array('id'=>$id))->save($info)!==false) {
$this->success("修改成功!");
... ...
... ... @@ -13,10 +13,16 @@ use Common\Controller\AdminbaseController;
class AdminWillMissionController extends AdminbaseController {
protected $will_mission_model;
protected $will_mission_prize_model;
protected $will_mission_apply_model;
protected $user_model;
function _initialize() {
parent::_initialize();
$this->will_mission_model = D("Common/WillMission");
$this->will_mission_prize_model = D("Common/WillMissionPrize");
$this->will_mission_apply_model = D("Common/WillMissionApply");
$this->user_model = D("Common/User");
}
// 活动赛事列表
... ... @@ -129,6 +135,17 @@ class AdminWillMissionController extends AdminbaseController {
if(!$result) {
$this->error('公示失败');
}
$winners = $this->will_mission_prize_model->where(array('mid'=>$id))->getField('winners',true);
$winnerids = implode(',',$winners);
$apply = $this->will_mission_apply_model->where(array('id'=>array('in',$winnerids)))->select();
foreach ($apply as $k=>$v) {
$level = $this->will_mission_prize_model->where(array('mid'=>$v['mid'],'user_id'=>array('like','%'.$v['user_id'].'%')))->getField('level');
$message['title'] = '投稿公示通知';
$message['description'] = $info['content'] = '恭喜您参加的任务发布:'.$info['name'].'获得了'.$level;
$message['userids'] = $v['user_id'];
$message['ctime'] = time();
M('Message')->add($message);
}
$this->success('公示成功');
}
... ...
... ... @@ -135,11 +135,21 @@ class AlipayController extends HomebaseController {
$order_detail_model = D('Common/OrderDetail');
$orderDetailList = $order_detail_model->where(array('order_sn'=>$data['out_trade_no']))->select();
$goods_model = D('Common/Goods');
$stock = true;
foreach($orderDetailList as $k=>$v) {
if(!$goods_model->where(array('id'=>$v['goods_id']))->setDec('num',$v['num'])) {
$stock = false;
M('Order')->rollback();
}
}
if($stock) {
$message['title'] = '订单成功支付通知';
$message['description'] = '您的订单:'.$orderInfo['order_sn'].'已成功支付,请等待商家发货';
$message['content'] = '您的订单:'.$orderInfo['order_sn'].'已成功支付,请等待商家发货';
$message['userids'] = $orderInfo['user_id'];
$message['ctime'] = time();
M('Message')->add($message);
}
}
M('Order')->commit();
redirect(U('User/Center/index'));
... ...
... ... @@ -50,13 +50,23 @@ class NotifyController extends HomebaseController {
}
} else {
$order_detail_model = D('Common/OrderDetail');
$orderDetailList = $order_detail_model->where(array('order_sn'=>$data['out_trade_no']))->select();
$orderDetailList = $order_detail_model->where(array('order_sn'=>$orderInfo['order_sn']))->select();
$goods_model = D('Common/Goods');
$stock = true;
foreach($orderDetailList as $k=>$v) {
if(!$goods_model->where(array('id'=>$v['goods_id']))->setDec('num',$v['num'])) {
$stock = false;
M('Order')->rollback();
}
}
if($stock) {
$message['title'] = '订单成功支付通知';
$message['description'] = '您的订单:'.$orderInfo['order_sn'].'已成功支付,请等待商家发货';
$message['content'] = '您的订单:'.$orderInfo['order_sn'].'已成功支付,请等待商家发货';
$message['userids'] = $orderInfo['user_id'];
$message['ctime'] = time();
M('Message')->add($message);
}
}
M('Order')->commit();
// $pay_log_model = D('Common/PayLog');
... ...
... ... @@ -119,7 +119,7 @@ class SuccessorController extends HomebaseController {
$count = $this->successor_model->count();
$page = $this->pages($count, 1);
$page = $this->pages($count, 9);
$posts = $this->successor_model
->where($where)
... ...
... ... @@ -63,13 +63,13 @@ class WillController extends HomebaseController {
$list[$k]['type_mobile'] = '<div class="list_notice">获奖公示</div>';
$list[$k]['footer'] = '<a href="'.U('Will/mission_detail', array('id'=>$v['id'])).'" class="t-link">活动详情></a>';
} else {
if($v['endtime'] >= time()) {
if($v['starttime'] <= date('Y-m-d',time()) && $v['endtime'] >= date('Y-m-d',time())) {
$list[$k]['type'] = '<div class="task-status t-ing"><span>投稿中</span></div>';
$list[$k]['type_mobile'] = '<div class="list_notice">投稿中</div>';
$list[$k]['footer'] = '<a href="#myModal1" data-toggle="modal" class="btn-contribute"><span>投稿</span></a>
<a href="'.U('Will/mission_detail', array('id'=>$v['id'])).'" class="t-link t-abs-link">活动详情></a>';
}
if($v['endtime'] < time()) {
if($v['endtime'] < date('Y-m-d',time())) {
$list[$k]['type'] = '<div class="task-status t-ed"><span>选稿中</span></div>';
$list[$k]['type_mobile'] = '<div class="list_notice">选稿中</div>';
$list[$k]['footer'] = '<a href="'.U('Will/mission_detail', array('id'=>$v['id'])).'" class="t-link">活动详情></a>';
... ... @@ -136,7 +136,9 @@ class WillController extends HomebaseController {
// 奖项列表
$prizeList = $this->will_mission_prize_model->where(array('mid'=>$info['id']))->select();
foreach($prizeList as $k=>$v) {
$prizeList[$k]['prizeUser'] = $this->will_mission_apply_model->where(array('is_del'=>0,'id'=>array('in',$v['winners'])))->getField('name',true);
if($v['winners']) {
$prizeList[$k]['prizeUser'] = $this->will_mission_apply_model->where(array('is_del'=>0,'id'=>array('in',$v['winners'])))->getField('name',true);
}
}
$this->assign('prizeList',$prizeList);
$this->assign($info);
... ...
... ... @@ -43,7 +43,6 @@
<input type="text" name="mobile" placeholder="手机号">
</div>
<div class="slt-container lf">
<span>年级</span>
<select name="classes" id="slt_0">
<option selected>年级</option>
<option>一年级</option>
... ...
... ... @@ -8,7 +8,6 @@
<link href="__TMPL__Public/assets/css/common.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__Public/assets/css/flexslider.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__Public/assets/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<tc_include file="Public:header" />
... ... @@ -71,11 +70,7 @@
</div>
<div class="inher-desc">
<div class="inher-content">
江再红,女、汉族、国家级非物质文化遗产湘绣代表性传承人、 中国工艺美术大师
长沙市非物质文化遗产保护协会会长自从事湘绣以来,江老师将自己的艺术天赋创作灵感和情感世界与湘绣艺术融为一体
技艺日益娴熟,艺境不断升华。继承和创新了湘绣独特针法“毛针”。其代表作《雄狮》《天伦之乐》《晨雾荷花》
《狮啸雄风》创下了这一传统针法施绣狮虎题材 “连中四元”的业界佳话。江再红老师
凭借其高超的技艺多次代表国家参加世界各地的文化艺术展览,并屡获奖项。
{$vo.description}
</div>
</div>
</div>
... ...
<!--侧边-->
<style>
.edage {
position: absolute;
top: 40%;
right: 50px;
transform: translateY(-50%);
width: 20px;
height: 20px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
background-color: #ec3934;
line-height: 20px;
text-align: center;
font-size: 12px;
color: #FFF;
}
</style>
<div class="mm-sidebar">
<div class="mm-avatar">
<img src="{:sp_get_image_preview_url($avatar)}"/>
... ... @@ -38,8 +56,11 @@
<li class="{$apply}">
<a href="{:U('User/Apply/index')}" class="mm-nav-item"><img src="__TMPL__Public/assets/images/my_leftmenu_icon8.png"/>我的申请</a>
</li>
<li class="{$message}">
<li class="{$message}" style="position: relative;">
<a href="{:U('User/Message/index')}" class="mm-nav-item"><img src="__TMPL__Public/assets/images/my_leftmenu_icon9.png"/>站内信</a>
<div class="edage">
{$unread}
</div>
</li>
<li class="{$policy}">
<a href="{:U('User/Center/returns')}" class="mm-nav-item"><img src="__TMPL__Public/assets/images/my_leftmenu_icon10.png"/>退换货</a>
... ...
... ... @@ -17,17 +17,18 @@
</div>
<div class="container">
<div class="head">
<php>
$home_slides=sp_getslide("wechat_shop_slide");
$home_slides=empty($home_slides)?$default_home_slides:$home_slides;
</php>
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic6.jpg" />
</div>
<div class="swiper-slide">
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic2.jpg" />
</div>
<div class="swiper-slide">
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic4.jpg" />
</div>
<volist name="home_slides" id="vo">
<div class="swiper-slide">
<img src="{:sp_get_image_preview_url($vo['slide_pic'])}" />
</div>
</volist>
</div>
<!-- 如果需要分页器 -->
<div class="swiper-pagination"></div>
... ... @@ -48,13 +49,20 @@
</a>
</volist>
</div>
<php>
$ad_left_slides=sp_getslide("wechat_ad_left");
$ad_left_slides=empty($ad_left_slides)?$default_home_slides:$ad_left_slides[0];
$ad_right_slides=sp_getslide("wechat_ad_right");
$ad_right_slides=empty($ad_right_slides)?$default_home_slides:$ad_right_slides;
</php>
<div class="hot">
<a href="">
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_ccr1.jpg" class="hot_left" />
<a href="{$ad_left_slides.slide_url}" target="_blank">
<img src="{:sp_get_image_preview_url($ad_left_slides['slide_pic'])}" class="hot_left" />
</a>
<div class="hot_right">
<a href=""><img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_ccr2.jpg" class="hot_right_top" /></a>
<a href=""><img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_ccr3.jpg" class="hot_right_top" /></a>
<volist name="ad_right_slides" id="vo">
<a href="{$vo.slide_url}" target="_blank"><img src="{:sp_get_image_preview_url($vo['slide_pic'])}" class="hot_right_top" /></a>
</volist>
</div>
</div>
<div class="list">
... ... @@ -62,10 +70,12 @@
<span class="list_head_title">
最新上架
</span>
<span class="list_head_mintitle">
<a href="{:U('Portal/Goods/sort_list')}">
<span class="list_head_mintitle">
全部商品
</span>
<i class="iconfont icon-arrows"></i>
<i class="iconfont icon-arrows"></i>
</a>
</div>
<div class="list_content">
<volist name="top" id="vo">
... ... @@ -107,17 +117,14 @@
function fenlei() {
window.location = "{:U('Portal/Goods/sort_list')}"
}
function personl() {
window.location = "{:U('User/Center/index')}"
}
function cart() {
window.location = "{:U('User/Cart/index')}"
}
function index() {
window.location = "{:U('Portal/Index/index')}"
window.location = "{:U('Portal/Goods/index')}"
}
window.onload = function() {
var mySwiper = new Swiper('.swiper-container', {
... ...
... ... @@ -86,7 +86,7 @@
window.location = "{:U('User/Cart/index')}"
}
function index() {
window.location = "{:U('Portal/Index/index')}"
window.location = "{:U('Portal/Goods/index')}"
}
window.onload = function() {
var mySwiper = new Swiper('.swiper-container', {
... ...
... ... @@ -130,10 +130,23 @@
<p>{$content}</p>
</div>
</div>
<div class="foot">
立即报名
<div class="foot will">立即报名</div>
<div id="dialogs">
<div class="js_dialog" id="iosDialog" style="display: none;">
<div class="weui-mask"></div>
<div class="weui-dialog">
<div class="weui-dialog__hd">
<strong class="weui-dialog__title">弹窗标题</strong>
</div>
<div class="weui-dialog__bd">弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内</div>
<div class="weui-dialog__ft">
<a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
</div>
</div>
</div>
</div>
</body>
<script src="__TMPL__Public/assets/js/myweui.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
// void function myindex(){
$(".allslide").text($(".swiper-slide").length);
... ... @@ -165,6 +178,21 @@
}
})
}
function dialog_wrap(bt,content) {
$('#dialogs').fadeIn();
$('.weui-dialog__title').html(bt);
$('.weui-dialog__bd').html(content)
}
$('.will').on('click', function(){
$('#iosDialog').fadeIn(200);
dialog_wrap('温馨提示','此栏目内容请登录pc端报名')
});
// $(function(){
$('.will').click(
$('#iosDialog').hide(),
dialog_wrap('温馨提示','此栏目内容请登录pc端报名')
)
// });
</script>
</html>
\ No newline at end of file
... ...
... ... @@ -43,31 +43,6 @@
</div>
</div>
</volist>
<!--<div class="main_list">-->
<!--<div class="list_notice">投稿中</div>-->
<!--<a href="Youth_Literary_Creation_res.html">-->
<!--<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic4.jpg" class="list_image" />-->
<!--</a>-->
<!--<div class="main_list_res">-->
<!--<div class="main_list_res_top">-->
<!--<p class="main_list_res_top_title">-->
<!--交流体验民俗活动-->
<!--</p>-->
<!--<p class="sign_up"></p>-->
<!--</div>-->
<!--<a href="Heritage_res.html">-->
<!--<div class="main_list_res_bottom">-->
<!--<div class="main_list_res_bottom_left">-->
<!--<div class="left_list">-->
<!--<i class="iconfont icon-fych_icon"></i>-->
<!--<p class="list_res">活动时间:2018.1.23-2018.2.23</p>-->
<!--</div>-->
<!--</div>-->
<!--<i class="iconfont icon-arrows"></i>-->
<!--</div>-->
<!--</a>-->
<!--</div>-->
<!--</div>-->
</div>
</div>
<div id="toast" style="display:none;">
... ...
... ... @@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="__TMPL__Public/assets/css/swiper-3.4.2.min.css" />
<link rel="stylesheet" type="text/css" href="__TMPL__Public/assets/css/Heritage_res.css" />
<script src="__TMPL__Public/assets/js/swiper-3.4.2.jquery.min.js" type="text/javascript" charset="utf-8"></script>
<title>活动报名</title>
<title>任务详情</title>
<style type="text/css">
.swiper-container {
width: 100%;
... ... @@ -160,8 +160,23 @@
<p>{$content}</p>
</div>
</div>
<div class="foot">立即报名</div>
<div class="foot will">立即投稿</div>
<div id="dialogs">
<div class="js_dialog" id="iosDialog" style="display: none;">
<div class="weui-mask"></div>
<div class="weui-dialog">
<div class="weui-dialog__hd">
<strong class="weui-dialog__title">弹窗标题</strong>
</div>
<div class="weui-dialog__bd">弹窗内容,告知当前状态、信息和解决方法,描述文字尽量控制在三行内</div>
<div class="weui-dialog__ft">
<a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
</div>
</div>
</div>
</div>
</body>
<script src="__TMPL__Public/assets/js/myweui.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
// void function myindex(){
$(".allslide").text($(".swiper-slide").length);
... ... @@ -192,7 +207,21 @@
$(".allslide").text($(".swiper-slide").length);
}
})
};
function dialog_wrap(bt,content) {
$('#dialogs').fadeIn();
$('.weui-dialog__title').html(bt);
$('.weui-dialog__bd').html(content)
}
$('.will').on('click', function(){
$('#iosDialog').fadeIn(200);
dialog_wrap('温馨提示','此栏目内容请登录pc端投稿')
});
// $(function(){
$('.will').click(
$('#iosDialog').hide(),
dialog_wrap('温馨提示','此栏目内容请登录pc端投稿')
)
// });
</script>
</html>
\ No newline at end of file
... ...
... ... @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<tc_include file="Public:common"/>
<link rel="stylesheet" type="text/css" href="__TMPL__Public/assets/css/Heritage.css" />
<title>活动列表</title>
<title>任务列表</title>
</head>
<body>
<div class="container">
... ...
... ... @@ -14,19 +14,21 @@
<p class="head_title">申请双创项目</p>
<i class="iconfont icon-arrows"></i>
</div>
<div class="main">
<a href="{:U('Will/produce_detail',array('id'=>$vo['id']))}">
<div class="main_list">
<img src="{:sp_get_asset_upload_path($vo['thumb'])}" class="main_card_img list_image"/>
<div class="main_list_res">
<div class="main_list_res_left">
<p class="title">{$vo.name}</p>
<p class="data">{$vo.description}</p>
<volist name="list" id="vo">
<div class="main">
<a href="{:U('Will/produce_detail',array('id'=>$vo['id']))}">
<div class="main_list">
<img src="{:sp_get_asset_upload_path($vo['thumb'])}" class="main_card_img list_image"/>
<div class="main_list_res">
<div class="main_list_res_left">
<p class="title">{$vo.name}</p>
<p class="data">{$vo.description}</p>
</div>
</div>
</div>
</div>
</a>
</div>
</a>
</div>
</volist>
</div>
<div id="toast" style="display:none;">
<div class="weui-mask_transparent"></div>
... ...
... ... @@ -38,20 +38,22 @@
</div>
</volist>
<div class="kong"></div>
<div class="heji">
<div class="all">
<div class="all_select"></div>
<span class="all_title">全选</span>
</div>
<div class="count">
<p class="count_mintitle">合计:</p>
<span class="_f">¥ </span>
<span class="all_price">0</span>
</div>
<div class="gopay" onclick="buying()">
去结算<i class="iconfont icon-arrows"></i>
<notempty name="cartList">
<div class="heji">
<div class="all">
<div class="all_select"></div>
<span class="all_title">全选</span>
</div>
<div class="count">
<p class="count_mintitle">合计:</p>
<span class="_f">¥ </span>
<span class="all_price">0</span>
</div>
<div class="gopay" onclick="buying()">
去结算<i class="iconfont icon-arrows"></i>
</div>
</div>
</div>
</notempty>
<div class="footer">
<div class="footer_list" onclick="index()">
<i class="iconfont icon-menu_icon_normal"></i>
... ...
... ... @@ -60,13 +60,13 @@
<notempty name="status.send"><span class="bz">{$status.send}</span></notempty>
</a>
<div class="main_select_line"></div>
<a href="{:U('User/Order/index',array('status'=>4))}" class="main_select_list">
<a href="{:U('User/Order/index',array('status'=>5))}" class="main_select_list">
<i class="iconfont icon-yiwancheng"></i>
<p class="list_title">已完成</p>
<notempty name="status.complete"><span class="bz">{$status.complete}</span></notempty>
</a>
<div class="main_select_line"></div>
<a href="{:U('User/Order/index',array('status'=>5))}" class="main_select_list">
<a href="{:U('User/Order/index',array('status'=>6))}" class="main_select_list">
<i class="iconfont icon-yiquxiao"></i>
<p class="list_title">已取消</p>
<notempty name="status.cancel"><span class="bz">{$status.cancel}</span></notempty>
... ... @@ -95,7 +95,7 @@
<p class="list_title">近期活动</p>
</a>
<div class="main_select_line"></div>
<a href="{:U('Portal/Will/product_list')}" class="main_select_list">
<a href="{:U('Portal/Will/produce_list')}" class="main_select_list">
<i class="iconfont icon-icon-test1"></i>
<p class="list_title">双创项目</p>
</a>
... ...