mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-08 22:40:43 +08:00
订单新增货币
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<view class="item spacing-mt bg-white {{item.is_operable == 0 ? 'item-disabled' : ''}}" style="border:1px solid {{item.bg_color_value}};">
|
||||
<view class="v-left fl">
|
||||
<view class="base single-text" style="color:{{item.bg_color_value}};">
|
||||
<text a:if="{{item.type == 0}}" class="symbol">{{price_symbol}}</text>
|
||||
<text a:if="{{item.type == 0}}" class="symbol">{{currency_symbol}}</text>
|
||||
<text class="price">{{item.discount_value}}</text>
|
||||
<text class="unit">{{item.type_unit}}</text>
|
||||
<text a:if="{{(item.desc || null) != null}}" class="desc cr-888">{{item.desc}}</text>
|
||||
|
||||
@ -12,7 +12,7 @@ Page({
|
||||
temp_coupon_receive_value: null,
|
||||
|
||||
// 基础配置
|
||||
price_symbol: app.data.price_symbol,
|
||||
currency_symbol: app.data.currency_symbol,
|
||||
},
|
||||
|
||||
onShow() {
|
||||
@ -27,7 +27,7 @@ Page({
|
||||
init_config(status) {
|
||||
if((status || false) == true) {
|
||||
this.setData({
|
||||
price_symbol: app.get_config('price_symbol'),
|
||||
currency_symbol: app.get_config('currency_symbol'),
|
||||
});
|
||||
} else {
|
||||
app.is_config(this, 'init_config');
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<view class="item spacing-mt bg-white" style="border:1px solid {{item.coupon.bg_color_value}};">
|
||||
<view class="v-left fl">
|
||||
<view class="base single-text" style="color:{{item.coupon.bg_color_value}};">
|
||||
<text a:if="{{item.coupon.type == 0}}" class="symbol">{{price_symbol}}</text>
|
||||
<text a:if="{{item.coupon.type == 0}}" class="symbol">{{currency_symbol}}</text>
|
||||
<text class="price">{{item.coupon.discount_value}}</text>
|
||||
<text class="unit">{{item.coupon.type_unit}}</text>
|
||||
<text a:if="{{(item.coupon.desc || null) != null}}" class="desc cr-888">{{item.coupon.desc}}</text>
|
||||
@ -38,7 +38,7 @@
|
||||
<view class="item spacing-mt bg-white item-disabled">
|
||||
<view class="v-left fl">
|
||||
<view class="base single-text">
|
||||
<text a:if="{{item.coupon.type == 0}}" class="symbol">{{price_symbol}}</text>
|
||||
<text a:if="{{item.coupon.type == 0}}" class="symbol">{{currency_symbol}}</text>
|
||||
<text class="price">{{item.coupon.discount_value}}</text>
|
||||
<text class="unit">{{item.type_unit}}</text>
|
||||
<text a:if="{{(item.coupon.desc || null) != null}}" class="desc cr-888">{{item.coupon.desc}}</text>
|
||||
@ -60,7 +60,7 @@
|
||||
<view class="item spacing-mt bg-white item-disabled">
|
||||
<view class="v-left fl">
|
||||
<view class="base single-text">
|
||||
<text a:if="{{item.coupon.type == 0}}" class="symbol">{{price_symbol}}</text>
|
||||
<text a:if="{{item.coupon.type == 0}}" class="symbol">{{currency_symbol}}</text>
|
||||
<text class="price">{{item.coupon.discount_value}}</text>
|
||||
<text class="unit">{{item.type_unit}}</text>
|
||||
<text a:if="{{(item.coupon.desc || null) != null}}" class="desc cr-888">{{item.coupon.desc}}</text>
|
||||
|
||||
@ -14,7 +14,7 @@ Page({
|
||||
nav_tabs_value: 'not_use',
|
||||
|
||||
// 基础配置
|
||||
price_symbol: app.data.price_symbol,
|
||||
currency_symbol: app.data.currency_symbol,
|
||||
},
|
||||
|
||||
onShow() {
|
||||
@ -29,7 +29,7 @@ Page({
|
||||
init_config(status) {
|
||||
if((status || false) == true) {
|
||||
this.setData({
|
||||
price_symbol: app.get_config('price_symbol'),
|
||||
currency_symbol: app.get_config('currency_symbol'),
|
||||
});
|
||||
} else {
|
||||
app.is_config(this, 'init_config');
|
||||
|
||||
@ -92,17 +92,12 @@ Page({
|
||||
if ((this.data.extraction || null) == null) {
|
||||
return false;
|
||||
}
|
||||
var data = this.data.extraction;
|
||||
|
||||
var ads = this.data.extraction;
|
||||
var lng = parseFloat(ads.lng || 0);
|
||||
var lat = parseFloat(ads.lat || 0);
|
||||
my.openLocation({
|
||||
latitude: lat,
|
||||
longitude: lng,
|
||||
scale: 18,
|
||||
name: ads.alias || '',
|
||||
address: (ads.province_name || '') + (ads.city_name || '') + (ads.county_name || '') + (ads.address || ''),
|
||||
});
|
||||
// 打开地图
|
||||
var name = data.alias || '';
|
||||
var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || '');
|
||||
app.open_location(data.lng, data.lat, name, address);
|
||||
},
|
||||
|
||||
// 进入取货订单管理
|
||||
|
||||
@ -26,25 +26,25 @@
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">返佣总额</view>
|
||||
<view class="value single-text">
|
||||
<text class="golden">{{price_symbol}}{{user_profit_total_price || '0.00'}}</text>
|
||||
<text class="golden">{{currency_symbol}}{{user_profit_total_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">待生效</view>
|
||||
<view class="value single-text">
|
||||
<text class="yellow">{{price_symbol}}{{user_profit_stay_price || '0.00'}}</text>
|
||||
<text class="yellow">{{currency_symbol}}{{user_profit_stay_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">待结算</view>
|
||||
<view class="value single-text">
|
||||
<text class="blue">{{price_symbol}}{{user_profit_vaild_price || '0.00'}}</text>
|
||||
<text class="blue">{{currency_symbol}}{{user_profit_vaild_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">已结算</view>
|
||||
<view class="value single-text">
|
||||
<text class="green">{{price_symbol}}{{user_profit_already_price || '0.00'}}</text>
|
||||
<text class="green">{{currency_symbol}}{{user_profit_already_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -14,7 +14,7 @@ Page({
|
||||
profit_data: null,
|
||||
|
||||
// 基础配置
|
||||
price_symbol: app.data.price_symbol,
|
||||
currency_symbol: app.data.currency_symbol,
|
||||
},
|
||||
|
||||
onShow() {
|
||||
@ -31,7 +31,7 @@ Page({
|
||||
init_config(status) {
|
||||
if((status || false) == true) {
|
||||
this.setData({
|
||||
price_symbol: app.get_config('price_symbol'),
|
||||
currency_symbol: app.get_config('currency_symbol'),
|
||||
});
|
||||
} else {
|
||||
app.is_config(this, 'init_config');
|
||||
|
||||
@ -26,19 +26,19 @@
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">返佣总金额</view>
|
||||
<view class="value single-text">
|
||||
<text class="golden">{{price_symbol}}{{user_profit_total_price || '0.00'}}</text>
|
||||
<text class="golden">{{currency_symbol}}{{user_profit_total_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">待结算金额</view>
|
||||
<view class="value single-text">
|
||||
<text class="yellow">{{price_symbol}}{{user_profit_stay_price || '0.00'}}</text>
|
||||
<text class="yellow">{{currency_symbol}}{{user_profit_stay_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item fl">
|
||||
<view class="name cr-666">已结算金额</view>
|
||||
<view class="value single-text">
|
||||
<text class="green">{{price_symbol}}{{user_profit_already_price || '0.00'}}</text>
|
||||
<text class="green">{{currency_symbol}}{{user_profit_already_price || '0.00'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -13,7 +13,7 @@ Page({
|
||||
profit_data: null,
|
||||
|
||||
// 基础配置
|
||||
price_symbol: app.data.price_symbol,
|
||||
currency_symbol: app.data.currency_symbol,
|
||||
},
|
||||
|
||||
onShow() {
|
||||
@ -30,7 +30,7 @@ Page({
|
||||
init_config(status) {
|
||||
if((status || false) == true) {
|
||||
this.setData({
|
||||
price_symbol: app.get_config('price_symbol'),
|
||||
currency_symbol: app.get_config('currency_symbol'),
|
||||
});
|
||||
} else {
|
||||
app.is_config(this, 'init_config');
|
||||
|
||||
Reference in New Issue
Block a user