Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-luck
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
肖亚东
6 years ago
Commit
f2884402501e0c9e849455468eeffd69b4be82a4
1 parent
8f6ff194
TAB切位置调整
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
5 deletions
pages/zeroSell/components/tabs-panel.wxss
pages/zeroSell/index.js
pages/zeroSell/index.wxml
pages/zeroSell/index.wxss
project.config.json
sitemap.json
pages/zeroSell/components/tabs-panel.wxss
deleted
100644 → 0
View file @
8f6ff19
/* page/subPackage/pages/zeroSell/components/tabs-panel.wxss */
\ No newline at end of file
pages/zeroSell/index.js
View file @
f288440
...
...
@@ -353,6 +353,12 @@ Page(Object.assign({
this
.
_init
();
},
_jumpMyDrawCode
()
{
router
.
go
(
'index'
,
{
tabIndex
:
3
,
});
},
getUserInfo
:
function
(
e
)
{
var
that
=
this
;
if
(
e
.
detail
.
errMsg
===
'getUserInfo:ok'
)
{
...
...
pages/zeroSell/index.wxml
View file @
f288440
<tabs tabs-class="tabs-class" current-key="{{tabIndex}}" bindchange="onTabChange">
<view class="list-top-blank"></view>
<tabs tabs-class="tabs-class {{tabIndex==3 ? 'hidden' : ''}}" current-key="{{tabIndex}}" bindchange="onTabChange">
<view class="list-top-blank {{tabIndex==3 ? 'hidden' : ''}}"></view>
<tabs-pane name="进行中">
<image class="topgif" src="./images/yoluck.gif"/>
...
...
@@ -26,7 +26,8 @@
</view>
</tabs-pane>
<tabs-pane name="已参加">
<!-- 首页改版,tabIndex=3的已参加一栏取消,改为点击我的抽奖码进入 2019.6.20 -->
<!-- <tabs-pane name="已参加"> -->
<block wx:if="{{isLogin}}">
<view class="title-view">
<view class="space-line"></view>
...
...
@@ -58,7 +59,7 @@
<block wx:else>
<login theme="light" openType="{{openType}}"></login>
</block>
<
/tabs-pane
>
<
!-- </tabs-pane> --
>
<block wx:if="{{tabIndex !== 3}}">
<view class="list-foot-blank">{{footText}}</view>
</block>
...
...
@@ -69,6 +70,12 @@
</view>
</block>
<block wx:if="{{tabIndex !== 3}}">
<view class="my-draw-code" bindtap="_jumpMyDrawCode">
<text class="my-draw-code-text">我的抽奖码</text>
</view>
</block>
<import src="../../vendors/zanui/toast/index.wxml"/>
<template is="zan-toast" data="{{zanToast}}"/>
...
...
pages/zeroSell/index.wxss
View file @
f288440
...
...
@@ -62,6 +62,10 @@ page {
border-bottom: 1rpx solid #E0E0E0;
}
.hidden {
display: none !important;
}
.topgif {
width: 100%;
height: 200rpx;
...
...
@@ -86,4 +90,22 @@ page {
flex-direction: row;
align-items: center;
font-family: PingFangSC-Medium;
}
.my-draw-code {
position: fixed;
z-index: 999;
left: 0;
bottom: 0;
width: 100%;
height: 80rpx;
background-color: white;
border-top: 2rpx solid #e0e0ee;
display: flex;
align-items: center;
justify-content: center;
}
.my-draw-code-text {
font-size: 26rpx;
}
\ No newline at end of file
...
...
project.config.json
View file @
f288440
...
...
@@ -13,6 +13,8 @@
"libVersion"
:
"2.0.0"
,
"appid"
:
"wx7678b61d1e6702fe"
,
"projectname"
:
"YO!LUCK"
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
"condition"
:
{
"search"
:
{
"current"
:
-1
,
...
...
sitemap.json
0 → 100644
View file @
f288440
{
"desc"
:
"关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html"
,
"rules"
:
[{
"action"
:
"allow"
,
"page"
:
"*"
}]
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment