diff --git a/common/styles/sharedIconFont.css b/common/styles/sharedIconFont.css
index 4347a6f..eb45c93 100644
--- a/common/styles/sharedIconFont.css
+++ b/common/styles/sharedIconFont.css
@@ -1,18 +1,26 @@
@font-face {
- font-family: "lf-iconfont"; /* Project id 2758976 */
- src: url('//at.alicdn.com/t/font_2758976_9bezuvselm.woff2?t=1629452232587') format('woff2'),
- url('//at.alicdn.com/t/font_2758976_9bezuvselm.woff?t=1629452232587') format('woff'),
- url('//at.alicdn.com/t/font_2758976_9bezuvselm.ttf?t=1629452232587') format('truetype');
+ font-family: "le"; /* Project id 2758976 */
+ src: url('//at.alicdn.com/t/font_2758976_blqjbbep8zo.woff2?t=1629876001355') format('woff2'),
+ url('//at.alicdn.com/t/font_2758976_blqjbbep8zo.woff?t=1629876001355') format('woff'),
+ url('//at.alicdn.com/t/font_2758976_blqjbbep8zo.ttf?t=1629876001355') format('truetype');
}
-.lf-iconfont {
- font-family: "lf-iconfont" !important;
+.le {
+ font-family: "le" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
+.lf-icon-xingxing-kong:before {
+ content: "\e649";
+}
+
+.lf-icon-xingxing-shi:before {
+ content: "\e651";
+}
+
.lf-icon-shanchu:before {
content: "\e674";
}
diff --git a/components/lf-rate/lf-rate.vue b/components/lf-rate/lf-rate.vue
new file mode 100644
index 0000000..522c0bd
--- /dev/null
+++ b/components/lf-rate/lf-rate.vue
@@ -0,0 +1,281 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ valueSync }}
+
+
+
+
+
+
+
diff --git a/pages/my/getRedLine - 第一版卡片形式.vue b/pages/my/getRedLine - 第一版卡片形式.vue
new file mode 100644
index 0000000..c32f4ca
--- /dev/null
+++ b/pages/my/getRedLine - 第一版卡片形式.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+ 有效3天
+
+
+
+ 套餐一:实用
+
+ 套餐一:实实用实用实用实用实用实用用
+ 6.5折
+
+
+ 红线数:
+ 1根
+
+
+
+ ¥30.00
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/my/getRedLine.vue b/pages/my/getRedLine.vue
index c32f4ca..f57eda2 100644
--- a/pages/my/getRedLine.vue
+++ b/pages/my/getRedLine.vue
@@ -1,28 +1,24 @@
-
-
-
- 有效3天
+
+
+ 套餐一:实实用用
+ 6.5折
-
+
+ 红线数:
+ 1根
+
+
+ 有效时间:
+ 3天
+
+
- 套餐一:实用
-
- 套餐一:实实用实用实用实用实用实用用
- 6.5折
-
-
- 红线数:
- 1根
-
-
¥30.00
-
-
-
+ 立即购买
@@ -52,91 +48,60 @@
height: max-content;
padding: 30rpx 32rpx;
box-sizing: border-box;
- display: flex;
- flex-wrap: wrap;
.card{
- width: 333rpx;
+ width: 686rpx;
height: max-content;
background-color: #FFFFFF;
- box-shadow: 0rpx -2rpx 20rpx 2rpx rgba(0, 0, 0, 0.07);
+ box-shadow: 0rpx 2rpx 4rpx 2rpx rgba(0, 0, 0, 0.07);
border-radius: 10rpx;
- overflow: hidden;
- margin-right: 20rpx;
- &:nth-child(2n){
- margin-right: 0;
+ padding: 30rpx;
+ box-sizing: border-box;
+ &:nth-child(n+2){
+ margin-top: 30rpx;
}
- &:nth-child(n+3){
- margin-top: 20rpx;
+ .title{
+ font-size: 28rpx;
+ font-weight: bold;
+ color: #222222;
+ margin-right: 15rpx;
}
- .cover{
- width: 100%;
- height: 260rpx;
- position: relative;
- .tips{
- position: absolute;
- left: 0;
- top: 0;
- width: 111rpx;
- height: 33rpx;
- background: linear-gradient(180deg, #FE3EA5 0%, #FE7350 100%);
- border-radius: 10rpx 0rpx 5rpx 0rpx;
- color: #FFFFFF;
- font-size: 24rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- }
+ .label{
+ display: inline-block;
+ width: 84rpx;
+ height: 33rpx;
+ border-radius: 3rpx;
+ border: 2rpx solid #E21196;
+ font-size: 24rpx;
+ color: #E21196;
+ text-align: center;
+ line-height: 29rpx;
}
- .info{
- padding: 15rpx;
- box-sizing: border-box;
- position: relative;
- .title{
- font-size: 28rpx;
- font-weight: bold;
- color: #222222;
- margin-right: 15rpx;
- }
- .label{
- display: inline-block;
- width: 84rpx;
- height: 33rpx;
- border-radius: 3rpx;
- border: 2rpx solid #E21196;
- font-size: 24rpx;
- color: #E21196;
- text-align: center;
- line-height: 29rpx;
- }
- .original-price{
- margin-left: 15rpx;
- color: #777777;
- font-size: 24rpx;
- text-decoration: line-through;
- }
- .float-btn{
- position: absolute;
- width: 45rpx;
- height: 45rpx;
- padding: 15rpx;
- right: 0;
- bottom: 10rpx;
- box-sizing: content-box;
- button{
- width: 100%;
- height: 100%;
- border-radius: 50%;
- background: #E21196;
- margin: 0;
- padding: 0;
- font-size: 24rpx;
- color: #FFFFFF;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- }
+ .original-price{
+ margin-left: 15rpx;
+ color: #777777;
+ font-size: 24rpx;
+ text-decoration: line-through;
}
+ .btn{
+ width: 130rpx;
+ height: 43rpx;
+ background: linear-gradient(180deg, #FE3EA5 0%, #FE7350 100%);
+ border-radius: 22rpx;
+ font-size: 24rpx;
+ color: #FFFFFF;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+ }
+ .bg-color1{
+ background-color: #FFF7FC;
+ }
+ .bg-color2{
+ background-color: #FFF4F2;
+ }
+ .bg-color3{
+ background-color: #F2FAFF;
}
}
diff --git a/pages/my/index.vue b/pages/my/index.vue
index a055924..a221e27 100644
--- a/pages/my/index.vue
+++ b/pages/my/index.vue
@@ -104,9 +104,10 @@
showCancel: false,
cancelText: '我知道了',
confirmColor: '#E21196',
- success: function (res) {
+ success: res => {
if (res.confirm) {
console.log('用户点击确定');
+ this.$url('/pages/my/getRedLine');
}
}
});
diff --git a/pages/test/test.vue b/pages/test/test.vue
index 4d70d8c..a0644f2 100644
--- a/pages/test/test.vue
+++ b/pages/test/test.vue
@@ -33,6 +33,10 @@
点击此处打开时间选择组件
+
+
+
+
@@ -44,9 +48,10 @@