新增工程安装、企业合作页面

This commit is contained in:
TOP糯米 2023-02-16 19:08:13 +08:00
parent 12bd5e3724
commit 236d106d34
4 changed files with 90 additions and 22 deletions

View File

@ -13,24 +13,6 @@
"navigationBarTitleText": "登录" "navigationBarTitleText": "登录"
} }
}, },
{
"path": "pages/member/member",
"style": {
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/address/address",
"style": {
"navigationBarTitleText": "地址管理"
}
},
{
"path": "pages/address/edit",
"style": {
"navigationBarTitleText": "新增地址"
}
},
{ {
"path": "pages/service/cate", "path": "pages/service/cate",
"style": { "style": {
@ -60,6 +42,36 @@
"style": { "style": {
"navigationBarTitleText": "确认订单" "navigationBarTitleText": "确认订单"
} }
},
{
"path": "pages/member/member",
"style": {
"navigationBarTitleText": "我的"
}
},
{
"path": "pages/address/address",
"style": {
"navigationBarTitleText": "地址管理"
}
},
{
"path": "pages/address/edit",
"style": {
"navigationBarTitleText": "新增地址"
}
},
{
"path": "pages/single/project",
"style": {
"navigationBarTitleText": "工程安装"
}
},
{
"path": "pages/single/business",
"style": {
"navigationBarTitleText": "企业合作"
}
} }
], ],
"globalStyle": { "globalStyle": {

View File

@ -34,8 +34,7 @@
<text class="iconfont icon-jinru more"></text> <text class="iconfont icon-jinru more"></text>
</view> </view>
<view class="widget-item"> <view class="widget-item">
<text <text class="iconfont icon-shezhixitongshezhigongnengshezhishuxing icon"></text>
class="iconfont icon-shezhixitongshezhigongnengshezhishuxing icon"></text>
<text class="title limit-line clamp-1">设置</text> <text class="title limit-line clamp-1">设置</text>
<text class="iconfont icon-jinru more"></text> <text class="iconfont icon-jinru more"></text>
</view> </view>
@ -46,7 +45,7 @@
<text class="title limit-line clamp-1">我是师傅</text> <text class="title limit-line clamp-1">我是师傅</text>
<text class="iconfont icon-jinru more"></text> <text class="iconfont icon-jinru more"></text>
</view> </view>
<view class="widget-item"> <view class="widget-item" @click="projectPage">
<text class="iconfont icon-cailiaogongcheng icon"></text> <text class="iconfont icon-cailiaogongcheng icon"></text>
<text class="title limit-line clamp-1">工程安装</text> <text class="title limit-line clamp-1">工程安装</text>
<text class="iconfont icon-jinru more"></text> <text class="iconfont icon-jinru more"></text>
@ -94,6 +93,11 @@ export default {
url: "/pages/address/address?openType=list", url: "/pages/address/address?openType=list",
}); });
}, },
projectPage() {
uni.navigateTo({
url: "/pages/single/project",
});
},
}, },
}; };
</script> </script>
@ -150,7 +154,7 @@ export default {
.form-widget-group { .form-widget-group {
margin-bottom: 30rpx; margin-bottom: 30rpx;
padding: 24rpx 0; padding: 24rpx 0;
background-color: #FFFFFF; background-color: #ffffff;
.widget-item { .widget-item {
margin-top: 0; margin-top: 0;
.title { .title {

View File

@ -0,0 +1,26 @@
<template>
<app-layout headerBackgroundColor="#00418c" textColor="light">
</app-layout>
</template>
<script>
import AppLayout from "@/components/layout/layout";
export default {
name: "single-business",
data() {
return {};
},
components: {
AppLayout,
},
onLoad() {},
onShow() {},
onReady() {},
onReachBottom() {},
onPullDownRefresh() {},
methods: {},
};
</script>
<style lang="less" scoped></style>

View File

@ -0,0 +1,26 @@
<template>
<app-layout headerBackgroundColor="#00418c" textColor="light">
</app-layout>
</template>
<script>
import AppLayout from "@/components/layout/layout";
export default {
name: "single-project",
data() {
return {};
},
components: {
AppLayout,
},
onLoad() {},
onShow() {},
onReady() {},
onReachBottom() {},
onPullDownRefresh() {},
methods: {},
};
</script>
<style lang="less" scoped></style>