diff --git a/apis/interfaces/index.js b/apis/interfaces/index.js index a9029cd..7b9901c 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/new_file.json b/new_file.json new file mode 100644 index 0000000..e69de29 diff --git a/pages.json b/pages.json index b9d4a9a..135413b 100644 --- a/pages.json +++ b/pages.json @@ -6,8 +6,33 @@ "navigationBarTitleText": "抖火法务咨询服务", "navigationBarBackgroundColor": "#FFFFFF" } - }, - { + }, { + "path": "pages/index/introduces", + "name": "Introduces", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "金法服务包介绍", + "app-plus": { + "titleNView": { + "backgroundColor": "#FFFFFF", + "type": "transparent" + } + } + } + }, { + "path": "pages/index/free", + "name": "FreeService", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "自由服务包介绍", + "app-plus": { + "titleNView": { + "backgroundColor": "#FFFFFF", + "type": "transparent" + } + } + } + }, { "path": "pages/index/introduces", "name": "Introduces", "style": { @@ -75,7 +100,6 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - }, { "path": "pages/richText/richText", "name": "RichText", @@ -298,16 +322,16 @@ "navigationBarTitleText": "机构信息", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#446EFE", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "text": "使用历史", - "color": "#ffffff", - "fontSize": "28rpx", - "width": "180rpx" - }] - } + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "使用历史", + "color": "#ffffff", + "fontSize": "28rpx", + "width": "180rpx" + }] + } } } }, { @@ -318,16 +342,16 @@ "navigationBarTitleText": "基础信息", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#446EFE", - "navigationBarTextStyle": "white", - "app-plus": { - "titleNView": { - "buttons": [{ - "text": "使用历史", - "color": "#ffffff", - "fontSize": "28rpx", - "width": "180rpx" - }] - } + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "使用历史", + "color": "#ffffff", + "fontSize": "28rpx", + "width": "180rpx" + }] + } } } }, { @@ -417,30 +441,30 @@ "navigationBarBackgroundColor": "#ffffff" } }, { - "path": "pages/user/userdata", - "auth": true, + "path": "pages/user/userdata", + "auth": true, "name": "UserData", "style": { "navigationBarTitleText": "账户信息", - "enablePullDownRefresh": false, + "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } }, { - "path": "pages/user/userdataBase", - "auth": true, + "path": "pages/user/userdataBase", + "auth": true, "name": "UserDataBase", "style": { "navigationBarTitleText": "账户信息 - 基础信息", - "enablePullDownRefresh": false, + "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - },{ - "path": "pages/user/userdataBanks", - "auth": true, + }, { + "path": "pages/user/userdataBanks", + "auth": true, "name": "UserDataBank", "style": { "navigationBarTitleText": "账户信息 - 机构信息", - "enablePullDownRefresh": false, + "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#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 @@ + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 27da446..774fb40 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 @@ @@ -220,7 +249,7 @@ flex-direction: row; align-items: center; .notice-title{ - background-color: #ECF0FF; + background-color: #ececec; color: #000; height: 60rpx; line-height: 60rpx; @@ -358,6 +387,12 @@ text{ font-size: 80%; } + .ding{ + font-size: 64%; + margin-left: 4rpx; + position: relative; + bottom: 2rpx; + } } } }