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
2de4e7ea
Commit
2de4e7ea
authored
Sep 21, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
79bd3a5f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
299 additions
and
7 deletions
+299
-7
pageshop.jsx
project/src/pages/pageshop/pageshop.jsx
+31
-0
pageshop.less
project/src/pages/pageshop/pageshop.less
+99
-0
app.json
taobao_mini/client/app.json
+6
-3
pageshop.acss
taobao_mini/client/pages/pageshop/pageshop.acss
+99
-0
pageshop.axml
taobao_mini/client/pages/pageshop/pageshop.axml
+13
-0
pageshop.js
taobao_mini/client/pages/pageshop/pageshop.js
+14
-0
pageshop.json
taobao_mini/client/pages/pageshop/pageshop.json
+3
-0
resList.js
taobao_mini/client/resconfig/resList.js
+34
-4
No files found.
project/src/pages/pageshop/pageshop.jsx
0 → 100644
View file @
2de4e7ea
'use strict'
;
import
React
,
{
Component
}
from
'react'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
'./pageshop.less'
;
class
Pageshop
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
this
.
state
||
{
resList
:
resList
};
}
render
()
{
return
(
<
div
className=
"shop"
>
<
img
className=
"shopbg"
src=
{
this
.
state
.
resList
[
'da6bc001-768a-4b1c-95af-a9a8853ef6f9'
].
url
}
/>
<
div
className=
"shopitem"
>
<
img
className=
"shopitem_bg2"
src=
{
this
.
state
.
resList
[
'a5230993-3870-4a91-bdd1-ffc4782770d0'
].
url
}
/>
<
img
className=
"shopitem_bg1"
src=
{
this
.
state
.
resList
[
'dd4ee407-16e4-4cb7-9eba-365b33f466a3'
].
url
}
/>
<
img
className=
"shopitem_disabledbtn"
src=
{
this
.
state
.
resList
[
'8d08152f-311a-446a-a15a-ff02ebed0139'
].
url
}
/>
<
img
className=
"shopitem_buybtn"
src=
{
this
.
state
.
resList
[
'dd8ea96e-e33f-4f5d-b31f-29f332c3c867'
].
url
}
/>
<
span
className=
"shopitem_txt"
>
101010
</
span
>
<
span
className=
"shopitem_name"
>
商品名商品名商品名
</
span
>
</
div
>
<
span
className=
"shop_gold"
>
101010
</
span
>
<
img
className=
"shop_backbtn"
src=
{
this
.
state
.
resList
[
'bdab9777-8a4d-4659-ba23-66aaddb7fa5b'
].
url
}
/>
</
div
>
);
}
}
export
default
Pageshop
;
project/src/pages/pageshop/pageshop.less
0 → 100644
View file @
2de4e7ea
.shop {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.shopbg {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.shopitem {
width: 309px;
height: 324px;
opacity: 1;
left: 54px;
top: 254px;
position: absolute;
transform-origin: 0px 0px 0px;
.shopitem_bg2 {
width: 309px;
height: 324px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.shopitem_bg1 {
width: 224px;
height: 161px;
opacity: 1;
left: 45px;
top: 29px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.shopitem_disabledbtn {
width: 209px;
height: 60px;
opacity: 1;
left: 49px;
top: 241px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.shopitem_buybtn {
width: 217px;
height: 68px;
opacity: 1;
left: 45px;
top: 237px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.shopitem_txt {
width: 88px;
height: 20px;
opacity: 1;
left: 136px;
top: 261px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 21.79723px;
color: rgba(71, 69, 67, 1);
}
.shopitem_name {
width: 209px;
height: 23px;
opacity: 1;
left: 51px;
top: 203px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 20.12052px;
color: rgba(71, 69, 67, 1);
}
}
.shop_gold {
width: 98px;
height: 21px;
opacity: 1;
left: 348px;
top: 151px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 23.47394px;
color: rgba(123, 100, 78, 1);
}
.shop_backbtn {
width: 67px;
height: 67px;
opacity: 1;
left: 48px;
top: 41px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
\ No newline at end of file
taobao_mini/client/app.json
View file @
2de4e7ea
{
{
"pages"
:
[
"pages/pagecanvas/pagecanvas"
],
"pages"
:
[
"pages/pageshop/pageshop"
,
"pages/pagecanvas/pagecanvas"
],
"window"
:
{
"window"
:
{
"enableSkia"
:
"true"
,
"enableSkia"
:
"true"
,
"allowsBounceVertical"
:
"NO"
"allowsBounceVertical"
:
"NO"
}
}
}
}
\ No newline at end of file
taobao_mini/client/pages/pageshop/pageshop.acss
0 → 100644
View file @
2de4e7ea
.shop {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopbg {
width: 750rpx;
height: 1624rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopitem {
width: 309rpx;
height: 324rpx;
opacity: 1;
left: 54rpx;
top: 254rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopitem .shopitem_bg2 {
width: 309rpx;
height: 324rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopitem .shopitem_bg1 {
width: 224rpx;
height: 161rpx;
opacity: 1;
left: 45rpx;
top: 29rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopitem .shopitem_disabledbtn {
width: 209rpx;
height: 60rpx;
opacity: 1;
left: 49rpx;
top: 241rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopitem .shopitem_buybtn {
width: 217rpx;
height: 68rpx;
opacity: 1;
left: 45rpx;
top: 237rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shop .shopitem .shopitem_txt {
width: 88rpx;
height: 20rpx;
opacity: 1;
left: 136rpx;
top: 261rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 21.79723rpx;
color: #474543;
}
.shop .shopitem .shopitem_name {
width: 209rpx;
height: 23rpx;
opacity: 1;
left: 51rpx;
top: 203rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 20.12052rpx;
color: #474543;
}
.shop .shop_gold {
width: 98rpx;
height: 21rpx;
opacity: 1;
left: 348rpx;
top: 151rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
font-size: 23.47394rpx;
color: #7b644e;
}
.shop .shop_backbtn {
width: 67rpx;
height: 67rpx;
opacity: 1;
left: 48rpx;
top: 41rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
taobao_mini/client/pages/pageshop/pageshop.axml
0 → 100644
View file @
2de4e7ea
<view class="shop">
<image class="shopbg" src={{resList['da6bc001-768a-4b1c-95af-a9a8853ef6f9'].url}} />
<view class="shopitem">
<image class="shopitem_bg2" src={{resList['a5230993-3870-4a91-bdd1-ffc4782770d0'].url}} />
<image class="shopitem_bg1" src={{resList['dd4ee407-16e4-4cb7-9eba-365b33f466a3'].url}} />
<image class="shopitem_disabledbtn" src={{resList['8d08152f-311a-446a-a15a-ff02ebed0139'].url}} />
<image class="shopitem_buybtn" src={{resList['dd8ea96e-e33f-4f5d-b31f-29f332c3c867'].url}} />
<label class="shopitem_txt">101010</label>
<label class="shopitem_name">商品名商品名商品名</label>
</view>
<label class="shop_gold">101010</label>
<image class="shop_backbtn" src={{resList['bdab9777-8a4d-4659-ba23-66aaddb7fa5b'].url}} />
</view>
\ No newline at end of file
taobao_mini/client/pages/pageshop/pageshop.js
0 → 100644
View file @
2de4e7ea
'use strict'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
Page
({
data
:
{},
onLoad
(
props
)
{
this
.
setData
(
{
resList
:
resList
});
}
});
\ No newline at end of file
taobao_mini/client/pages/pageshop/pageshop.json
0 → 100644
View file @
2de4e7ea
{
"usingComponents"
:
{}
}
\ No newline at end of file
taobao_mini/client/resconfig/resList.js
View file @
2de4e7ea
const
resList
=
{
const
resList
=
{
'
4ee17a9c-5deb-43be-b205-16fb7593d172
'
:
{
'
da6bc001-768a-4b1c-95af-a9a8853ef6f9
'
:
{
name
:
's
park
'
,
name
:
's
hopbg
'
,
ext
:
'.png'
,
ext
:
'.png'
,
url
:
'//yun.duiba.com.cn/spark/assets/spark.810e94665ad6f7d7684f9b25b764e040a0cce7bf.png'
,
uuid
:
'da6bc001-768a-4b1c-95af-a9a8853ef6f9'
,
uuid
:
'4ee17a9c-5deb-43be-b205-16fb7593d172'
url
:
'//yun.duiba.com.cn/spark/assets/6a461b8ff4f9b24bc90fe9e17dc3391dbfd420e6.png'
},
'a5230993-3870-4a91-bdd1-ffc4782770d0'
:
{
name
:
'shopitem_bg2'
,
ext
:
'.png'
,
uuid
:
'a5230993-3870-4a91-bdd1-ffc4782770d0'
,
url
:
'//yun.duiba.com.cn/spark/assets/e1a7446456bb22488dcc42bb94a3961c470cf442.png'
},
'dd4ee407-16e4-4cb7-9eba-365b33f466a3'
:
{
name
:
'shopitem_bg1'
,
ext
:
'.png'
,
uuid
:
'dd4ee407-16e4-4cb7-9eba-365b33f466a3'
,
url
:
'//yun.duiba.com.cn/spark/assets/f90a0b8ea796bfeb62e7e9e3e9bdb3352f0141be.png'
},
'8d08152f-311a-446a-a15a-ff02ebed0139'
:
{
name
:
'shopitem_disabledBtn'
,
ext
:
'.png'
,
uuid
:
'8d08152f-311a-446a-a15a-ff02ebed0139'
,
url
:
'//yun.duiba.com.cn/spark/assets/f2a7998fe41e2645e019d30ee9605c5dadb024c5.png'
},
'dd8ea96e-e33f-4f5d-b31f-29f332c3c867'
:
{
name
:
'shopitem_buybtn'
,
ext
:
'.png'
,
uuid
:
'dd8ea96e-e33f-4f5d-b31f-29f332c3c867'
,
url
:
'//yun.duiba.com.cn/spark/assets/7a18d8117c5fed8975ebc31d60771c52bb1f1f8d.png'
},
'bdab9777-8a4d-4659-ba23-66aaddb7fa5b'
:
{
name
:
'shop_backbtn'
,
ext
:
'.png'
,
uuid
:
'bdab9777-8a4d-4659-ba23-66aaddb7fa5b'
,
url
:
'//yun.duiba.com.cn/spark/assets/368892ca025f9fc6100cc5e7da22675a814db39f.png'
}
}
};
};
export
default
resList
;
export
default
resList
;
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