Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
58ec7a26
Commit
58ec7a26
authored
Jul 28, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成隐私协议开发
parent
d8ec07d8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
207 additions
and
29 deletions
+207
-29
components/OrderQrCode/index.vue
+71
-1
mineSubPackage/pages/coupon/index.vue
+0
-24
orderSubPackage/pages/orderInfo/index.vue
+62
-3
orderSubPackage/pages/showhow/index.vue
+66
-0
orderSubPackage/pages/terms/index.vue
+0
-0
pages.json
+7
-0
pages/menu/menu.vue
+1
-1
No files found.
components/OrderQrCode/index.vue
View file @
58ec7a26
...
...
@@ -14,7 +14,21 @@
</div>
<!--
<view
class=
"status_text"
v-if=
"showMask"
>
——制作完成后才能扫哦——
</view>
-->
<div
class=
"flow_describe"
>
<view
class=
"title"
>
扫码流程
</view>
<view
class=
"titleBox"
>
<view
class=
"qrcodeTitle"
>
<view
class=
"title"
>
扫码流程
</view>
<view
class=
"icon"
>
<u-icon
name=
"question-circle"
color=
"#999999"
:size=
"getPx(34)"
></u-icon>
</view>
</view>
<view
class=
"right"
@
click=
"goShow()"
>
<view
class=
"Text"
>
<view>
查看实景演示
</view>
<image
class=
"arrow"
:style=
"
{'height':'18rpx','width':'10rpx'}" :src="'../../static/imgs/jiantouhei.png'" />
</view>
</view>
</view>
<image
:mode=
"'aspectFit'"
class=
"flow_img"
:src=
"'/static/imgs/saomaliucheng.png'"
></image>
</div>
...
...
@@ -89,6 +103,14 @@ export default {
},
methods
:
{
goShow
()
{
uni
.
navigateTo
({
url
:
'/orderSubPackage/pages/showhow/index'
})
},
getPx
(
rpx
)
{
// console.log((rpx * (wx.getSystemInfoSync().windowWidth / 750)));
// console.log(wx.getSystemInfoSync().windowWidth);
return
rpx
*
(
wx
.
getSystemInfoSync
().
windowWidth
/
750
);
},
start
(
e
)
{
this
.
clientYStart
=
e
.
changedTouches
[
0
].
clientY
},
...
...
@@ -243,11 +265,35 @@ export default {
}
}
.flow_describe
{
width
:
100%
;
height
:
300
rpx
;
padding-left
:
31
rpx
;
.titleBox
{
display
:
flex
;
align-items
:
flex-end
;
.qrcodeTitle
{
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
center
;
.title
{
height
:
40
rpx
;
line-height
:
40
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#000000
;
}
.icon
{
margin-left
:
16
rpx
;
}
}
.title
{
font-size
:
28
rpx
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
...
...
@@ -255,6 +301,28 @@ export default {
color
:
#000000
;
}
.right
{
display
:
flex
;
margin-left
:
8
rpx
;
.Text
{
font-size
:
20
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#999999
;
display
:
flex
;
align-items
:
center
;
}
.arrow
{
margin-left
:
8
rpx
;
}
}
}
.flow_img
{
padding
:
18
rpx
32
rpx
0
rpx
32.83
rpx
;
width
:
590
rpx
;
...
...
@@ -263,6 +331,8 @@ export default {
}
}
}
.flow_describe_tips
{
margin-top
:
100
rpx
;
...
...
mineSubPackage/pages/coupon/index.vue
View file @
58ec7a26
<
template
>
<view
class=
"bigBox"
>
<!--
<u-tabs
:list=
"list1"
:scrollable=
"false"
lineColor=
"#0050F6"
lineWidth=
"32"
lineHeight=
"2"
:activeStyle=
"
{
fontSize: '24rpx',
fontFamily: 'PingFangSC-Medium, PingFang SC',
color: '#333333',
fontWeight: '500',
paddingBottom: '12rpx',
}"
:inactiveStyle="{
fontSize: '24rpx',
fontFamily: 'PingFangSC-Medium, PingFang SC',
color: '#666666',
fontWeight: '400',
paddingBottom: '12rpx',
}"
itemStyle="height: 64rpx"
@click="changeTab"
>
</u-tabs>
-->
<Tabs
:list=
'list1'
@
changeTab=
"changeTab"
:newIndex=
"current"
/>
<view>
<swiper
:current=
"current"
class=
"swiper"
@
change=
"swiperChange"
>
...
...
orderSubPackage/pages/orderInfo/index.vue
View file @
58ec7a26
...
...
@@ -31,7 +31,20 @@
<!--
<view
class=
"scan_tips"
v-if=
"qrTextShow"
>
——制作完成后才能扫哦——
</view>
-->
<canvas
v-if=
"qrShow"
class=
"canvas-code"
canvas-id=
"myQrcode"
style=
"background:#fff;width: 200px;height: 200px; display:block; left:-800rpx;position:absolute;"
/>
<div
v-if=
"qrShow"
class=
"flow_describe"
>
<view
class=
"title"
>
扫码流程
</view>
<view
class=
"titleBox"
>
<view
class=
"qrcodeTitle"
>
<view
class=
"title"
>
扫码流程
</view>
<view
class=
"icon"
>
<u-icon
name=
"question-circle"
color=
"#999999"
:size=
"getPx(34)"
></u-icon>
</view>
</view>
<view
class=
"right"
@
click=
"goShow()"
>
<view
class=
"Text"
>
<view>
查看实景演示
</view>
<image
class=
"arrow"
:style=
"
{'height':'18rpx','width':'10rpx'}" :src="'../../../static/imgs/jiantouhei.png'" />
</view>
</view>
</view>
<image
:mode=
"'aspectFit'"
class=
"flow_img"
src=
"/static/imgs/saomaliucheng.png"
/>
</div>
</div>
...
...
@@ -132,6 +145,9 @@ export default {
}
},
methods
:
{
goShow
()
{
uni
.
navigateTo
({
url
:
'/orderSubPackage/pages/showhow/index'
})
},
refundInfo
()
{
const
{
id
}
=
this
.
orderInfo
uni
.
setStorageSync
(
'orderId'
,
id
);
...
...
@@ -526,15 +542,58 @@ export default {
padding-right
:
32
rpx
;
padding-bottom
:
60
rpx
;
.titleBox
{
display
:
flex
;
align-items
:
flex-end
;
.qrcodeTitle
{
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
center
;
.title
{
height
:
40
rpx
;
line-height
:
40
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#000000
;
}
.icon
{
margin-left
:
8
rpx
;
}
}
.title
{
height
:
40
rpx
;
line-height
:
40
rpx
;
font-size
:
28
rpx
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#000000
;
}
.right
{
display
:
flex
;
margin-left
:
8
rpx
;
.Text
{
font-size
:
20
rpx
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#999999
;
display
:
flex
;
align-items
:
center
;
}
.arrow
{
margin-left
:
8
rpx
;
}
}
}
.flow_img
{
padding
:
18
rpx
0
rpx
0
rpx
32
rpx
;
width
:
592
rpx
;
...
...
orderSubPackage/pages/showhow/index.vue
0 → 100644
View file @
58ec7a26
<
template
>
<view
class=
"bigBox"
>
<Tabs
:list=
'list1'
@
changeTab=
"changeTab"
:newIndex=
"current"
/>
<view>
<swiper
:current=
"current"
class=
"swiper"
@
change=
"swiperChange"
>
<swiper-item>
<view
class=
"list"
>
图片演示
</view>
</swiper-item>
<swiper-item>
<view
class=
"list"
>
视频演示
</view>
</swiper-item>
</swiper>
</view>
</view>
</
template
>
<
script
>
import
Ticket
from
'@/components/Ticket/index.vue'
import
Tabs
from
'@/components/Tabs/index.vue'
export
default
{
components
:
{
Ticket
,
Tabs
},
data
()
{
return
{
list1
:
[
{
name
:
"图片演示"
,
},
{
name
:
"视频演示"
,
},
],
nouserList
:[],
current
:
0
,
actionIndx
:
0
};
},
mounted
(){
},
methods
:
{
changeTab
(
current
)
{
this
.
current
=
current
;
},
swiperChange
(
val
){
this
.
current
=
val
.
detail
.
current
;
}
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.bigBox
{
.swiper
{
background
:
#F8F8F8
;
height
:
calc
(
100vh
-
64
rpx
);
.list{
height
:
100%
;
padding
:
0
rpx
32
rpx
;
overflow-y
:
scroll
;
}
}
}
</
style
>
orderSubPackage/pages/terms/index.vue
View file @
58ec7a26
This diff is collapsed.
Click to expand it.
pages.json
View file @
58ec7a26
...
...
@@ -87,6 +87,13 @@
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
false
}
},
{
"path"
:
"pages/showhow/index"
,
"style"
:
{
"navigationBarTitleText"
:
"实景演示"
,
"enablePullDownRefresh"
:
false
}
}
]
},
...
...
pages/menu/menu.vue
View file @
58ec7a26
...
...
@@ -57,7 +57,7 @@
style=
"background:#fff;width: 200px;height: 200px; display:block; left:-800rpx;position:absolute;"
/>
<show-toast
ref=
"toast"
/>
<taBar
select=
"0"
></taBar>
<ShopCar
ref=
"shopbar"
:shopState=
"shopInfo.state"
>
<ShopCar
ref=
"shopbar"
:shopState=
"shopInfo.state"
/
>
</view>
</
template
>
<
script
>
...
...
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