Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
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
android
uniapp_vedio
Commits
e4cda068
Commit
e4cda068
authored
Jun 07, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请好友id修改,代码优化
parent
b04a2ad6
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
724 additions
and
692 deletions
+724
-692
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+6
-6
index.vue
vedio/components/home/index.vue
+33
-1
task.vue
vedio/pagesA/task/task.vue
+679
-679
vipPay.vue
vedio/pagesA/vipPay/vipPay.vue
+5
-5
invite.vue
vedio/pagesD/invite/invite.vue
+1
-1
No files found.
vedio/components/coin-popup/coin-popup.vue
View file @
e4cda068
...
...
@@ -88,7 +88,7 @@
<view
style=
"display: flex;flex-direction: column;align-items: center;"
>
<view
style=
"font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;"
>
订单中如有疑问,请
在个人中心联系客服
</view>
订单中如有疑问,请
跳转【我的】页面
</view>
</view>
</scroll-view>
</view>
...
...
@@ -199,10 +199,10 @@
this
.
handlePay
();
},
handlePay
()
{
if
(
this
.
os
==
'ios'
)
{
message
.
notify
(
'暂不支持ios支付'
);
return
}
//
if (this.os == 'ios') {
//
message.notify('暂不支持ios支付');
//
return
//
}
let
that
=
this
;
let
vipBean
=
this
.
vipList
[
this
.
selectedIndex
];
...
...
@@ -273,7 +273,7 @@
}
message
.
notify
(
res
.
errMsg
);
//
message.notify(res.errMsg);
},
});
}
else
{
...
...
vedio/components/home/index.vue
View file @
e4cda068
...
...
@@ -227,6 +227,10 @@
<view
class=
"box-wrap"
>
<image
class=
"img1"
@
click=
"handleTaskPage"
:src=
"boxImgUrl"
></image>
</view>
<view
v-if=
"false"
class=
"box-cebianlan"
>
<image
class=
"img2"
@
click=
"handleCebianlan"
:src=
"ceImgUrl"
></image>
</view>
<!--
<uni-popup
type=
"center"
ref=
"select"
>
...
...
@@ -286,7 +290,8 @@
showMask
:
false
,
maskImage1
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find1.png'
,
maskImage2
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find2.png'
,
boxImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
boxImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
ceImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
statusBarHeight
:
app
.
globalData
.
statusBarHeight
,
};
},
...
...
@@ -422,6 +427,19 @@
},
handleTaskPage
()
{
navigateTo
(
`/pagesA/task/task`
)
},
handleCebianlan
()
{
tt
.
navigateToScene
({
scene
:
'sidebar'
,
activity
:
'7377634523393769484'
,
// 需改成自己小程序生效中的activity id。activity 为可选项,不填或者填写错误 id,会表现为兜底样式
success
:
(
data
)
=>
{
console
.
log
(
data
)
},
fail
:
(
data
)
=>
{
console
.
log
(
data
)
}
})
},
showFirstDialog
()
{
let
that
=
this
;
...
...
@@ -529,5 +547,19 @@
width
:
100rpx
;
height
:
100rpx
;
}
}
.box-cebianlan
{
height
:
100rpx
;
width
:
120rpx
;
right
:
0
;
bottom
:
400rpx
;
position
:
absolute
;
z-index
:
999
;
.img2
{
width
:
100rpx
;
height
:
100rpx
;
}
}
</
style
>
\ No newline at end of file
vedio/pagesA/task/task.vue
View file @
e4cda068
This diff is collapsed.
Click to expand it.
vedio/pagesA/vipPay/vipPay.vue
View file @
e4cda068
...
...
@@ -263,10 +263,10 @@
// this.$refs.alertDialog.open();
},
handlePay
()
{
if
(
this
.
os
==
'ios'
)
{
message
.
notify
(
'暂不支持ios支付'
);
return
}
//
if (this.os == 'ios') {
//
message.notify('暂不支持ios支付');
//
return
//
}
let
that
=
this
;
let
vipBean
=
this
.
pointList
[
this
.
selectedIndex
];
if
(
this
.
selectedIndex
==
-
1
)
{
...
...
@@ -302,7 +302,7 @@
that
.
ttPay
(
largeType
,
res
.
orderId
,
ttData
);
},
fail
(
res
)
{
message
.
notify
(
res
.
errMsg
);
//
message.notify(res.errMsg);
console
.
log
(
'requestOrder res.errMsg'
,
res
)
},
});
...
...
vedio/pagesD/invite/invite.vue
View file @
e4cda068
...
...
@@ -96,7 +96,7 @@
desc
:
''
,
path
:
this
.
share
.
path
+
getApp
().
globalData
.
userId
,
imageUrl
:
this
.
share
.
imageUrl
,
templateId
:
"
920405b4ghj2fla2gc
"
,
templateId
:
"
l71480kcg8lhn19i5b
"
,
success
()
{
message
.
notify
(
'分享成功'
);
...
...
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