diff --git a/gasStation-uni/pages/index/index.vue b/gasStation-uni/pages/index/index.vue
index 336897b14..0a982d520 100644
--- a/gasStation-uni/pages/index/index.vue
+++ b/gasStation-uni/pages/index/index.vue
@@ -30,7 +30,7 @@
领券中心
-
+
邀请有礼
@@ -261,6 +261,11 @@
tabbar
},
methods: {
+ goInvite() {
+ uni.navigateTo({
+ url: '/pagesMy/invite/invite'
+ })
+ },
goMyCard() {
uni.navigateTo({
url: '/pagesHome/MyCard/MyCard'
diff --git a/gasStation-uni/pagesMy/invite/invite.vue b/gasStation-uni/pagesMy/invite/invite.vue
index bc11379a9..a0ba378a6 100644
--- a/gasStation-uni/pagesMy/invite/invite.vue
+++ b/gasStation-uni/pagesMy/invite/invite.vue
@@ -14,7 +14,7 @@
分享二维码
-
+
奖励记录
@@ -25,7 +25,7 @@
推荐会员消费有礼
-
+
详情
@@ -56,7 +56,7 @@
适用门店
-
+
导航
@@ -65,11 +65,55 @@
-
-
+
@@ -90,13 +134,13 @@
title: '',
userId: '',
storeId: '',
- show: false,
+ show: true,
options: {
code: 'https://oilapi.youkerr.com/oily?storeId=' + uni.getStorageSync('storeId') + '&userId=' + uni
.getStorageSync('userId') + '&type=yaoqingyouli',
// code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + ' &userId=' + uni
// .getStorageSync('userId'), // 生成二维码的值
- size: 500, // 460代表生成的二维码的宽高均为460rpx
+ size: 400, // 460代表生成的二维码的宽高均为460rpx
},
}
@@ -166,6 +210,16 @@
this.getActiveRecommendRecords();
},
methods: {
+ goList() {
+ uni.navigateTo({
+ url: '/pagesMy/invite/list'
+ })
+ },
+ goDetails() {
+ uni.navigateTo({
+ url: '/pagesMy/invite/details'
+ })
+ },
// https://www.tuofeng.cc/oilStation?storeId=19&staffId=45
close() {
this.show = false
@@ -466,6 +520,8 @@
.d-s {
display: flex;
align-items: center;
+ justify-content: center;
+ margin: 15px auto;
}
.backf {
@@ -485,4 +541,68 @@
border-bottom: 1px solid #EEEEEE;
width: 100%;
}
-
+
+ .warp {
+ width: 100%;
+ height: 100vh;
+ position: relative;
+ }
+
+ .warp-bottom {
+ position: absolute;
+ left: 0px;
+ bottom: 0px;
+ background: #fff;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 10px;
+ border-radius: 10px 10px 10px 10px;
+ text-align: center;
+
+ }
+
+ .bott-box {
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+ box-sizing: border-box;
+ padding-bottom: 15px;
+ border-top: 1px solid #eee;
+ padding-top: 10px;
+ }
+
+ .bott_box {
+ box-sizing: border-box;
+ padding: 5px;
+ padding-bottom: 15px;
+
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
+
+ .warp-cent {
+ width: 85%;
+ background: #333;
+ position: absolute;
+ color: #fff;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ bottom: -5%;
+ box-sizing: border-box;
+ padding: 10px;
+ padding-bottom: 60px;
+ }
+
+ .tiitle_ {
+ font-weight: 600;
+ font-size: 16px;
+ color: #FFFFFF;
+ }
+
+ .title_or {
+ color: #eeb668;
+ text-align: center;
+ font-size: 28px;
+ }
+
\ No newline at end of file
diff --git a/gasStation-uni/pagesMy/invite/list.vue b/gasStation-uni/pagesMy/invite/list.vue
index 4cd7bccc8..9beca08e8 100644
--- a/gasStation-uni/pagesMy/invite/list.vue
+++ b/gasStation-uni/pagesMy/invite/list.vue
@@ -12,8 +12,25 @@
- {{item.name}}
+ {{item.name}}
+
+
+
+ 券名称
+ 2024-8-7
+
+
+
+
+
+
+
+
+ 名字
+
+ 2024-8-7
+
@@ -67,6 +84,9 @@
},
methods: {
+ setIndex(num) {
+ this.tindex = num
+ },
//滞空方法
resetting() {
this.pageNo = 1
@@ -151,11 +171,50 @@
font-weight: 600;
font-size: 16px;
color: #333333;
+ box-sizing: border-box;
+ padding-bottom: 10px;
border-bottom: 1px solid transparent;
+
}
.orsize {
color: #FA6400;
border-bottom: 1px solid #FA6400;
}
+
+ .whit-box {
+ width: 95%;
+ background: #fff;
+ margin: 15px;
+
+ }
+
+ .one_h {
+ width: 100%;
+ box-sizing: border-box;
+ padding: 10px;
+ border-bottom: 1px solid #eee;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
+
+ .touxiang {
+ width: 40px;
+ height: 40px;
+ overflow: hidden;
+ border-radius: 50%;
+ margin-right: 10px;
+
+ image {
+ width: 40px;
+ height: 40px;
+
+ }
+ }
+
+ .d-s {
+ display: flex;
+ align-items: center;
+ }
\ No newline at end of file
diff --git a/gasStation-uni/static/my/fzlj.png b/gasStation-uni/static/my/fzlj.png
new file mode 100644
index 000000000..a0f3ed1a0
Binary files /dev/null and b/gasStation-uni/static/my/fzlj.png differ
diff --git a/gasStation-uni/static/my/fztp.png b/gasStation-uni/static/my/fztp.png
new file mode 100644
index 000000000..3f48c9ef5
Binary files /dev/null and b/gasStation-uni/static/my/fztp.png differ