Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
d49398c3
ShopXO
项目概览
starsw001
/
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,发现更多精彩内容 >>
提交
d49398c3
编写于
1月 04, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xcx
上级
89af4964
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
23 addition
and
8 deletion
+23
-8
public/appmini/old/wechat/components/popup/popup.js
public/appmini/old/wechat/components/popup/popup.js
+9
-1
public/appmini/old/wechat/pages/cart/cart.js
public/appmini/old/wechat/pages/cart/cart.js
+8
-1
public/appmini/old/wechat/pages/cart/cart.wxml
public/appmini/old/wechat/pages/cart/cart.wxml
+1
-1
public/appmini/old/wechat/pages/user-order/user-order.json
public/appmini/old/wechat/pages/user-order/user-order.json
+1
-1
public/appmini/old/wechat/pages/user-order/user-order.wxml
public/appmini/old/wechat/pages/user-order/user-order.wxml
+2
-2
public/appmini/old/wechat/pages/user/user.js
public/appmini/old/wechat/pages/user/user.js
+2
-2
未找到文件。
public/appmini/old/wechat/components/popup/popup.js
浏览文件 @
d49398c3
...
...
@@ -9,7 +9,8 @@ Component({
propPosition
:
String
,
propMask
:
Boolean
,
propAnimation
:
Boolean
,
propDisablescroll
:
Boolean
propDisablescroll
:
Boolean
,
propOnclose
:
String
},
/**
...
...
@@ -23,6 +24,13 @@ Component({
* 组件的方法列表
*/
methods
:
{
onMaskTap
:
function
onMaskTap
()
{
var
onClose
=
this
.
propOnclose
;
console
.
log
(
onClose
)
if
(
onClose
)
{
onClose
();
}
}
}
})
public/appmini/old/wechat/pages/cart/cart.js
浏览文件 @
d49398c3
...
...
@@ -19,10 +19,11 @@ Page({
init
(
e
)
{
var
user
=
app
.
get_user_cache_info
(
this
,
"
init
"
);
// 用户未绑定用户则转到登录页面
var
msg
=
(
user
==
false
)
?
'
授权用户信息
'
:
'
绑定手机号码
'
;
if
(
user
==
false
||
((
user
.
mobile
||
null
)
==
null
))
{
wx
.
showModal
({
title
:
'
温馨提示
'
,
content
:
'
绑定手机号码
'
,
content
:
msg
,
confirmText
:
'
确认
'
,
cancelText
:
'
暂不
'
,
success
:
(
result
)
=>
{
...
...
@@ -30,6 +31,12 @@ Page({
wx
.
navigateTo
({
url
:
"
/pages/login/login?event_callback=init
"
});
}
else
{
this
.
setData
({
data_list_loding_status
:
2
,
data_bottom_line_status
:
false
,
data_list_loding_msg
:
'
请先
'
+
msg
,
});
}
},
});
...
...
public/appmini/old/wechat/pages/cart/cart.wxml
浏览文件 @
d49398c3
...
...
@@ -66,5 +66,5 @@
<view wx:if="{{data_list.length == 0 && data_list_loding_status != 0}}">
<import src="/pages/common/nodata.wxml" />
<template is="nodata" data="{{status: data_list_loding_status}}"></template>
<template is="nodata" data="{{status: data_list_loding_status
, msg: data_list_loding_msg
}}"></template>
</view>
\ No newline at end of file
public/appmini/old/wechat/pages/user-order/user-order.json
浏览文件 @
d49398c3
{
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"
popup"
:
"mini-antui/es/popup/index
"
"
component-popup"
:
"/components/popup/popup
"
}
}
\ No newline at end of file
public/appmini/old/wechat/pages/user-order/user-order.wxml
浏览文件 @
d49398c3
...
...
@@ -56,7 +56,7 @@
</scroll-view>
<!-- 支付方式 popup -->
<
popup show="{{is_show_payment_popup}}" position="bottom" onC
lose="payment_popup_event_close">
<
component-popup prop-show="{{is_show_payment_popup}}" prop-position="bottom" prop-onc
lose="payment_popup_event_close">
<view wx:if="{{payment_list.length > 0}}" class="payment-list oh bg-white">
<view class="item tc fl" wx:for="{{payment_list}}">
<view class="item-content br" data-value="{{item.id}}" bindtap="popup_payment_event">
...
...
@@ -67,4 +67,4 @@
</view>
</view>
<view wx:else class="payment-list oh bg-white tc cr-888">没有支付方式</view>
</popup>
\ No newline at end of file
</component-popup>
\ No newline at end of file
public/appmini/old/wechat/pages/user/user.js
浏览文件 @
d49398c3
...
...
@@ -55,10 +55,11 @@ Page({
var
user
=
app
.
get_user_cache_info
(
this
,
"
init
"
),
self
=
this
;
// 用户未绑定用户则转到登录页面
var
msg
=
(
user
==
false
)
?
'
授权用户信息
'
:
'
绑定手机号码
'
;
if
(
user
==
false
||
((
user
.
mobile
||
null
)
==
null
))
{
wx
.
showModal
({
title
:
'
温馨提示
'
,
content
:
'
绑定手机号码
'
,
content
:
msg
,
confirmText
:
'
确认
'
,
cancelText
:
'
暂不
'
,
success
:
(
result
)
=>
{
...
...
@@ -71,7 +72,6 @@ Page({
avatar
:
user
.
avatar
||
app
.
data
.
default_user_head_src
,
nickname
:
user
.
nickname
,
});
self
.
get_data
();
},
});
}
else
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录