Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
bc54119f5d
@ -10,7 +10,7 @@
|
||||
FROM
|
||||
active_applet
|
||||
where
|
||||
store_id = #{activeApplet.storeId}
|
||||
store_id = #{activeApplet.storeId} and isonline = '0'
|
||||
GROUP BY
|
||||
type
|
||||
ORDER BY create_time,type desc
|
||||
@ -23,7 +23,7 @@
|
||||
FROM
|
||||
active_applet
|
||||
WHERE type = #{activeApplet.type}
|
||||
and store_id = #{activeApplet.storeId}
|
||||
and store_id = #{activeApplet.storeId} and isonline = '0'
|
||||
ORDER BY create_time desc
|
||||
</select>
|
||||
|
||||
|
@ -229,7 +229,7 @@ public class CardFuelDieselController extends BaseController {
|
||||
|
||||
activeApplet.setPoints(cardFuelDiesel.getPoints());
|
||||
if (cardFuelDiesel.getActiveStatus().equals("1")) activeApplet.setActiveStatus("2");
|
||||
if (cardFuelDiesel.getActiveStatus().equals("0")) activeApplet.setActiveStatus("1");
|
||||
if (cardFuelDiesel.getActiveStatus().equals("2")) activeApplet.setActiveStatus("1");
|
||||
activeApplet.setIsonline((cardFuelDiesel.getActiveStatus().equals("1")) ? "0" : "1");
|
||||
activeAppletService.updateById(activeApplet);
|
||||
return getSuccessResult(this.cardFuelDieselService.updateById(cardFuelDiesel));
|
||||
|
@ -7,179 +7,181 @@
|
||||
<view class="my-icons"></view>
|
||||
</view>
|
||||
<!-- 顶部区域 -->
|
||||
<view style="text-align: center;">
|
||||
<image src="../../static/imgs/xfyl.png" v-if="title == '消费有礼活动'"></image>
|
||||
<image src="../../static/imgs/zkyx.png" v-if="title == '折扣营销活动'"></image>
|
||||
<image src="../../static/imgs/mjyh.png" v-if="title == '满减营销活动'"></image>
|
||||
<image src="../../static/imgs/xryl.png" v-if="title == '新人有礼活动'"></image>
|
||||
<image src="../../static/imgs/yqyl.png" v-if="title == '推荐有礼活动'"></image>
|
||||
<image src="../../static/imgs/chongzhi.png" v-if="title == '储值卡充值活动'"></image>
|
||||
<image src="../../static/imgs/oilCard.png" v-if="title == '囤油卡充值活动'"></image>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '消费有礼活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time}}</view>
|
||||
<view style="height: 200px;!important">
|
||||
<view style="text-align: center;">
|
||||
<image src="../../static/imgs/xfyl.png" v-if="title == '消费有礼活动'"></image>
|
||||
<image src="../../static/imgs/zkyx.png" v-if="title == '折扣营销活动'"></image>
|
||||
<image src="../../static/imgs/mjyh.png" v-if="title == '满减营销活动'"></image>
|
||||
<image src="../../static/imgs/xryl.png" v-if="title == '新人有礼活动'"></image>
|
||||
<image src="../../static/imgs/yqyl.png" v-if="title == '推荐有礼活动'"></image>
|
||||
<image src="../../static/imgs/chongzhi.png" v-if="title == '储值卡充值活动'"></image>
|
||||
<image src="../../static/imgs/oilCard.png" v-if="title == '囤油卡充值活动'"></image>
|
||||
</view>
|
||||
<view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in item.oilName" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '消费有礼活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time}}</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得奖励:赠送{{item.points}}积分</view>
|
||||
<view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in item.oilName" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得奖励:赠送{{item.points}}积分</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '折扣营销活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time}}</view>
|
||||
</view>
|
||||
<view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in item.oilName" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '折扣营销活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.points}}积分</view>
|
||||
<view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in item.oilName" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
</view>
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.points}}积分</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '满减营销活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time}}</view>
|
||||
</view>
|
||||
<view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in item.oilName" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
</view>
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送10积分</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '储值卡充值活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间:{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '满减营销活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time}}</view>
|
||||
</view>
|
||||
<view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in item.oilName" :key="index">{{item}}</view>
|
||||
</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.points}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.growaValue}}成长值</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送10积分</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '囤油卡充值活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间:{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '储值卡充值活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间:{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.points}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.growaValue}}成长值</view>
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box" v-if="item.adaptUserType">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.points || 0}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.growaValue || 0}}成长值</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '囤油卡充值活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间:{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
<view class="h_bottom">
|
||||
<view class="dis-box" v-if="item.adaptUserType">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:{{item.adaptUserType}}</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '新人有礼活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time || ''}}</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.points || 0}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">获得折扣:赠送{{item.growaValue || 0}}成长值</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '新人有礼活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间</view>
|
||||
<view>{{item.time || ''}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view> -->
|
||||
<!-- <view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
<view class="h_bottom">
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:普通会员、银牌会员、V2</view>
|
||||
<!-- <view class="title-box">参与油品</view> -->
|
||||
<!-- <view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.points || ''}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.growaValue || ''}}成长值</view>
|
||||
<view class="h_bottom">
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:普通会员、银牌会员、V2</view>
|
||||
</view> -->
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.points || ''}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.growaValue || ''}}成长值</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '推荐有礼活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间:{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
<view class="h_bottom">
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:普通会员、银牌会员、V2</view>
|
||||
<view class="center-box" v-for="(item,index) in datas" :key="index" v-if="title == '推荐有礼活动'">
|
||||
<view class=" title-box">活动介绍</view>
|
||||
<view class="h_size">{{item.discountActiveDescribe || ""}}</view>
|
||||
<view class="box-bottom">
|
||||
<view class="">活动时间:{{item.time}}</view>
|
||||
</view>
|
||||
<!-- <view class="title-box">参与油品</view>
|
||||
<view class="w_box">
|
||||
<view class="w_oil" v-for="(item,index) in 3" :key="index">#95</view>
|
||||
</view> -->
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.points || ''}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.growaValue || ''}}成长值</view>
|
||||
<view class="h_bottom">
|
||||
<!-- <view class="dis-box">
|
||||
<view class="dian"></view>
|
||||
<view class="h_size">参与会员:普通会员、银牌会员、V2</view>
|
||||
</view> -->
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.points || ''}}积分</view>
|
||||
</view>
|
||||
<view class="dis-box">
|
||||
<view class="dian" style="background: #FA5E03;"></view>
|
||||
<view class="h_size">赠送{{item.growaValue || ''}}成长值</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
Reference in New Issue
Block a user