Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
alading2018
ShopXO
提交
bdb81e29
ShopXO
项目概览
alading2018
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bdb81e29
编写于
8月 09, 2020
作者:
D
devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
百度小程序适配
上级
8fa76bed
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
18 addition
and
2 deletion
+18
-2
sourcecode/alipay/pages/user-order/user-order.acss
sourcecode/alipay/pages/user-order/user-order.acss
+2
-0
sourcecode/baidu/pages/buy/buy.swan
sourcecode/baidu/pages/buy/buy.swan
+3
-2
sourcecode/baidu/pages/user-order/user-order.css
sourcecode/baidu/pages/user-order/user-order.css
+2
-0
sourcecode/baidu/pages/user-order/user-order.swan
sourcecode/baidu/pages/user-order/user-order.swan
+1
-0
sourcecode/baidu/utils/tools.sjs
sourcecode/baidu/utils/tools.sjs
+8
-0
sourcecode/weixin/pages/user-order/user-order.wxss
sourcecode/weixin/pages/user-order/user-order.wxss
+2
-0
未找到文件。
sourcecode/alipay/pages/user-order/user-order.acss
浏览文件 @
bdb81e29
...
...
@@ -102,6 +102,8 @@
*/
.pay-merge-submit {
width: 220rpx;
height: 70rpx !important;
line-height: 74rpx !important;
left: calc(50% - 110rpx);
bottom: 50rpx;
}
\ No newline at end of file
sourcecode/baidu/pages/buy/buy.swan
浏览文件 @
bdb81e29
...
...
@@ -119,6 +119,7 @@
<!-- 优惠劵选择 -->
<component-popup status="{{popup_plugins_coupon_status}}" position="bottom" bindonclose="plugins_coupon_close_event">
<import-sjs src="../../utils/tools.sjs" module="tools" />
<view class="plugins-coupon-popup bg-white">
<view class="close oh">
<view class="fr" catchtap="plugins_coupon_close_event">
...
...
@@ -130,7 +131,7 @@
<text data-wid="{{plugins_coupon_data[popup_plugins_coupon_index].warehouse_id}}" bindtap="plugins_coupon_not_use_event">不使用优惠劵</text>
</view>
<block s-for="item, index in plugins_coupon_data[popup_plugins_coupon_index].coupon_data.coupon_list" s-key="item">
<view class="item spacing-mt bg-white {{
plugins_use_coupon_ids.indexOf(item.id) != -1
? 'item-disabled' : ''}}" style="border:1px solid {{item.coupon.bg_color_value}};">
<view class="item spacing-mt bg-white {{
tools.indexOf(plugins_use_coupon_ids, item.id)
? 'item-disabled' : ''}}" 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 class="symbol">{{price_symbol}}</text>
...
...
@@ -143,7 +144,7 @@
</view>
<view class="v-right fr" style="background:{{item.coupon.bg_color_value}};" data-wid="{{plugins_coupon_data[popup_plugins_coupon_index].warehouse_id}}" data-value="{{item.id}}" bindtap="plugins_coupon_use_event">
<text class="circle"></text>
<text>{{
plugins_use_coupon_ids.indexOf(item.id) != -1
? '已选' : '选择'}}</text>
<text>{{
tools.indexOf(plugins_use_coupon_ids, item.id)
? '已选' : '选择'}}</text>
</view>
</view>
</block>
...
...
sourcecode/baidu/pages/user-order/user-order.css
浏览文件 @
bdb81e29
...
...
@@ -102,6 +102,8 @@
*/
.pay-merge-submit
{
width
:
220
rpx
;
height
:
70
rpx
!important
;
line-height
:
74
rpx
!important
;
left
:
calc
(
50%
-
110
rpx
);
bottom
:
50
rpx
;
}
\ No newline at end of file
sourcecode/baidu/pages/user-order/user-order.swan
浏览文件 @
bdb81e29
<import-sjs src="../../utils/tools.sjs" module="tools" />
<!-- 导航 -->
<view class="nav">
<block s-for="item, index in nav_status_list" s-key="key">
...
...
sourcecode/baidu/utils/tools.sjs
0 → 100644
浏览文件 @
bdb81e29
function indexOf(arr, value) {
if (arr.indexOf(value) < 0) {
return false;
} else {
return true;
}
}
module.exports.indexOf = indexOf;
\ No newline at end of file
sourcecode/weixin/pages/user-order/user-order.wxss
浏览文件 @
bdb81e29
...
...
@@ -102,6 +102,8 @@
*/
.pay-merge-submit {
width: 220rpx;
height: 70rpx !important;
line-height: 74rpx !important;
left: calc(50% - 110rpx);
bottom: 50rpx;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录