Browse Source

乡村婚恋

wangzhe 1 year ago
parent
commit
5a973b332b

+ 19 - 0
api/specialService/financialInfrastructure.js

@@ -0,0 +1,19 @@
+import upload from '@/utils/upload'
+import request from '@/utils/request'
+
+// 查询金融基建列表
+export function getCooperative() {
+  return request({
+    url: '/system/user/listAll',
+    method: 'get'
+  })
+}
+
+// 查询金融基建详情
+export function updateUserProfile(data) {
+  return request({
+    url: '/system/user/profile',
+    method: 'put',
+    data: data
+  })
+}

+ 19 - 0
api/specialService/legalService.js

@@ -0,0 +1,19 @@
+import upload from '@/utils/upload'
+import request from '@/utils/request'
+
+// 查询法律服务列表
+export function getCooperative() {
+  return request({
+    url: '/system/user/listAll',
+    method: 'get'
+  })
+}
+
+// 查询法律服务详情
+export function updateUserProfile(data) {
+  return request({
+    url: '/system/user/profile',
+    method: 'put',
+    data: data
+  })
+}

+ 19 - 0
api/specialService/loveAtVillage.js

@@ -0,0 +1,19 @@
+import upload from '@/utils/upload'
+import request from '@/utils/request'
+
+// 查询乡村婚恋列表
+export function getCooperative() {
+  return request({
+    url: '/system/user/listAll',
+    method: 'get'
+  })
+}
+
+// 查询乡村婚恋详情
+export function updateUserProfile(data) {
+  return request({
+    url: '/system/user/profile',
+    method: 'put',
+    data: data
+  })
+}

+ 9 - 0
pages.json

@@ -17,6 +17,15 @@
 			}
 		},
 		{
+			"path": "pages/specialService/loveAtVillage/loveAtVillage",
+			"style": {
+				"usingComponents": {},
+				"navigationBarBackgroundColor": "#07c160",
+				"navigationBarTextStyle": "white",
+				"navigationBarTitleText": "乡村婚恋"
+			}
+		},
+		{
 			"path": "pages/cooperative/details",
 			"style": {
 				"usingComponents": {},

+ 17 - 1
pages/index/index.vue

@@ -111,7 +111,7 @@
                     </li>
                     <li>
                         <view class="gxs" @tap="goCooperative"><em class="iconfont icon-gongxiaoshelogo"></em></view>
-                        <span>供销社</span>
+                        <span @tap="goSpecialService">供销社</span>
                     </li>
                     <li>
                         <view class="xlzx"><em class="iconfont icon-linshijiuzhu"></em></view>
@@ -376,6 +376,22 @@ export default {
                 url: '/pages/cooperative/cooperative'
             });
         },
