Commit edcb51a7 by 高淑倩

详情

parent 6d8d9ddf
{"tabs":["file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.js","file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.json","file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.axml","file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.acss"],"current":"file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.js"}
\ No newline at end of file
{"tabs":["file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.js","file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.axml"],"current":"file:///f%3A/code/7_Eleven_Alipay/pages/pointDetail/pointDetail.axml"}
\ No newline at end of file
{"files":["f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.js","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.acss","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.json","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.axml","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.axml","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.json","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.js","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.acss","f:\\code\\7_Eleven_Alipay\\utils\\helper.js","f:\\code\\7_Eleven_Alipay\\utils\\wxService.js","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.js","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\tools.wxs","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.axml","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.acss","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.json","f:\\code\\7_Eleven_Alipay\\app.json","f:\\code\\7_Eleven_Alipay\\utils\\Http.js","f:\\code\\7_Eleven_Alipay\\utils\\util.js","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.axml","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.js","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.json","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.acss","f:\\code\\7_Eleven_Alipay\\wx2my.js","f:\\code\\7_Eleven_Alipay\\project.config.json","f:\\code\\7_Eleven_Alipay\\package-lock.json","f:\\code\\7_Eleven_Alipay\\Behavior.js","f:\\code\\7_Eleven_Alipay\\app.js","f:\\code\\7-Eleven\\src_output\\utils\\util.js","f:\\code\\7-Eleven\\src_output\\component\\authorization-modal\\authorization-modal.js","f:\\code\\7-Eleven\\src_output\\pages\\userCenter\\userCenter.js","f:\\code\\7-Eleven\\src_output\\utils\\wxService.js","f:\\code\\7-Eleven\\src_output\\app.js","f:\\code\\7-Eleven\\src_output\\component\\authorization-modal\\authorization-modal.axml","f:\\code\\7-Eleven\\src_output\\component\\bottom\\bottom.axml","f:\\code\\7-Eleven\\src_output\\component\\bottom\\bottom.acss","f:\\code\\7-Eleven\\src_output\\component\\bottom\\bottom.js","f:\\code\\7-Eleven\\src_output\\utils\\common.js","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\h5\\h5page.js","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\h5\\h5page.axml","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\h5\\h5page.json","f:\\code\\7-Eleven\\src_output\\component\\imageSwiper\\imageSwiper.js","f:\\code\\7-Eleven\\src_output\\component\\imageSwiper\\imageSwiper.axml","f:\\code\\7-Eleven\\src_output\\component\\imageSwiper\\imageSwiper.acss","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\subPage\\subPage.js","f:\\code\\7-Eleven\\src_output\\pages\\mySpend\\mySpend.js","f:\\code\\7-Eleven\\src_output\\pages\\mySpend\\mySpend.axml","f:\\code\\7-Eleven\\src_output\\pages\\mySpend\\mySpend.acss","f:\\code\\7-Eleven\\src_output\\pages\\IntegralMall\\IntegralMall.acss","f:\\code\\7-Eleven\\src_output\\app.json","f:\\code\\7-Eleven\\src_output\\pages\\IntegralMall\\IntegralMall.json"]}
\ No newline at end of file
{"files":["f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\tools.wxs","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\tools.wxs","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.axml","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.js","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.acss","f:\\code\\7_Eleven_Alipay\\pages\\pointDetail\\pointDetail.json","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.axml","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.json","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.js","f:\\code\\7_Eleven_Alipay\\component\\statusPoint\\statusPoint.acss","f:\\code\\7_Eleven_Alipay\\utils\\helper.js","f:\\code\\7_Eleven_Alipay\\utils\\wxService.js","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.js","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.axml","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.acss","f:\\code\\7_Eleven_Alipay\\pages\\pointList\\pointList.json","f:\\code\\7_Eleven_Alipay\\app.json","f:\\code\\7_Eleven_Alipay\\utils\\Http.js","f:\\code\\7_Eleven_Alipay\\utils\\util.js","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.axml","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.js","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.json","f:\\code\\7_Eleven_Alipay\\component\\authorization-modal\\authorization-modal.acss","f:\\code\\7_Eleven_Alipay\\wx2my.js","f:\\code\\7_Eleven_Alipay\\project.config.json","f:\\code\\7_Eleven_Alipay\\package-lock.json","f:\\code\\7_Eleven_Alipay\\Behavior.js","f:\\code\\7_Eleven_Alipay\\app.js","f:\\code\\7-Eleven\\src_output\\utils\\util.js","f:\\code\\7-Eleven\\src_output\\component\\authorization-modal\\authorization-modal.js","f:\\code\\7-Eleven\\src_output\\pages\\userCenter\\userCenter.js","f:\\code\\7-Eleven\\src_output\\utils\\wxService.js","f:\\code\\7-Eleven\\src_output\\app.js","f:\\code\\7-Eleven\\src_output\\component\\authorization-modal\\authorization-modal.axml","f:\\code\\7-Eleven\\src_output\\component\\bottom\\bottom.axml","f:\\code\\7-Eleven\\src_output\\component\\bottom\\bottom.acss","f:\\code\\7-Eleven\\src_output\\component\\bottom\\bottom.js","f:\\code\\7-Eleven\\src_output\\utils\\common.js","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\h5\\h5page.js","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\h5\\h5page.axml","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\h5\\h5page.json","f:\\code\\7-Eleven\\src_output\\component\\imageSwiper\\imageSwiper.js","f:\\code\\7-Eleven\\src_output\\component\\imageSwiper\\imageSwiper.axml","f:\\code\\7-Eleven\\src_output\\component\\imageSwiper\\imageSwiper.acss","f:\\code\\7-Eleven\\src_output\\subPackage\\page\\pages\\subPage\\subPage.js","f:\\code\\7-Eleven\\src_output\\pages\\mySpend\\mySpend.js","f:\\code\\7-Eleven\\src_output\\pages\\mySpend\\mySpend.axml","f:\\code\\7-Eleven\\src_output\\pages\\mySpend\\mySpend.acss","f:\\code\\7-Eleven\\src_output\\pages\\IntegralMall\\IntegralMall.acss","f:\\code\\7-Eleven\\src_output\\app.json"]}
\ No newline at end of file
<!--pages/userCenter.axml-->
<view a:if="{{!orderList.length}}" class="detail-list-no">还没有任何消费记录</view>
<view class="page-mySpend" a:if="{{orderList.length}}">
<scroll-view scroll-y onScrollToLower="bindDownLoad">
<view
class="spend-wrap"
a:for="{{orderList}}"
a:for-item="item"
a:for-index="k"
a:key="{{k}}"
>
<view
class="spend-list"
data-order-no="{{item.orderNo}}"
onTap="goDetail"
>
<view class="spend-id fs-22">订单编号:{{item.orderNo}}</view>
<view class="spend-time fs-25">消费时间:{{item.payTime}}</view>
<view class="spend-shop fs-25">消费门店:{{item.storeName}}</view>
<view class="spend-status fs-22">交易成功</view>
</view>
</view>
</scroll-view>
<view class="no-bottom">
<no-more a:if="{{noMore}}"/>
</view>
</view>
\ No newline at end of file
<wxs src="./tools.wxs" module="tools" />
<status-img imgHeight="{{imgHeight}}" img="{{detailImage}}" currentStatus="{{currentStatus}}" currentTimeStatus="{{currentTimeStatus}}"/>
view class="detail-info border_box" wx:if="{{goal}}">
<view class="info-top weui-flex df-j--bt">
<view class="info-num">
进度:
<!--可领取次数_surplusExchangeCount 存在 3/3 不存在 0/3 -->
<span wx:if="{{countObj.surplusExchangeCount}}">
<!-- 被整除 是 显示目标集点 否 显示余数-->
<text class="point_color" wx:if="{{tools.parse(countObj.totalPoints % goal) == 0}}"> {{goal}}</text>
<text class="point_color" wx:else> {{countObj.totalPoints ? tools.parse(countObj.totalPoints % goal) : 0}}</text>
</span>
<text class="point_color" wx:else> {{countObj.totalPoints ? tools.parse(countObj.totalPoints % goal) : 0}}</text>
/ {{goal}}
</view>
<view class="info-ready-num">
<!-- 已达成次数 总集点数/目标节点 取整 -->
已达成 {{countObj.totalPoints ? tools.parse(countObj.totalPoints / goal) : 0}} 次
</view>
</view>
<view class="info-progress border_box">
<!-- <x-progress-point
active-color='#3EEB9A, #04C25C'
percent='{{currentPercent != null ? currentPercent : 0}}'
stroke-width='20'
radius='20'
/>-->
<x-progress-image goal="{{goal}}" iconImageFinsh="{{iconImageFinsh}}" iconImage="{{iconImage}}" AvailableNum="{{countObj.surplusExchangeCount}}" showRemNum="{{countObj.totalPoints ? tools.parse(countObj.totalPoints % goal) : 0}}" showNum="{{tools.parse(countObj.totalPoints % goal) == 0}}"/>
</view>
<!-- 活动剩余点数 >= 目标点数 wx:if="{{countObj.surplusPoints >= goal}}"-->
<button
hidden="{{hideGetBtn}}"
bindtap="handleToGet"
class="info-status-btn border_box available breathe-btn"
disabled="{{isDisabled}}"
>可领取奖励
<text class="total-points"> {{countObj.surplusExchangeCount}} </text>
</button>
<view hidden="{{showGetBtn}}" class="info-status-btn unacommpolished border_box">
还未达成,继续加油呀
</view>
</view>
<view class="detail-desc">
<view class="detail-active point_color" bindtap="handleCheckGoods" wx:if="{{type == 1}}">查看活动商品 ></view>
<view class='integral-list' wx:for="{{desc}}" wx:key="{{index}}">
<text class='integral-title'>{{item.title}}</text>
<text class='integral-desc wpl'>{{item.value}}</text>
</view>
</view>
<x-dialog
dialog="{{dialog}}"
bind:handleGo="handleGo"
bind:_closeDialog="_closeDialog"
show="{{dialog.show}}"
/>
<authorization-modal-point isAuthorization='{{isAuthorization}}'/>
function parse (str) {
return parseInt(str);
};
function isNaN(str) {
return isNaN(str);
};
function isFinite(str) {
return isFinite(str)
}
module.exports = {
parse: parse,
isNaN: isNaN,
isFinite: isFinite
}
\ No newline at end of file
var parse = function(str) {
return parseInt(str);
};
module.exports = {
parse: parse
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment