Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
d07987ea
Commit
d07987ea
authored
Sep 30, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
33a552c0
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
113 additions
and
24 deletions
+113
-24
app.json
taobao_mini/client/app.json
+1
-6
package-lock.json
taobao_mini/client/package-lock.json
+6
-5
package.json
taobao_mini/client/package.json
+1
-0
index.axml
taobao_mini/client/pages/index/index.axml
+3
-12
index.js
taobao_mini/client/pages/index/index.js
+1
-1
invitePage.acss
taobao_mini/client/pages/invitePage/invitePage.acss
+75
-0
invitePage.axml
taobao_mini/client/pages/invitePage/invitePage.axml
+3
-0
invitePage.js
taobao_mini/client/pages/invitePage/invitePage.js
+16
-0
invitePage.json
taobao_mini/client/pages/invitePage/invitePage.json
+7
-0
No files found.
taobao_mini/client/app.json
View file @
d07987ea
{
"pages"
:
[
"pages/index/index"
,
"pages/homePage/homePage"
,
"pages/myprize/myprize"
,
"pages/pageshop/pageshop"
,
"pages/tbccDemo/tbccDemo"
,
"pages/goodsPage/goodsPage"
,
"pages/turnTablePage/turnTablePage"
"pages/invitePage/invitePage"
],
"window"
:
{
"enableSkia"
:
"true"
,
...
...
taobao_mini/client/package-lock.json
View file @
d07987ea
{
"name"
:
"yd11_20200922"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
...
...
@@ -176,6 +177,11 @@
"resolved"
:
"http://npm.dui88.com:80/mimic-fn/-/mimic-fn-2.1.0.tgz"
,
"integrity"
:
"sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs="
},
"mini-types"
:
{
"version"
:
"0.1.4"
,
"resolved"
:
"https://registry.npm.taobao.org/mini-types/download/mini-types-0.1.4.tgz"
,
"integrity"
:
"sha1-R3EsZgaRGTlSKLiy1IOhHufPn7E="
},
"nice-try"
:
{
"version"
:
"1.0.5"
,
"resolved"
:
"http://npm.dui88.com:80/nice-try/-/nice-try-1.0.5.tgz"
,
...
...
@@ -346,11 +352,6 @@
"resolved"
:
"http://npm.dui88.com:80/strip-eof/-/strip-eof-1.0.0.tgz"
,
"integrity"
:
"sha1-u0P/VZim6wXYm1n80SnJgzE2Br8="
},
"svga-parser"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"http://npm.dui88.com:80/svga-parser/-/svga-parser-1.1.0.tgz"
,
"integrity"
:
"sha1-sXgVrAwaDgGobJG7l/g02tYCdek="
},
"tans_lottie"
:
{
"version"
:
"1.0.4"
,
"resolved"
:
"http://npm.dui88.com:80/tans_lottie/-/tans_lottie-1.0.4.tgz"
,
...
...
taobao_mini/client/package.json
View file @
d07987ea
...
...
@@ -6,6 +6,7 @@
"dependencies"
:
{
"@tbmp/mp-cloud-sdk"
:
"*"
,
"fyge-tbmini"
:
"^1.3.7"
,
"mini-types"
:
"^0.1.4"
,
"tans_lottie"
:
"^1.0.4"
}
}
taobao_mini/client/pages/index/index.axml
View file @
d07987ea
<view class="index-page">
<view class="index-rule-btn" onTap="showRuleModal">活动规则</view>
<navigator open-type="navigate" url="/pages/myprize/myprize" class="index-myprize-btn">我的奖品</navigator>
<view class="index-page__title">{{title}}</view>
<view class="index-page__content">{{content}}</view>
<view class="index-page__tips">AM接口只支持PC端预览,手机淘宝预览需要使用云函数模式</view>
<view class="index-start-btn" onTap="doShare">点击分享</view>
<navigator open-type="navigate" url="/pages/tbccDemo/tbccDemo" class="index-tbcc-btn">tbcc demo</navigator>
</view>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="closeRuleModal"><text>{{rule}}</text></rule-modal
>
<view class="index-start-btn" onTap="doShare">点击分享</view
>
<
common-modal-t1 a:if="{{commonModalVisible}}" data="{{commonModalData}}" onModalClose="closeCommonModal" onModalConfirm="confirmCommonModal" /
>
<
/view
>
<end-modal a:if="{{false}}" />
\ No newline at end of file
taobao_mini/client/pages/index/index.js
View file @
d07987ea
...
...
@@ -12,7 +12,7 @@ const SHARE_CONFIG = {
Page
({
doShare
()
{},
doShare
()
{
my
.
showSharePanel
();
},
data
:
{
},
...
...
taobao_mini/client/pages/invitePage/invitePage.acss
0 → 100755
View file @
d07987ea
.index-page {
min-height: 100vh;
}
.index-rule-btn, .index-myprize-btn {
position: absolute;
top: 30rpx;
width: 126rpx;
height: 48rpx;
line-height: 48rpx;
font-size: 22rpx;
background: rgba(0, 0, 0, 0.8);
color: #FFF;
text-align: center;
z-index: 5;
}
.index-rule-btn {
left: 0;
border-radius: 0 48rpx 48rpx 0;
}
.index-myprize-btn {
right: 0;
border-radius: 48rpx 0 0 48rpx;
}
.index-page__title {
font-size: 50rpx;
text-align: center;
padding: 100rpx 0 50rpx 0;
}
.index-page__content {
text-align: center;
font-size: 30rpx;
}
.index-page__tips {
padding-top: 40rpx;
text-align: center;
font-size: 22rpx;
}
.index-start-btn {
background: #0077a9;
color: #FFF;
width: 300rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 10rpx;
margin: 100rpx auto 50rpx auto;
font-size: 30rpx;
}
.index-tbcc-btn {
background: #0077a9;
color: #FFF;
width: 300rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
border-radius: 10rpx;
margin: 0 auto;
font-size: 30rpx;
}
.index-link-btn {
text-align: center;
color: #333;
font-size: 26rpx;
}
\ No newline at end of file
taobao_mini/client/pages/invitePage/invitePage.axml
0 → 100755
View file @
d07987ea
<view class="index-page">
<view class="index-page__tips">AM接口只支持PC端预览,手机淘宝预览需要使用云函数模式</view>
</view>
taobao_mini/client/pages/invitePage/invitePage.js
0 → 100755
View file @
d07987ea
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
commonToast
,
getAuthUserInfo
,
navigateToOutside
}
=
tbcc
.
tb
;
Page
({
data
:
{
},
onLoad
(
query
)
{
// 页面加载
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
}
});
taobao_mini/client/pages/invitePage/invitePage.json
0 → 100755
View file @
d07987ea
{
"usingComponents"
:
{
"rule-modal"
:
"/components/ruleModal/ruleModal"
,
"common-modal-t1"
:
"/components/commonModalT1/commonModalT1"
,
"end-modal"
:
"/components/endModal/endModal"
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment