切换导航条
此项目
正在载入...
登录
miniprogram
/
binhaineigouopen
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
lihongjuan
5 years ago
提交
fc8a9b7354a0e17eeac3125ebb57d4fc4f273f6c
1 个父辈
13d4d088
1
隐藏空白字符变更
内嵌
并排对比
正在显示
12 个修改的文件
包含
43 行增加
和
13 行删除
Components/Model_item/Model_item.wxml
Components/shop_item/shop_item.wxml
pages/address/add_address/add_address.wxml
pages/index/index.js
pages/my/my.wxml
pages/order/order_list/order_list.js
pages/shop_cart/shop_cart.js
pages/shop_detail/shop_detail.js
pages/shop_detail/shop_detail.wxml
pages/taocandetail/taocandetail.js
pages/xianshi/xianshi.wxml
pages/zhuanqu/zhuanqu.wxml
Components/Model_item/Model_item.wxml
查看文件 @
fc8a9b7
...
...
@@ -16,7 +16,7 @@
<view class='sell'>已卖出{{item.paynum}}件</view>
</view>
<
view class='oldprice'>{{item.price}}</view
>
<
!-- <view class='oldprice'>{{item.price}}</view> --
>
</view>
<view class='goods_flex' wx:else>
...
...
Components/shop_item/shop_item.wxml
查看文件 @
fc8a9b7
...
...
@@ -18,7 +18,7 @@
<image class="num_btn" src="/images/add.png" data-index="{{index}}" data-type="1" data-num="{{item.num}}" data-id="{{item.id}}" data-product_id="{{item.product_id}}" catchtap="num_change"/>
</view>
</view>
<
view class="oldprice" wx:if="{{item.product.price2!=null||item.price2!=null}}">{{item.product.price||item.price}}</view
>
<
!-- <view class="oldprice" wx:if="{{item.product.price2!=null||item.price2!=null}}">{{item.product.price||item.price}}</view> --
>
</view>
</view>
</view>
...
...
pages/address/add_address/add_address.wxml
查看文件 @
fc8a9b7
...
...
@@ -25,7 +25,8 @@
<view class="list_textarea">
<view class="list_left">详细地址</view>
<view class="list_right">
<textarea placeholder="道路、门牌号、小区、楼栋号等" placeholder-class="inut_plclass" bindinput="getAddressFun" style="padding-top:22rpx;"></textarea>
<!-- style="padding-top:22rpx;" -->
<textarea placeholder="道路、门牌号、小区、楼栋号等" placeholder-class="inut_plclass" bindinput="getAddressFun" style="padding-top:2rpx;" ></textarea>
</view>
</view>
<view class="list">
...
...
pages/index/index.js
查看文件 @
fc8a9b7
...
...
@@ -72,9 +72,6 @@ if( app.globalData.index==undefined){
this
.
get_info
(
0
,
1
);
}
this
.
get_banner
()
// 获取活动专区
this
.
getzhuanqulist
();
this
.
getxianshi
();
...
...
@@ -715,6 +712,8 @@ if( app.globalData.index==undefined){
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
this
.
get_banner
()
console
.
log
(
app
.
globalData
.
index
)
if
(
app
.
globalData
.
index
==
0
){
app
.
globalData
.
index
=
undefined
...
...
pages/my/my.wxml
查看文件 @
fc8a9b7
...
...
@@ -12,7 +12,7 @@
<!-- <view class="id">ID {{obj.id_card}}</view> -->
</view>
</view>
<
view class="company">{{obj.competition}}</view
>
<
!-- <view class="company">{{obj.competition}}</view> --
>
<view class="info_box">
<view>{{obj.job?obj.job:'暂无'}}</view>
<!-- <view>{{obj.section?obj.section:'暂无'}}</view> -->
...
...
pages/order/order_list/order_list.js
查看文件 @
fc8a9b7
...
...
@@ -18,6 +18,13 @@ Page({
},
// 展示待支付的去支付弹窗
show_cover
(
e
)
{
if
(
app
.
globalData
.
status
==
0
){
wx
.
showToast
({
title
:
'您已被拉黑'
,
icon
:
'none'
})
return
false
}
if
(
e
.
currentTarget
.
dataset
.
d
)
{
let
index
=
Number
(
e
.
currentTarget
.
dataset
.
index
)
let
daiorder
=
this
.
data
.
daiorder
...
...
pages/shop_cart/shop_cart.js
查看文件 @
fc8a9b7
...
...
@@ -159,7 +159,9 @@ Page({
},
//去结算
submit
(){
let
that
=
this
let
that
=
this
;
if
(
that
.
data
.
all_num
==
0
){
wx
.
showToast
({
title
:
'请先选择商品'
,
...
...
@@ -168,6 +170,13 @@ submit(){
})
return
}
if
(
app
.
globalData
.
status
==
0
){
wx
.
showToast
({
title
:
'您已被拉黑'
,
icon
:
'none'
})
return
false
}
let
list
=
that
.
data
.
list
let
info
=
[]
for
(
let
obj
of
list
)
{
...
...
pages/shop_detail/shop_detail.js
查看文件 @
fc8a9b7
...
...
@@ -128,6 +128,13 @@ Page({
},
change_cover
(
e
)
{
if
(
app
.
globalData
.
status
==
0
){
wx
.
showToast
({
title
:
'您已被拉黑'
,
icon
:
'none'
})
return
false
}
if
(
e
.
currentTarget
.
dataset
.
type
)
{
this
.
setData
({
btn_type
:
e
.
currentTarget
.
dataset
.
type
...
...
pages/shop_detail/shop_detail.wxml
查看文件 @
fc8a9b7
...
...
@@ -16,7 +16,7 @@
<view class='price'>{{info.price2==null?info.price:info.price2}}</view>
</view>
<
view class="oldprice" wx:if="{{info.price2!=null}}">{{info.price}}</view
>
<
!-- <view class="oldprice" wx:if="{{info.price2!=null}}">{{info.price}}</view> --
>
<view class='two_two'>{{info.name}}</view>
<view class='two_three two_threek'>
<view>库存:{{info.sold}}</view>
...
...
@@ -69,7 +69,7 @@
<view class='scores'>积分</view>
<view class='prices'>{{info.price2}}</view>
</view>
<
view class="oldprice">{{info.price}}</view
>
<
!-- <view class="oldprice">{{info.price}}</view> --
>
</view>
...
...
pages/taocandetail/taocandetail.js
查看文件 @
fc8a9b7
...
...
@@ -115,6 +115,13 @@ Page({
},
change_cover
(
e
)
{
if
(
app
.
globalData
.
status
==
0
){
wx
.
showToast
({
title
:
'您已被拉黑'
,
icon
:
'none'
})
return
false
}
if
(
e
.
currentTarget
.
dataset
.
type
)
{
this
.
setData
({
btn_type
:
e
.
currentTarget
.
dataset
.
type
...
...
pages/xianshi/xianshi.wxml
查看文件 @
fc8a9b7
...
...
@@ -24,7 +24,7 @@
<view class="miaogood flextwo">
<view class="miaogoodleft flexone" wx:if="{{item.price2!=null}}">
<view class="saleprice" >¥{{item.price2}}</view>
<
view class=" oldprice">¥{{item.price}}</view
>
<
!-- <view class=" oldprice">¥{{item.price}}</view> --
>
<!-- <view class="yuansaleprice">¥{{}}</view> -->
</view>
<view class="miaogoodleft flexone" wx:else>
...
...
pages/zhuanqu/zhuanqu.wxml
查看文件 @
fc8a9b7
...
...
@@ -37,7 +37,7 @@
<view class='sell'>已卖出{{item.product.paynum}}件</view>
</view>
<
view class='oldprice'>{{item.product.price}}</view
>
<
!-- <view class='oldprice'>{{item.product.price}}</view> --
>
</view>
<view class='goods_flex' wx:else>
...
...
@@ -68,7 +68,7 @@
<!-- <view class='sell'>已卖出{{item.combo.paynum}}件</view> -->
</view>
<
view class='oldprice'>{{item.combo.price}}</view
>
<
!-- <view class='oldprice'>{{item.combo.price}}</view> --
>
</view>
<view class='goods_flex' wx:else>
...
...
请
注册
或
登录
后发表评论