小程序优化

feat/task1-c-wallet
devil_gong 2019-11-05 16:49:31 +08:00
parent 41e830079b
commit 8ca5a9fc25
19 changed files with 39 additions and 24 deletions

View File

@ -66,8 +66,8 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
request_url: 'http://test.shopxo.net/',
// request_url: 'http://tp5-dev.com/',
// request_url: 'http://test.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",

View File

@ -30,7 +30,7 @@
"pages/user-coupon/user-coupon"
],
"window": {
"defaultTitle": "shopxo",
"defaultTitle": "{{application_title}}",
"titleBarColor": "#d2364c"
},
"tabBar": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -101,6 +101,7 @@
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
}
.buy-nav, .nav-base, .nav-submit button {
height: 100rpx;

View File

@ -61,12 +61,12 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
// request_url: 'http://tp5-dev.com/',
// request_url: 'https://test.shopxo.net/',
// 基础信息
application_title: "ShopXO",
application_describe: "国内领先企业级B2C开源电商系统"
application_title: "{{application_title}}",
application_describe: "{{application_describe}}"
},
/**

View File

@ -30,7 +30,7 @@
"pages/user-coupon/user-coupon"
],
"window": {
"navigationBarTitleText": "ShopXO",
"navigationBarTitleText": "{{application_title}}",
"navigationBarBackgroundColor": "#d2364c"
},
"tabBar": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -107,6 +107,7 @@
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
}
.buy-nav, .nav-base, .nav-submit button {
height: 100rpx;

View File

@ -66,8 +66,8 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
//request_url: 'https://test.shopxo.net/',
// request_url: 'http://tp5-dev.com/',
// request_url: 'https://test.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",

View File

@ -30,7 +30,7 @@
"pages/user-coupon/user-coupon"
],
"window": {
"navigationBarTitleText": "ShopXO",
"navigationBarTitleText": "{{application_title}}",
"navigationBarBackgroundColor": "#d2364c"
},
"tabBar": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -108,6 +108,7 @@
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
}
.buy-nav, .nav-base, .nav-submit button {
height: 100rpx;

View File

@ -66,8 +66,8 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
request_url: 'https://test.shopxo.net/',
// request_url: 'http://tp5-dev.com/',
// request_url: 'https://test.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -43,19 +43,29 @@
<!-- 操作导航 -->
<view tt:if="{{data_list.length > 0}}" class="buy-nav oh wh-auto br-t">
<view class="nav-base bg-white fl single-text">
<view bindtap="selectedt_event" data-type="all" class="fl selected">
<image class="icon" src="/images/default-select{{is_selected_all ? '-active' : ''}}-icon.png" mode="widthFix" />
<text>全选</text>
<!-- 展示型 -->
<block tt:if="{{common_is_exhibition_mode == 1}}">
<view class="exhibition-mode">
<button class="bg-main wh-auto" type="default" bindtap="exhibition_submit_event" hover-class="none">{{common_is_exhibition_mode_btn_text}}</button>
</view>
<view class="fr price">
<view class="sales-price single-text fr">¥{{total_price}}</view>
<view class="fr">合计:</view>
</block>
<!-- 销售型 -->
<block tt:else>
<view class="nav-base bg-white fl single-text">
<view bindtap="selectedt_event" data-type="all" class="fl selected">
<image class="icon" src="/images/default-select{{is_selected_all ? '-active' : ''}}-icon.png" mode="widthFix" />
<text>全选</text>
</view>
<view class="fr price">
<view class="sales-price single-text fr">¥{{total_price}}</view>
<view class="fr">合计:</view>
</view>
</view>
</view>
<view class="fr nav-submit">
<button class="bg-main wh-auto" type="default" bindtap="buy_submit_event" disabled="{{buy_submit_disabled_status}}" hover-class="none">结算</button>
</view>
<view class="fr nav-submit">
<button class="bg-main wh-auto" type="default" bindtap="buy_submit_event" disabled="{{buy_submit_disabled_status}}" hover-class="none">结算</button>
</view>
</block>
</view>
</view>

View File

@ -108,6 +108,7 @@
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
}
.buy-nav, .nav-base, .nav-submit button {
height: 100rpx;

View File

@ -66,7 +66,7 @@ App({
// 请求地址
request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
// request_url: 'http://tp5-dev.com/',
// request_url: 'https://test.shopxo.net/',
// 基础信息

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -108,6 +108,7 @@
position: fixed;
left: 0;
bottom: 0;
z-index: 1;
}
.buy-nav, .nav-base, .nav-submit button {
height: 100rpx;