Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
junlebao-milk-20240619
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
junlebao-milk-20240619
Commits
1bcb1a71
Commit
1bcb1a71
authored
Jun 21, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
1d6b0893
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
36 deletions
+40
-36
app.less
miniprogram/app.less
+2
-16
GetPanel.less
miniprogram/components/GetPanel/GetPanel.less
+17
-16
GetPanel.wxml
miniprogram/components/GetPanel/GetPanel.wxml
+13
-3
index.json
miniprogram/pages/index/index.json
+2
-1
index.ts
miniprogram/pages/index/index.ts
+3
-0
index.wxml
miniprogram/pages/index/index.wxml
+3
-0
No files found.
miniprogram/app.less
View file @
1bcb1a71
@import "common.less";
/**app.wxss**/
.container {
height: 100%;
...
...
@@ -8,19 +10,3 @@
padding: 200rpx 0;
box-sizing: border-box;
}
.common_view_hover {
transform: scale(0.95);
}
.modal_bg {
width: 750rpx;
height: 1624rpx;
z-index: 10;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
}
\ No newline at end of file
miniprogram/components/GetPanel/GetPanel.less
View file @
1bcb1a71
/* components/GetPanel/GetPanel.wxss */
.get_panel {
@import "common.less";
.get_panel {
.get_panel_light {
background-image: url("//yun.duiba.com.cn/polaris/light.d591aa526458eee83020d5f1ebb798a754acaa62.png");
background-size: 100% 100%;
position: absolute;
left: 0;
top: 229px;
width: 750px;
height: 1074px;
top: 229
r
px;
width: 750
r
px;
height: 1074
r
px;
}
.get_panel_bg {
background-image: url("//yun.duiba.com.cn/polaris/bg.a97b7a5db215d3f7bba1546b293108efe6e68497.png");
background-size: 100% 100%;
position: absolute;
left: 14px;
top: 432px;
width: 722px;
height: 647px;
left: 14
r
px;
top: 432
r
px;
width: 722
r
px;
height: 647
r
px;
}
.get_panel_btn {
background-image: url("//yun.duiba.com.cn/polaris/btn.b2b29b3031088fac7e997e963e3ff9aef367176c.png");
background-size: 100% 100%;
position: absolute;
left: 164px;
top: 885px;
width: 422px;
height: 109px;
left: 164
r
px;
top: 885
r
px;
width: 422
r
px;
height: 109
r
px;
}
.get_panel_close {
background-image: url("//yun.duiba.com.cn/polaris/close.7932d4af726237a9aec1c39049703d353f7509f0.png");
background-size: 100% 100%;
position: absolute;
left: 347px;
top: 1090px;
width: 56px;
height: 56px;
left: 347
r
px;
top: 1090
r
px;
width: 56
r
px;
height: 56
r
px;
}
...
...
miniprogram/components/GetPanel/GetPanel.wxml
View file @
1bcb1a71
<view class="
modal_bg get_panel
">
<view class="
get_panel modal_bg
">
<view class="get_panel_light"/>
<view class="get_panel_bg"/>
<view class="get_panel_btn"/>
<view class="get_panel_close"/>
<view
class="get_panel_btn"
hover-class="common_view_hover"
hover-start-time="0"
hover-stay-time="0"
/>
<view
class="get_panel_close"
hover-class="common_view_hover"
hover-start-time="0"
hover-stay-time="0"
/>
</view>
miniprogram/pages/index/index.json
View file @
1bcb1a71
{
"usingComponents"
:
{
"navigation-bar"
:
"/components/navigation-bar/navigation-bar"
"navigation-bar"
:
"/components/navigation-bar/navigation-bar"
,
"get-panel"
:
"/components/GetPanel/GetPanel"
}
}
\ No newline at end of file
miniprogram/pages/index/index.ts
View file @
1bcb1a71
...
...
@@ -27,6 +27,9 @@ ComponentWithStore({
},
methods
:{
closeGetPanel
()
{
},
// 事件处理函数
bindViewTap
()
{
wx
.
navigateTo
({
...
...
miniprogram/pages/index/index.wxml
View file @
1bcb1a71
...
...
@@ -35,4 +35,7 @@
<view class="usermotto">
<text class="user-motto">{{homeInfo.name}}</text>
</view> -->
<get-panel wx:if="{{true}}" bind:close="closeGetPanel" />
</view>
\ 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