Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
e90cdffc
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,发现更多精彩内容 >>
提交
e90cdffc
编写于
1月 08, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
微信小程序优化
上级
b35948a9
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
30 addition
and
37 deletion
+30
-37
public/appmini/old/wechat/app.js
public/appmini/old/wechat/app.js
+1
-1
public/appmini/old/wechat/pages/buy/buy.js
public/appmini/old/wechat/pages/buy/buy.js
+4
-16
public/appmini/old/wechat/pages/index/index.js
public/appmini/old/wechat/pages/index/index.js
+3
-9
public/appmini/old/wechat/pages/user-address-save/user-address-save.js
...i/old/wechat/pages/user-address-save/user-address-save.js
+4
-0
public/appmini/old/wechat/pages/user-address-save/user-address-save.wxml
...old/wechat/pages/user-address-save/user-address-save.wxml
+6
-6
public/appmini/old/wechat/pages/user-address-save/user-address-save.wxss
...old/wechat/pages/user-address-save/user-address-save.wxss
+8
-1
public/appmini/old/wechat/pages/user-faovr/user-faovr.wxml
public/appmini/old/wechat/pages/user-faovr/user-faovr.wxml
+1
-1
public/appmini/old/wechat/pages/user-goods-browse/user-goods-browse.wxml
...old/wechat/pages/user-goods-browse/user-goods-browse.wxml
+1
-1
public/appmini/old/wechat/pages/user-order-detail/user-order-detail.wxml
...old/wechat/pages/user-order-detail/user-order-detail.wxml
+1
-1
public/appmini/old/wechat/pages/user-order/user-order.wxml
public/appmini/old/wechat/pages/user-order/user-order.wxml
+1
-1
未找到文件。
public/appmini/old/wechat/app.js
浏览文件 @
e90cdffc
...
...
@@ -452,7 +452,7 @@ App({
case
3
:
var
values
=
value
.
split
(
'
|
'
);
if
(
values
.
length
!=
4
)
{
wx
.
showToast
({
content
:
'
事件值格式有误
'
}
);
this
.
showToast
(
'
事件值格式有误
'
);
return
false
;
}
...
...
public/appmini/old/wechat/pages/buy/buy.js
浏览文件 @
e90cdffc
...
...
@@ -108,10 +108,7 @@ Page({
data_list_loding_status
:
2
,
data_list_loding_msg
:
res
.
data
.
msg
,
});
wx
.
showToast
({
type
:
"
fail
"
,
content
:
res
.
data
.
msg
});
app
.
showToast
(
res
.
data
.
msg
);
}
},
fail
:
()
=>
{
...
...
@@ -121,10 +118,7 @@ Page({
data_list_loding_msg
:
'
服务器请求出错
'
,
});
wx
.
showToast
({
type
:
"
fail
"
,
content
:
"
服务器请求出错
"
});
app
.
showToast
(
"
服务器请求出错
"
);
}
});
},
...
...
@@ -170,10 +164,7 @@ Page({
wx
.
redirectTo
({
url
:
'
/pages/user-order/user-order
'
});
}
}
else
{
wx
.
showToast
({
type
:
"
fail
"
,
content
:
res
.
data
.
msg
});
app
.
showToast
(
res
.
data
.
msg
);
this
.
setData
({
buy_submit_disabled_status
:
false
});
}
},
...
...
@@ -181,10 +172,7 @@ Page({
wx
.
hideLoading
();
this
.
setData
({
buy_submit_disabled_status
:
false
});
wx
.
showToast
({
type
:
"
fail
"
,
content
:
"
服务器请求出错
"
});
app
.
showToast
(
"
服务器请求出错
"
);
}
});
}
...
...
public/appmini/old/wechat/pages/index/index.js
浏览文件 @
e90cdffc
...
...
@@ -53,10 +53,7 @@ Page({
data_bottom_line_status
:
true
,
});
wx
.
showToast
({
type
:
"
fail
"
,
content
:
res
.
data
.
msg
});
app
.
showToast
(
res
.
data
.
msg
);
}
},
fail
:
()
=>
{
...
...
@@ -67,10 +64,7 @@ Page({
load_status
:
1
,
});
wx
.
showToast
({
type
:
"
fail
"
,
content
:
"
服务器请求出错
"
});
app
.
showToast
(
"
服务器请求出错
"
);
}
});
},
...
...
@@ -79,7 +73,7 @@ Page({
search_input_event
(
e
)
{
var
keywords
=
e
.
detail
.
value
||
null
;
if
(
keywords
==
null
)
{
wx
.
showToast
({
content
:
'
请输入搜索关键字
'
}
);
app
.
showToast
(
"
请输入搜索关键字
"
);
return
false
;
}
...
...
public/appmini/old/wechat/pages/user-address-save/user-address-save.js
浏览文件 @
e90cdffc
...
...
@@ -13,6 +13,10 @@ Page({
default_city
:
"
请选择市
"
,
default_county
:
"
请选择区/县
"
,
province_value
:
-
1
,
city_value
:
-
1
,
county_value
:
-
1
,
params
:
null
,
},
...
...
public/appmini/old/wechat/pages/user-address-save/user-address-save.wxml
浏览文件 @
e90cdffc
...
...
@@ -8,18 +8,18 @@
<!-- 地区选择 -->
<view class="select-address br-b oh">
<view class="section fl br-r">
<picker name="province"
onC
hange="select_province" value="{{province_value}}" range="{{province_list}}" range-key="name">
<view class="name">{{province_list[province_value].name || default_province}}</view>
<picker name="province"
bindc
hange="select_province" value="{{province_value}}" range="{{province_list}}" range-key="name">
<view class="name
{{(province_value == -1) ? 'not-selected' : '' }}
">{{province_list[province_value].name || default_province}}</view>
</picker>
</view>
<view class="section fl br-r">
<picker name="city"
onC
hange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name">{{city_list[city_value].name || default_city}}</view>
<picker name="city"
bindc
hange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name
{{(city_value == -1) ? 'not-selected' : '' }}
">{{city_list[city_value].name || default_city}}</view>
</picker>
</view>
<view class="section fl">
<picker name="county"
onC
hange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name">{{county_list[county_value].name || default_county}}</view>
<picker name="county"
bindc
hange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name
{{(county_value == -1) ? 'not-selected' : '' }}
">{{county_list[county_value].name || default_county}}</view>
</picker>
</view>
</view>
...
...
public/appmini/old/wechat/pages/user-address-save/user-address-save.wxss
浏览文件 @
e90cdffc
...
...
@@ -6,6 +6,8 @@
height: 100rpx;
line-height: 100rpx;
font-size: 28rpx;
padding: 0 10rpx;
border-radius:0;
}
.addressee .addressee-name{
width: 250rpx;
...
...
@@ -22,9 +24,11 @@
line-height: 100rpx;
padding: 0 10rpx;
}
.select-address .section{
.select-address .section
{
width: 33%;
box-sizing: border-box;
}
.select-address .section:not(:first-child) {
padding: 0 5rpx;
}
/* end 三级联动 */
...
...
@@ -32,3 +36,6 @@
box-sizing: border-box;
width: 100%;
}
.not-selected {
color: #888;
}
public/appmini/old/wechat/pages/user-faovr/user-faovr.wxml
浏览文件 @
e90cdffc
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30">
<view class="list-item" wx:if="{{data_list.length > 0}}">
<view class="goods-item oh bg-white spacing-mb" wx:for="{{data_list}}" wx:for-item="item" >
<navigator url="/pages/goods-detail/goods-detail?goods_id={{item.goods_id}}">
<navigator url="/pages/goods-detail/goods-detail?goods_id={{item.goods_id}}"
hover-class="none"
>
<image class="goods-image fl" src="{{item.images}}" mode="aspectFill" />
<view class="goods-base">
<view class="goods-title multi-text">{{item.title}}</view>
...
...
public/appmini/old/wechat/pages/user-goods-browse/user-goods-browse.wxml
浏览文件 @
e90cdffc
<scroll-view scroll-y="{{true}}" class="scroll-box" bindscrolltolower="scroll_lower" lower-threshold="30">
<view class="list-item" wx:if="{{data_list.length > 0}}">
<view class="goods-item oh bg-white spacing-mb" wx:for="{{data_list}}" wx:for-item="item">
<navigator url="/pages/goods-detail/goods-detail?goods_id={{item.goods_id}}">
<navigator url="/pages/goods-detail/goods-detail?goods_id={{item.goods_id}}"
hover-class="none"
>
<image class="goods-image fl" src="{{item.images}}" mode="aspectFill" />
<view class="goods-base">
<view class="goods-title multi-text">{{item.title}}</view>
...
...
public/appmini/old/wechat/pages/user-order-detail/user-order-detail.wxml
浏览文件 @
e90cdffc
...
...
@@ -12,7 +12,7 @@
<view class="goods bg-white spacing-mb">
<view wx:for="{{detail.items}}" class="goods-item oh">
<navigator url="/pages/goods-detail/goods-detail?goods_id={{item.goods_id}}">
<navigator url="/pages/goods-detail/goods-detail?goods_id={{item.goods_id}}"
hover-class="none"
>
<image class="goods-image fl" src="{{item.images}}" mode="aspectFill" />
<view class="goods-base">
<view class="goods-title multi-text">{{item.title}}</view>
...
...
public/appmini/old/wechat/pages/user-order/user-order.wxml
浏览文件 @
e90cdffc
...
...
@@ -15,7 +15,7 @@
<text class="fr cr-main">{{item.status_name}}</text>
</view>
<view wx:for="{{item.items}}" wx:key="key" wx:for-item="detail" class="goods-item oh">
<navigator url="/pages/user-order-detail/user-order-detail?id={{item.id}}">
<navigator url="/pages/user-order-detail/user-order-detail?id={{item.id}}"
hover-class="none"
>
<image class="goods-image fl" src="{{detail.images}}" mode="aspectFill" />
<view class="goods-base">
<view class="goods-title multi-text" >{{detail.title}}</view>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录