Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
zhiliang-light-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2840b195
authored
2019-12-17 12:18:55 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
284f82e1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
13 deletions
src/pages/auction-detail/auction-detail.js
src/pages/auction-detail/auction-detail.json
src/pages/auction-detail/auction-detail.wxml
src/pages/auction-list/auction-list.json
src/pages/auction-list/auction-list.wxml
src/pages/index/index.wxml
src/pages/user-center/user-center.wxml
src/pages/auction-detail/auction-detail.js
View file @
2840b19
...
...
@@ -39,7 +39,7 @@ Page({
let
{
productInfo
}
=
this
.
data
;
let
title
=
`
${
productInfo
.
auctionName
}
拍卖
热烈进行中!`
;
let
title
=
`
${
productInfo
.
auctionName
}
竞价
热烈进行中!`
;
let
path
=
`pages/auction-detail/auction-detail?code=
${
productInfo
.
auctionCode
}
&share=true`
;
let
imageUrl
=
productInfo
&&
productInfo
.
auctionImages
[
0
]
||
""
;
return
{
...
...
@@ -187,9 +187,6 @@ Page({
productInfo
:
result
});
console
.
log
(
"queryAuctionDetail result:"
,
result
);
// wx.setNavigationBarTitle({
// title: result.auctionName || "拍卖活动"
// })
resolve
();
}).
catch
((
err
)
=>
{
if
(
err
.
code
==
1002
)
{
...
...
src/pages/auction-detail/auction-detail.json
View file @
2840b19
{
"navigationBarTitleText"
:
"
拍卖
活动"
"navigationBarTitleText"
:
"
竞价
活动"
}
...
...
src/pages/auction-detail/auction-detail.wxml
View file @
2840b19
...
...
@@ -24,9 +24,9 @@
<text class="t1">当前价格</text>
</view>
<view class="func-ele func-right {{productInfo.status != 1 || isTimeEnd ? 'disable' : ''}}">
<text wx:if="{{productInfo.status == 0}}" class="t1 t2">
拍卖
未开始</text>
<text wx:if="{{productInfo.status == 1}}" class="t1">
拍卖
进行中</text>
<text wx:if="{{productInfo.status == 2}}" class="t1 t2">
拍卖
已结束</text>
<text wx:if="{{productInfo.status == 0}}" class="t1 t2">
竞价
未开始</text>
<text wx:if="{{productInfo.status == 1}}" class="t1">
竞价
进行中</text>
<text wx:if="{{productInfo.status == 2}}" class="t1 t2">
竞价
已结束</text>
<text wx:if="{{productInfo.status == 1}}" class="t1 date">{{lastTime}}</text>
</view>
</view>
...
...
src/pages/auction-list/auction-list.json
View file @
2840b19
{
"navigationBarTitleText"
:
"
拍卖
活动"
"navigationBarTitleText"
:
"
竞价
活动"
}
...
...
src/pages/auction-list/auction-list.wxml
View file @
2840b19
...
...
@@ -7,7 +7,7 @@
<view class="content">
<!-- 我的拍卖按钮 -->
<view class="my-btn">
<view bindtap="onShowAuctionMineHandler" class="btn">我的
拍卖
</view>
<view bindtap="onShowAuctionMineHandler" class="btn">我的
竞价
</view>
</view>
<view class="list">
<view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{dataList}}" wx:key="{{index}}" class="border list-item">
...
...
@@ -30,7 +30,7 @@
</view>
</view>
</view>
<empty-tips-light inner-text="当前未有
拍卖
活动,敬请期待" wx:if="{{dataList.length <= 0 && isInit}}"></empty-tips-light>
<empty-tips-light inner-text="当前未有
竞价
活动,敬请期待" wx:if="{{dataList.length <= 0 && isInit}}"></empty-tips-light>
</view>
</view>
<van-popup show="{{ authorizeVisible }}">
...
...
src/pages/index/index.wxml
View file @
2840b19
...
...
@@ -53,7 +53,7 @@
</view>
<view bindtap="onAuctionHandler" class="nav-item">
<image class="icon" mode="widthFix" src="../../image/index/icon-auction.png" />
<view class="t1">
拍卖
</view>
<view class="t1">
竞价
</view>
</view>
</view>
<!-- 轮播 banner -->
...
...
src/pages/user-center/user-center.wxml
View file @
2840b19
...
...
@@ -103,7 +103,7 @@
<view class="icon-wrap">
<span class="iconfont iconpaimai icon"></span>
</view>
<view class="txt">
拍卖
</view>
<view class="txt">
竞价
</view>
</view>
<view bindtap="onSeckillHandler" data-index="1" class="active-item">
<view class="icon-wrap">
...
...
Please
register
or
sign in
to post a comment