+        goSpecialService() {
+		    console.log(66666)
+            uni.navigateTo({
+                url: '/pages/specialService/loveAtVillage/loveAtVillage'
+            });
+        },
+        goLegalService() {
+            uni.navigateTo({
+                url: '/pages/specialService/legalService/legalService'
+            });
+        },
+        goFinancialInfrastructure() {
+            uni.navigateTo({
+                url: '/pages/specialService/financialInfrastructure/financialInfrastructure'
+            });
+        },
 		goBanShi() {
 			uni.navigateTo({
 				url: '/pages/handleAffairs/handleAffairs'

+ 36 - 0
pages/specialService/financialInfrastructure/details.css

@@ -0,0 +1,36 @@
+.container{
+    padding: 0;
+}
+
+.cooperativeImgBox{
+    position: static;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 480rpx;
+}
+.cooperativeImg{
+    position: static;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+}
+
+.itemBox {
+    width: 100%;
+    font-size: 50rpx;
+}
+.itemBox:nth-child(2n-1){
+    background: #ccc;
+}
+.itemBox:nth-child(2n){
+    background: #ddd;
+}
+
+.item{
+    /*width: 100%;*/
+    /*background-color: #57f5a1;*/
+}

+ 64 - 0
pages/specialService/financialInfrastructure/details.vue

@@ -0,0 +1,64 @@
+<template>
+    <view class="container">
+        <!-- 供销社详情 -->
+        <view class="cooperativeImgBox">
+            <image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>
+        </view>
+        <view class="itemBox" v-for="(item, index) in list" :key="index">
+            <view class="item">
+                <span>
+                    {{ item.title }}:
+                </span>
+                <span>
+                    {{ item.content }}
+                </span>
+            </view>
+        </view>
+    </view>
+</template>
+
+<script>
+export default {
+    data() {
+        return {
+            list: [
+                {
+                    title: "名称",
+                    content: "第十三号供销社",
+                },
+                {
+                    title: "地址",
+                    content: "十三号街区地下研究所",
+                },
+                {
+                    title: "负责人",
+                    content: "高耀",
+                },
+                {
+                    title: "负责人电话",
+                    content: "13178945612",
+                }
+            ],
+            cooperative: {
+                name:"供销社1",
+                address:"供销社地址1",
+                chargePeople:"负责人1",
+                chargePhone:"13103215236",
+                imgUrl:"/profile/upload/2024/03/01/nacos_20240301145836A002.png"
+            }
+        }
+    }
+    /**
+     * 生命周期函数--监听页面加载
+     */,
+    onLoad(options) {
+        console.log(666)
+    },
+    methods: {
+
+    }
+};
+</script>
+<style>
+@import './details.css';
+</style>

+ 36 - 0
pages/specialService/legalService/details.css

@@ -0,0 +1,36 @@
+.container{
+    padding: 0;
+}
+
+.cooperativeImgBox{
+    position: static;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 480rpx;
+}
+.cooperativeImg{
+    position: static;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+}
+
+.itemBox {
+    width: 100%;
+    font-size: 50rpx;
+}
+.itemBox:nth-child(2n-1){
+    background: #ccc;
+}
+.itemBox:nth-child(2n){
+    background: #ddd;
+}
+
+.item{
+    /*width: 100%;*/
+    /*background-color: #57f5a1;*/
+}

+ 64 - 0
pages/specialService/legalService/details.vue

@@ -0,0 +1,64 @@
+<template>
+    <view class="container">
+        <!-- 供销社详情 -->
+        <view class="cooperativeImgBox">
+            <image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>
+        </view>
+        <view class="itemBox" v-for="(item, index) in list" :key="index">
+            <view class="item">
+                <span>
+                    {{ item.title }}:
+                </span>
+                <span>
+                    {{ item.content }}
+                </span>
+            </view>
+        </view>
+    </view>
+</template>
+
+<script>
+export default {
+    data() {
+        return {
+            list: [
+                {
+                    title: "名称",
+                    content: "第十三号供销社",
+                },
+                {
+                    title: "地址",
+                    content: "十三号街区地下研究所",
+                },
+                {
+                    title: "负责人",
+                    content: "高耀",
+                },
+                {
+                    title: "负责人电话",
+                    content: "13178945612",
+                }
+            ],
+            cooperative: {
+                name:"供销社1",
+                address:"供销社地址1",
+                chargePeople:"负责人1",
+                chargePhone:"13103215236",
+                imgUrl:"/profile/upload/2024/03/01/nacos_20240301145836A002.png"
+            }
+        }
+    }
+    /**
+     * 生命周期函数--监听页面加载
+     */,
+    onLoad(options) {
+        console.log(666)
+    },
+    methods: {
+
+    }
+};
+</script>
+<style>
+@import './details.css';
+</style>

+ 36 - 0
pages/specialService/loveAtVillage/details.css

@@ -0,0 +1,36 @@
+.container{
+    padding: 0;
+}
+
+.cooperativeImgBox{
+    position: static;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 480rpx;
+}
+.cooperativeImg{
+    position: static;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+}
+
+.itemBox {
+    width: 100%;
+    font-size: 50rpx;
+}
+.itemBox:nth-child(2n-1){
+    background: #ccc;
+}
+.itemBox:nth-child(2n){
+    background: #ddd;
+}
+
+.item{
+    /*width: 100%;*/
+    /*background-color: #57f5a1;*/
+}

+ 64 - 0
pages/specialService/loveAtVillage/details.vue

@@ -0,0 +1,64 @@
+<template>
+    <view class="container">
+        <!-- 供销社详情 -->
+        <view class="cooperativeImgBox">
+            <image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>
+        </view>
+        <view class="itemBox" v-for="(item, index) in list" :key="index">
+            <view class="item">
+                <span>
+                    {{ item.title }}:
+                </span>
+                <span>
+                    {{ item.content }}
+                </span>
+            </view>
+        </view>
+    </view>
+</template>
+
+<script>
+export default {
+    data() {
+        return {
+            list: [
+                {
+                    title: "名称",
+                    content: "第十三号供销社",
+                },
+                {
+                    title: "地址",
+                    content: "十三号街区地下研究所",
+                },
+                {
+                    title: "负责人",
+                    content: "高耀",
+                },
+                {
+                    title: "负责人电话",
+                    content: "13178945612",
+                }
+            ],
+            cooperative: {
+                name:"供销社1",
+                address:"供销社地址1",
+                chargePeople:"负责人1",
+                chargePhone:"13103215236",
+                imgUrl:"/profile/upload/2024/03/01/nacos_20240301145836A002.png"
+            }
+        }
+    }
+    /**
+     * 生命周期函数--监听页面加载
+     */,
+    onLoad(options) {
+        console.log(666)
+    },
+    methods: {
+
+    }
+};
+</script>
+<style>
+@import './details.css';
+</style>

+ 128 - 0
pages/specialService/loveAtVillage/loveAtVillage.css

@@ -0,0 +1,128 @@
+/* pages/wenda/wenda.wxss */
+.wendaFL {
+    width: 100%;
+    display: flex;
+    justify-content: space-between;
+    margin: 30rpx 0 0 0;
+}
+.wendaFL li {
+    width: 48%;
+    height: 168rpx;
+    position: relative;
+}
+.cooperativeBox{
+    position: relative;
+    left: 30rpx;
+    top: 10rpx;
+    z-index: 0;
+    width: 800rpx;
+    height: 100rpx;
+}
+.cooperativeImgBox{
+    position: relative;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 330rpx;
+    height: 100rpx;
+}
+.cooperativeImg{
+    position: relative;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+}
+
+.lbBj {
+    position: absolute;
+    left: 0;
+    top: 0;
+    z-index: 0;
+    width: 100%;
+    height: 100%;
+}
+.wendaFL li h2 {
+    font-size: 36rpx;
+    position: absolute;
+    left: 30rpx;
+    top: 40rpx;
+    z-index: 1;
+    font-weight: bold;
+}
+.wendaFL li span {
+    font-size: 30rpx;
+    position: absolute;
+    left: 30rpx;
+    top: 88rpx;
+    z-index: 1;
+}
+.wendaFL li.sanNong {
+    color: #0d9970;
+}
+.wendaFL li.jiuYe {
+    color: #1e8fb4;
+}
+.wendaFL li.faLv {
+    color: #1e5dab;
+}
+.wendaFL li.jiuZhen {
+    color: #4a700d;
+}
+/* 列表 */
+.rnwdList {
+    width: 100%;
+    display: flex;
+    justify-content: space-between;
+    margin: 20rpx 0;
+}
+.list {
+    width: 79%;
+}
+.lb {
+    background: #0d9970;
+    color: #fff;
+    font-size: 24rpx;
+    width: 12%;
+    text-align: center;
+    padding: 2rpx 0;
+    line-height: 40rpx;
+    height: 40rpx;
+    border-radius: 10rpx;
+}
+.listTitle {
+    font-size: 32rpx;
+    color: #333;
+    line-height: 40rpx;
+}
+.jlSj {
+    height: 40rpx;
+    display: flex;
+    justify-content: space-between;
+    font-size: 24rpx;
+    margin: 20rpx 0 0 0;
+}
+.jf {
+    color: #07c160;
+}
+.icon-jifen {
+    font-size: 28rpx;
+    color: #07c160;
+    margin: 0 0 0 6rpx;
+}
+.ck {
+    color: #c4c4c4;
+}
+.icon-pinglun,
+.icon-chakan,
+.icon-shoucang {
+    font-size: 28rpx;
+    margin: 0 6rpx 0 20rpx;
+    color: #c4c4c4;
+}
+.icon-xiangyoujiantou {
+    font-size: 30rpx;
+    color: #c4c4c4;
+    line-height: 60rpx;
+}

+ 69 - 0
pages/specialService/loveAtVillage/loveAtVillage.vue

@@ -0,0 +1,69 @@
+<template>
+    <view class="container">
+        <!-- 供销社列表 -->
+        <view class="rnwdList" @tap="goDetails" v-for="(item, index) in list" :key="index">
+            <view class="cooperativeImgBox">
+                <image :src="loadImgSrc('/snbj.png')" class="cooperativeImg" @tap="goDetails"></image>
+            </view>
+            <view class="cooperativeBox">
+                <view class="list">
+                    <span class="listTitle">{{ item.name }}</span>
+                    <view class="jlSj">
+                        <span class="jf">
+                            {{ item.address }}
+                        </span>
+                    </view>
+                </view>
+            </view>
+            <em class="iconfont icon-xiangyoujiantou"></em>
+        </view>
+    </view>
+</template>
+
+<script>
+export default {
+    data() {
+        return {
+            list: [
+                {
+                    name:"供销社1",
+                    address:"供销社地址1",
+                    chargePeople:"负责人1",
+                    chargePhone:"13103215236",
+                    imgUrl:"/profile/upload/2024/03/01/nacos_20240301145836A002.png"
+                },
+                {
+                    name:"供销社2",
+                    address:"供销社地址2",
+                    chargePeople:"负责人2",
+                    chargePhone:"09876543210",
+                    imgUrl:"/profile/upload/2024/03/01/nacos_20240301145836A002.png"
+                },
+                {
+                    name:"供销社3",
+                    address:"供销社地址3",
+                    chargePeople:"负责人3",
+                    chargePhone:"12345678910",
+                    imgUrl:"/profile/upload/2024/03/01/nacos_20240301145836A002.png"
+                }
+            ],
+        };
+    }
+    /**
+     * 生命周期函数--监听页面加载
+     */,
+    onLoad(options) {
+
+    },
+    methods: {
+        goDetails() {
+            uni.navigateTo({
+                url: '/pages/cooperative/details'
+            });
+        }
+    }
+};
+</script>
+<style>
+@import './loveAtVillage.css';
+</style>