diff --git a/apis/interfaces/index.js b/apis/interfaces/index.js
index 1d05bdf..44af6ec 100644
--- a/apis/interfaces/index.js
+++ b/apis/interfaces/index.js
@@ -6,6 +6,12 @@
import { request } from '../index'
+// 服务包首页app/services
+const index = () =>{
+ return request({
+ url: "app/services"
+ })
+}
// 金法分类
const categories = () =>{
return request({
@@ -27,6 +33,19 @@ const zf = (data) =>{
})
}
+// 自由服务包详情
+const recharge = () =>{
+ return request({
+ url: "app/services/recharge"
+ })
+}
+// // 自由服务包支付
+const zyPay = (id) =>{
+ return request({
+ url: "app/services/recharge/"+id+"/pay",
+ method:'post'
+ })
+}
// 服务包详情
const fwbDetail = (service) =>{
@@ -40,5 +59,8 @@ export {
jf,
zf,
fwbDetail,
+ index,
+ recharge,
+ zyPay,
}
diff --git a/pages.json b/pages.json
index 5cf8479..ce0513a 100644
--- a/pages.json
+++ b/pages.json
@@ -12,7 +12,20 @@
"name": "Introduces",
"style": {
"navigationStyle": "custom",
- "navigationBarTitleText": "介绍",
+ "navigationBarTitleText": "金法服务包介绍",
+ "app-plus": {
+ "titleNView": {
+ "backgroundColor": "#FFFFFF",
+ "type": "transparent"
+ }
+ }
+ }
+ },{
+ "path": "pages/index/free",
+ "name": "FreeService",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "自由服务包介绍",
"app-plus": {
"titleNView": {
"backgroundColor": "#FFFFFF",
diff --git a/pages/index/free.vue b/pages/index/free.vue
new file mode 100644
index 0000000..d2fc93a
--- /dev/null
+++ b/pages/index/free.vue
@@ -0,0 +1,95 @@
+
+
+
+ ¥{{base.price}} 立即购买
+ 已开通
+
+
+
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index c63c425..86ad7a0 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -7,12 +7,14 @@
class="banner-swiper"
:list="bannerArr"
:indicator="true"
+ keyName="cover"
previousMargin="20"
nextMargin="20"
circular
radius="10"
bgColor="#ffffff"
height="100%"
+ @click='swiperClick'
/>
@@ -22,7 +24,9 @@
-
+
-
@@ -61,7 +64,7 @@
>
{{item.title}}
- ¥{{item.price}}
+ ¥{{item.price}}定金
@@ -69,11 +72,10 @@
综法产品
-
-
+ 更多
-
+
2022年尊享综法服务包
@@ -87,7 +89,7 @@
@@ -221,7 +250,7 @@
flex-direction: row;
align-items: center;
.notice-title{
- background-color: #ECF0FF;
+ background-color: #ececec;
color: #000;
height: 60rpx;
line-height: 60rpx;
@@ -359,6 +388,12 @@
text{
font-size: 80%;
}
+ .ding{
+ font-size: 64%;
+ margin-left: 4rpx;
+ position: relative;
+ bottom: 2rpx;
+ }
}
}
}