!1 样式调整

Merge pull request !1 from guopeiyu/guopeiyu
main
guopeiyu 2 years ago committed by Gitee
commit 8d11f83d70
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -1,7 +1,7 @@
// 应用全局配置 // 应用全局配置
const config = { const config = {
// baseUrl: 'http://47.106.185.127:48080',127.0.0.1 // baseUrl: 'http://47.106.185.127:48080',127.0.0.1
baseUrl: 'http://127.0.0.1:48080', baseUrl: 'http://47.106.185.127:48080',
// 应用信息 // 应用信息
appInfo: { appInfo: {
// 应用名称 // 应用名称

@ -15,20 +15,20 @@
{ {
"path": "pages/index", "path": "pages/index",
"style": { "style": {
"navigationBarTitleText": "生产计划", "navigationStyle": "custom",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
{ {
"path": "pages/login", "path": "pages/login",
"style": { "style": {
"navigationBarTitleText": "登录" "navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/work", "path": "pages/work",
"style": { "style": {
"navigationBarTitleText": "近三天投料记录", "navigationStyle": "custom",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
@ -36,7 +36,7 @@
{ {
"path": "pages/mine", "path": "pages/mine",
"style": { "style": {
"navigationBarTitleText": "个人中心" "navigationStyle": "custom"
} }
}, },
{ {
@ -60,7 +60,7 @@
{ {
"path": "pages/report", "path": "pages/report",
"style": { "style": {
"navigationBarTitleText": "生产报工", "navigationStyle": "custom",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
} }
@ -119,19 +119,19 @@
{ {
"path": "info/index", "path": "info/index",
"style": { "style": {
"navigationBarTitleText": "个人信息" "navigationStyle": "custom"
} }
}, },
{ {
"path": "info/edit", "path": "info/edit",
"style": { "style": {
"navigationBarTitleText": "编辑资料" "navigationStyle": "custom"
} }
}, },
{ {
"path": "pwd/index", "path": "pwd/index",
"style": { "style": {
"navigationBarTitleText": "修改密码" "navigationStyle": "custom"
} }
}, },
{ {
@ -143,7 +143,7 @@
{ {
"path": "help/index", "path": "help/index",
"style": { "style": {
"navigationBarTitleText": "常见问题" "navigationStyle": "custom"
} }
}, },
{ {
@ -311,16 +311,16 @@
}, },
{ {
"pagePath": "pages/work", "pagePath": "pages/work",
"iconPath": "static/images/tabbar/work.png", "iconPath": "static/images/tabbar/material.png",
"selectedIconPath": "static/images/tabbar/work_.png", "selectedIconPath": "static/images/tabbar/material_.png",
"text": "投料" "text": "投料"
}, },
{ /*{
"pagePath": "pages/template", "pagePath": "pages/template",
"iconPath": "static/images/tabbar/work.png", "iconPath": "static/images/tabbar/work.png",
"selectedIconPath": "static/images/tabbar/work_.png", "selectedIconPath": "static/images/tabbar/work_.png",
"text": "模板" "text": "模板"
}, },*/
{ {
"pagePath": "pages/mine", "pagePath": "pages/mine",
"iconPath": "static/images/tabbar/mine.png", "iconPath": "static/images/tabbar/mine.png",
@ -332,6 +332,6 @@
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "BESURE", "navigationBarTitleText": "BESURE",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#ffffff"
} }
} }

@ -1,7 +1,19 @@
<template> <template>
<view> <view>
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="生产计划"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<uni-notice-bar show-icon scrollable text="安全生产!有序生产!高效生产!" /> <uni-notice-bar show-icon scrollable text="安全生产!有序生产!高效生产!" />
<uni-section title="开工中" type="line" title-color="#18bc37"> </uni-section> <uni-section title="开工中" type="line" title-color="#18bc37"> </uni-section>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item v-for="(item, index) in startList" :name="item.id"> <el-collapse-item v-for="(item, index) in startList" :name="item.id">
@ -219,8 +231,13 @@ function planProgress(plan){
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
.title { .title {
font-size: 36rpx; font-size: 36rpx;
color: #8f8f94; color: #8f8f94;

@ -1,5 +1,18 @@
<template> <template>
<view class="normal-login-container"> <view class="normal-login-container">
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="登录"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<view class="logo-content align-center justify-center flex"> <view class="logo-content align-center justify-center flex">
<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix"> <image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
</image> </image>
@ -105,13 +118,23 @@ function loginSuccess(result) {
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
page { page {
background-color: #ffffff; background-color: #ffffff;
} }
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
.normal-login-container { .normal-login-container {
width: 100%; width: 100%;
min-height: 100vh;
overflow: hidden;
background-image: url(@/static/images/login/background.svg);
background-repeat: no-repeat;
background-size: 100% 100%;
.logo-content { .logo-content {
width: 100%; width: 100%;

@ -1,5 +1,18 @@
<template> <template>
<view class="mine-container" :style="{ height: `${windowHeight}px` }"> <view class="mine-container" :style="{ height: `${windowHeight}px` }">
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="个人中心"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<!--顶部个人信息栏--> <!--顶部个人信息栏-->
<view class="header-section"> <view class="header-section">
<view class="flex padding justify-between"> <view class="flex padding justify-between">
@ -171,16 +184,27 @@ function handleBuilding() {
page { page {
background-color: #f5f6f7; background-color: #f5f6f7;
} }
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
.mine-container { .mine-container {
width: 100%; width: 100%;
height: 100%; height: 100%;
.header-section { .header-section {
padding: 15px 15px 45px 15px; margin: 10rpx;
background-color: #3c96f3; padding: 40rpx 10rpx 80rpx 0;
color: white; box-sizing: border-box;
background-image: url('src/static/images/icon/background.png');
background-position: center center;
background-size: 100% 100%;
border-radius: 24rpx;
overflow: hidden;
color: #fff;
.login-tip { .login-tip {
font-size: 18px; font-size: 18px;

@ -1,5 +1,18 @@
<template> <template>
<view class="container"> <view class="container">
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="生产报工"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<view class="example"> <view class="example">
<el-tabs v-loading="loading" v-model="activeName" class="demo-tabs" @tab-click="handleTabClick"> <el-tabs v-loading="loading" v-model="activeName" class="demo-tabs" @tab-click="handleTabClick">
<el-tab-pane label="个人报工" name="first"> <el-tab-pane label="个人报工" name="first">
@ -311,6 +324,12 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
.example { .example {
padding: 15px; padding: 15px;
background-color: #fff; background-color: #fff;

@ -1,5 +1,18 @@
<template> <template>
<view > <view >
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="近三天投料"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<uni-notice-bar show-icon scrollable <uni-notice-bar show-icon scrollable
text="安全生产!有序生产!高效生产!" /> text="安全生产!有序生产!高效生产!" />
<!-- 已提交--> <!-- 已提交-->
@ -151,5 +164,10 @@ function handleAdd(){
</script> </script>
<style scoped> <style scoped>
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
</style> </style>

@ -1,5 +1,18 @@
<template> <template>
<view class="help-container"> <view>
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="常见问题"
bg-color="transparent"
:auto-back="true"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<view v-for="(item, findex) in list" :key="findex" :title="item.title" class="list-title" > <view v-for="(item, findex) in list" :key="findex" :title="item.title" class="list-title" >
<view class="text-title"> <view class="text-title">
<view :class="item.icon"></view>{{ item.title }} <view :class="item.icon"></view>{{ item.title }}
@ -62,21 +75,22 @@
page { page {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.sticky {
.help-container { background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
margin-bottom: 100rpx; backdrop-filter: blur(27.18px);
padding: 30rpx; box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
} }
.list-title { .list-title {
margin-bottom: 30rpx; padding: 30rpx;
} }
.childList { .childList {
background: #ffffff; background: #ffffff;
box-shadow: 0px 0px 10rpx rgba(193, 193, 193, 0.2); box-shadow: 0 0 10rpx rgba(193, 193, 193, 0.2);
border-radius: 16rpx; border-radius: 16rpx;
margin-top: 10rpx; margin-top: 30rpx;
} }
.line { .line {

@ -1,5 +1,18 @@
<template> <template>
<view class="container"> <view class="container">
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="编辑资料"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<view class="example"> <view class="example">
<uni-forms ref="form" :model="user" labelWidth="80px"> <uni-forms ref="form" :model="user" labelWidth="80px">
<uni-forms-item label="用户昵称" name="nickName"> <uni-forms-item label="用户昵称" name="nickName">
@ -100,7 +113,12 @@ export default {
page { page {
background-color: #ffffff; background-color: #ffffff;
} }
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
.example { .example {
padding: 15px; padding: 15px;
background-color: #fff; background-color: #fff;

@ -1,5 +1,18 @@
<template> <template>
<view class="container"> <view>
<u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="个人信息"
bg-color="transparent"
:auto-back="true"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<uni-list> <uni-list>
<uni-list-item showExtraIcon="true" :extraIcon="{ type: 'contact' }" title="用户名称" :rightText="user.email" /> <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'contact' }" title="用户名称" :rightText="user.email" />
<uni-list-item showExtraIcon="true" :extraIcon="{ type: 'person-filled' }" title="昵称" :rightText="user.nickname" /> <uni-list-item showExtraIcon="true" :extraIcon="{ type: 'person-filled' }" title="昵称" :rightText="user.nickname" />
@ -48,8 +61,14 @@ function register(){
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
page { page {
background-color: #ffffff; background-color: #ffffff;
} }
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
</style> </style>

@ -1,6 +1,19 @@
<template> <template>
<view class="pwd-retrieve-container"> <view>
<uni-forms ref="form" :value="user" labelWidth="80px"> <u-sticky
class="sticky"
:custom-nav-height="0"
>
<u-navbar
title="修改密码"
bg-color="transparent"
:auto-back="false"
left-icon=""
safe-area-inset-top
placeholder
/>
</u-sticky>
<uni-forms ref="form" :value="user" labelWidth="80px" class="pwd-retrieve-container">
<uni-forms-item required name="oldPassword" label="旧密码"> <uni-forms-item required name="oldPassword" label="旧密码">
<uni-easyinput type="password" v-model="user.oldPassword" placeholder="请输入旧密码" /> <uni-easyinput type="password" v-model="user.oldPassword" placeholder="请输入旧密码" />
</uni-forms-item> </uni-forms-item>
@ -79,13 +92,18 @@
} }
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
page { page {
background-color: #ffffff; background-color: #ffffff;
} }
.sticky {
background: linear-gradient(180deg, #d4e9ff 0%, #f3f9ff 100%);
backdrop-filter: blur(27.18px);
box-shadow: 0 1px 1px 0 rgba(0, 72, 145, 0.1),
0 0.5px 0 0 rgba(0, 0, 0, 0.1);
}
.pwd-retrieve-container { .pwd-retrieve-container {
padding-top: 36rpx; padding: 30rpx
padding: 15px;
} }
</style> </style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 874 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 493 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 767 B

Loading…
Cancel
Save