style:优化样式和布局- 调整了多个页面的导航栏样式,增加字体大小属性

- 优化了部分组件的样式,如按钮、输入框等
- 统一了图标样式,替换了部分图标
- 调整了部分颜色和间距
master
Tuzki 3 months ago
parent 485464f706
commit 970ce58357
  1. 16
      components/menusBar/menusBar.vue
  2. 3
      components/verifition/Verify.vue
  3. 18
      pageIndex/accident/accident.vue
  4. 259
      pageIndex/addSafeCheck/addSafeCheck.vue
  5. BIN
      pageIndex/addSafeCheck/image/add@2x.png
  6. BIN
      pageIndex/addSafeCheck/image/addcircle@2x.png
  7. BIN
      pageIndex/addSafeCheck/image/copy@2x.png
  8. BIN
      pageIndex/addSafeCheck/image/delete@2x.png
  9. BIN
      pageIndex/addSafeCheck/image/edit@2x.png
  10. BIN
      pageIndex/addSafeCheck/image/shaixuan@2x.png
  11. 8
      pageIndex/aiAsk/aiAsk.vue
  12. 14
      pageIndex/checkHsitory/checkHsitory.vue
  13. 14
      pageIndex/checkHsitory/recheckHsitory.vue
  14. 8
      pageIndex/dangerLibrary/dangerLibrary.vue
  15. 4
      pageIndex/filePage/filePage.vue
  16. 11
      pageIndex/knowledge/knowledge.vue
  17. 18
      pageIndex/laws/laws.vue
  18. 84
      pages/index.vue
  19. 13
      pages/login.vue
  20. 24
      pages/mine/index.vue
  21. 97
      static/font/custom-icon.css
  22. BIN
      static/font/custom-iconfont.ttf
  23. 4
      static/scss/colorui.css
  24. 7
      static/scss/global.scss
  25. 4
      static/scss/index.scss
  26. 3
      store/modules/user.js
  27. 9
      uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue

@ -1,16 +1,16 @@
<template>
<view class="menus-box">
<view class="menus-item" :class="{ 'active': activeNum == 1 }" @click="toHome">
<image :src="activeNum == 1 ? 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/home-active@2x.png' : 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/home@2x.png'"
mode=""></image>
<view class="menus-item ani" :class="{ 'active': activeNum == 1 }" @click="toHome" hover-class="isHoverIng">
<!-- <image :src="activeNum == 1 ? 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/home-active@2x.png' : 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/home@2x.png'" mode=""></image> -->
<image :src="activeNum == 1 ? 'https://i.postimg.cc/J7DQYX0Z/home-active-2x.png' : 'https://i.postimg.cc/KvtDxynY/home-2x.png'" mode=""></image>
<text>首页</text>
</view>
<view class="menus-item center-item" @click="toAsk">
<view class="menus-item center-item ani" @click="toAsk" hover-class="isHoverIng">
<uni-icons type="plusempty" size="38" color="#ffffff"></uni-icons>
</view>
<view class="menus-item" :class="{ 'active': activeNum == 2 }" @click="toMy">
<image :src="activeNum == 2 ? 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/me-active@2x.png' : 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/me@2x.png'"
mode=""></image>
<view class="menus-item ani" :class="{ 'active': activeNum == 2 }" @click="toMy" hover-class="isHoverIng">
<!-- <image :src="activeNum == 2 ? 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/me-active@2x.png' : 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/tabbar/me@2x.png'" mode=""></image> -->
<image :src="activeNum == 2 ? 'https://i.postimg.cc/XqddjwBP/me-active-2x.png' : 'https://i.postimg.cc/tRxhNHvz/me-2x.png'" mode=""></image>
<text>我的</text>
</view>
</view>
@ -19,7 +19,7 @@
/**
* 自定义菜单
* @@property {Number} activeNum 激活序号
*/
*/
export default {
name: 'menusBar',
props: {

@ -89,7 +89,8 @@
//
componentType: undefined,
// defaultImg: require('@https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/default.jpg')
defaultImg: 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/default.jpg'
// defaultImg: 'https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/default.jpg'
defaultImg: 'https://i.postimg.cc/m2VhQX4w/default.jpg'
}
},
mounted() {

@ -5,7 +5,7 @@
<!-- 需要固定在顶部不滚动的view放在slot="top"的view中如果需要跟着滚动则不要设置slot="top" -->
<!-- 注意此处的z-tabs为独立的组件可替换为第三方的tabs若需要使用z-tabs请在插件市场搜索z-tabs并引入否则会报插件找不到的错误 -->
<template #top>
<uni-nav-bar left-icon="left" @clickLeft="back" :fixed="true" :border="false"
<uni-nav-bar :fontSizes="17" left-icon="left" @clickLeft="back" :fixed="true" :border="false"
background-color="transparent" status-bar title="历史案例库" />
<view class="search-box">
<uni-easyinput :inputBorder="false" :styles="inputStyles" class="search-input" prefixIcon="search"
@ -13,7 +13,8 @@
</uni-easyinput>
<view class="search-btn-box">
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" /> -->
<image src="https://i.postimg.cc/qvbhdmZR/shaixuan-2x.png" />
</view>
<text>筛选</text>
</view>
@ -39,7 +40,8 @@
<view class="list-item-header">
<view class="list-item-header-title">
<view class="header-title-icon aci-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/konwloge@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/konwloge@2x.png"></image> -->
<image src="https://i.postimg.cc/5235QqKd/konwloge-2x.png"></image>
</view>
<text>
{{ item.title }}
@ -62,8 +64,9 @@
</view>
</view>
<view class="list-item-feet border-top">
<view class="list-item-feet-btn">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/fujian@2x.png"></image>
<view class="list-item-feet-btn" @click="goFilePage">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/fujian@2x.png"></image> -->
<image src="https://i.postimg.cc/cH6cSgmq/fujian-2x.png"></image>
<text class="list-item-feet-btn-label">查看附件</text>
</view>
</view>
@ -108,6 +111,11 @@ export default {
},
},
methods: {
goFilePage(){
uni.navigateTo({
url: '/pageIndex/filePage/filePage'
})
},
parseTime(time){
return parseTime(time)
},

@ -1,61 +1,67 @@
<template>
<view class="custom-content">
<uni-nav-bar dark left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="#3E73F5"
status-bar title="安全检查" />
<!-- 表单内容 -->
<view class="form-section">
<view class="form-item required">
<text class="label">企业名称</text>
<input class="input" placeholder="请输入企业名称" />
<view class="custom-content">
<uni-nav-bar :fontSizes="17" dark left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="#3E73F5"
status-bar title="安全检查" />
<!-- 表单内容 -->
<view class="form-section">
<view class="form-item required">
<text class="label">企业名称</text>
<view class="icon-btn-box">
<view class="icon-box">
<image :src="require('./image/shaixuan@2x.png')" />
</view>
<view class="icon-box">
<image :src="require('./image/add@2x.png')" />
</view>
</view>
</view>
<view class="form-item required">
<text class="label">检查类型</text>
<picker class="picker" :range="checkTypeList" @change="onCheckTypeChange">
<view class="picker-value">{{ checkTypeList[checkTypeIndex] || '请选择检查类型' }}</view>
</picker>
</view>
<view class="form-item required">
<text class="label">检查类型</text>
<picker class="picker" :range="checkTypeList" @change="onCheckTypeChange">
<view class="picker-value">{{ checkTypeList[checkTypeIndex] || '请选择检查类型' }}</view>
</picker>
</view>
<view class="form-item">
<text class="label">检查日期</text>
<picker mode="date" :value="checkDate" @change="onDateChange">
<view class="picker-value">{{ checkDate }}</view>
</picker>
</view>
<view class="form-item">
<text class="label">检查日期</text>
<picker mode="date" :value="checkDate" @change="onDateChange">
<view class="picker-value">{{ checkDate }}</view>
</picker>
</view>
<view class="form-item">
<text class="label">此检查是否属于某项目</text>
<view class="radio-group">
<label class="radio" v-for="(item, idx) in yesNoList" :key="idx">
<radio :value="item" :checked="projectChecked === item" @click="projectChecked = item" />
<text :class="['radio-text', { checked: projectChecked === item }]">{{ item }}</text>
</label>
</view>
</view>
<view class="form-item">
<text class="label">此检查是否属于某项目</text>
<radio-group :value="projectChecked" @change="onProjectCheckedChange" class="radio-group">
<label class="radio" v-for="(item, idx) in yesNoList" :key="idx">
<radio class="custom-radio" :value="item" :checked="projectChecked === item" />
<text :class="['radio-text', { checked: projectChecked === item }]">{{ item }}</text>
</label>
</radio-group>
</view>
<view class="form-item">
<text class="label">现场照片</text>
<view class="photo-upload">
<view class="photo-placeholder">上传图片</view>
</view>
<view class="form-item">
<text class="label">现场照片</text>
<view class="photo-upload">
<view class="photo-placeholder">上传图片</view>
</view>
</view>
<view class="form-item">
<text class="label">检查方式</text>
<view class="check-type-btns">
<button v-for="(item, idx) in checkWayList" :key="idx"
:class="['check-btn', { active: checkWay === item }]" @click="checkWay = item">{{ item
}}</button>
</view>
<view class="form-item">
<text class="label">检查方式</text>
<view class="check-type-btns">
<button v-for="(item, idx) in checkWayList" :key="idx"
:class="['check-btn', { active: checkWay === item }]" @click="checkWay = item">{{ item
}}</button>
</view>
</view>
<!-- tab切换 -->
<view class="tab-section">
<view class="tab-section" v-show="checkWay === '自行新增'">
<view class="tab-header">
<view v-for="(item, idx) in tabList" :key="idx" :class="['tab-item', { active: tabActive === idx }]"
@click="tabActive = idx">{{ item }}</view>
自行新增
</view>
<view class="tab-content">
@ -88,20 +94,32 @@
<!-- 操作按钮组 -->
<view class="action-btns">
<button class="action-btn">+ 继续添加</button>
<button class="action-btn">编辑</button>
<button class="action-btn">复制</button>
<button class="action-btn">删除</button>
<button class="action-btn">
<image :src="require('./image/addcircle@2x.png')" />
继续添加
</button>
<button class="action-btn">
<image :src="require('./image/edit@2x.png')" />
编辑
</button>
<button class="action-btn">
<image :src="require('./image/copy@2x.png')" />
复制
</button>
<button class="action-btn">
<image :src="require('./image/delete@2x.png')" />
删除
</button>
</view>
</view>
</view>
<!-- 底部操作栏 -->
<view class="footer-bar">
<button class="footer-btn cancel">取消</button>
<button class="footer-btn save">保存</button>
</view>
</view>
<!-- 底部操作栏 -->
<view class="footer-bar">
<button class="footer-btn cancel">取消</button>
<button class="footer-btn save">保存</button>
</view>
</view>
</template>
<script>
@ -128,7 +146,10 @@ export default {
},
onDateChange(e) {
this.checkDate = e.detail.value
}
},
onProjectCheckedChange(e) {
this.projectChecked = e.detail.value
},
}
}
</script>
@ -145,19 +166,42 @@ export default {
border-radius: 16rpx;
margin: 24rpx 0;
padding: 24rpx;
padding-bottom: 185rpx;
}
.form-item {
display: flex;
align-items: center;
margin-bottom: 32rpx;
justify-content: space-between;
.label {
width: 180rpx;
// width: 180rpx;
color: #222;
font-size: 30rpx;
}
.icon-btn-box {
display: flex;
align-items: center;
.icon-box {
width: 64rpx;
height: 56rpx;
background: #E8EFFF;
border-radius: 16rpx;
margin-right: 10rpx;
display: flex;
align-items: center;
justify-content: center;
image {
width: 24rpx;
height: 24rpx;
}
}
}
.input,
.picker-value,
.textarea {
@ -167,6 +211,7 @@ export default {
padding: 16rpx;
font-size: 28rpx;
border: none;
min-height: 70rpx;
}
.picker-value {
@ -174,12 +219,11 @@ export default {
}
.textarea {
min-height: 80rpx;
min-height: 70rpx;
resize: none;
}
.photo-upload {
flex: 1;
display: flex;
align-items: center;
@ -192,7 +236,7 @@ export default {
align-items: center;
justify-content: center;
color: #3E73F5;
font-size: 28rpx;
font-size: 24rpx;
}
}
@ -225,11 +269,11 @@ export default {
.check-type-btns {
display: flex;
gap: 16rpx;
gap: 12rpx;
.check-btn {
padding: 8rpx 32rpx;
border-radius: 32rpx;
padding: 0 14rpx;
border-radius: 8rpx;
background: #f7f8fa;
color: #3E73F5;
border: none;
@ -245,13 +289,35 @@ export default {
.tab-section {
background: #fff;
border-radius: 16rpx;
margin: 24rpx 0;
padding: 24rpx;
padding: 20rpx;
border: solid 1rpx #f1f1f1;
.tab-header {
display: flex;
border-bottom: 2rpx solid #e5e5e5;
margin-bottom: 24rpx;
position: relative;
padding-bottom: 20rpx;
padding-left: 20rpx;
&::before {
content: "";
position: absolute;
left: 0;
top: 10%;
width: 8rpx;
height: 30rpx;
background: linear-gradient(180deg, #3E73F5 0%, rgba(62, 115, 245, 0) 100%);
}
&::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1rpx;
background: linear-gradient(90deg, #3E73F5 0%, rgba(62, 115, 245, 0) 100%);
}
.tab-item {
padding: 16rpx 32rpx;
@ -280,15 +346,31 @@ export default {
.action-btns {
display: flex;
gap: 16rpx;
margin-bottom: 24rpx;
.action-btn {
background: #f7f8fa;
color: #3E73F5;
border-radius: 32rpx;
padding: 8rpx 24rpx;
background: #F7F8FB;
color: #1B1B1B;
border-radius: 12rpx;
padding: 0 24rpx;
font-size: 26rpx;
border: none;
display: flex;
align-items: center;
image {
width: 24rpx;
height: 24rpx;
margin-right: 9rpx;
}
}
}
.form-item {
flex-direction: column;
align-items: inherit;
.label {
margin-bottom: 20rpx;
}
}
}
@ -303,6 +385,7 @@ export default {
display: flex;
justify-content: space-between;
padding: 24rpx 48rpx;
padding-bottom: 70rpx;
box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.04);
.footer-btn {
@ -310,7 +393,7 @@ export default {
margin: 0 16rpx;
border-radius: 48rpx;
font-size: 32rpx;
padding: 24rpx 0;
padding: 6rpx 0;
border: none;
&.cancel {
@ -347,18 +430,6 @@ export default {
border-bottom: 4rpx solid #3E73F5;
}
.footer-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #fff;
padding: 20rpx 40rpx;
display: flex;
justify-content: space-between;
box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.05);
}
.footer-btn {
flex: 1;
font-size: 30rpx;
@ -376,4 +447,24 @@ export default {
background: #3E73F5;
color: white;
}
::v-deep .custom-radio .wx-radio-input {
border-color: #ccc !important;
/* 未选中时边框颜色 */
}
::v-deep .custom-radio .wx-radio-input.wx-radio-input-checked {
background: #3E73F5 !important;
/* 选中时背景色 */
border-color: #3E73F5 !important;
/* 选中时边框颜色 */
}
::v-deep .custom-radio .wx-radio-input.wx-radio-input-checked::before {
color: transparent !important;
/* 隐藏默认图标 */
content: "" !important;
/* 清除默认内容 */
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

@ -1,8 +1,9 @@
<template>
<view class="container">
<uni-nav-bar dark left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="#3E73F5"
<uni-nav-bar :fontSizes="17" dark left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="#3E73F5"
:scroll-into-view="scrollIntoViewId" status-bar title="智能安全检查" />
<image class="bg-img" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/ask/content-bg@2x.png" />
<!-- <image class="bg-img" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/ask/content-bg@2x.png" /> -->
<image class="bg-img" src="https://i.postimg.cc/PxcQrX3C/content-bg-2x.png" />
<scroll-view class="main-scroll" scroll-y scroll-with-animation lower-threshold="150" ref="chatArea"
@scroll="handleScroll" @scrolltolower="lower">
<!-- 聊天内容区 -->
@ -25,7 +26,8 @@
:placeholder="activeTab === 'suggest' ? '请输入检查内容..' : '请输入你的问题或需求...'" @confirm="sendMessage"
disabled />
<button class="send-btn" @click="sendMessage" :disabled="!inputValue || streaming">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/ask/btn@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/ask/btn@2x.png" /> -->
<image src="https://i.postimg.cc/RqxF0KQW/btn-2x.png" />
</button>
</view>
</view>

@ -5,7 +5,7 @@
<!-- 需要固定在顶部不滚动的view放在slot="top"的view中如果需要跟着滚动则不要设置slot="top" -->
<!-- 注意此处的z-tabs为独立的组件可替换为第三方的tabs若需要使用z-tabs请在插件市场搜索z-tabs并引入否则会报插件找不到的错误 -->
<template #top>
<uni-nav-bar left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="transparent"
<uni-nav-bar :fontSizes="17" left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="transparent"
status-bar title="检查记录" />
<view class="search-box">
<uni-easyinput :inputBorder="false" :styles="inputStyles" class="search-input" prefixIcon="search"
@ -13,7 +13,8 @@
</uni-easyinput>
<view class="search-btn-box">
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" /> -->
<image src="https://i.postimg.cc/qvbhdmZR/shaixuan-2x.png" />
</view>
<text>筛选</text>
</view>
@ -98,14 +99,16 @@
<view class="popup-body">
<view class="sign-item" @click="open">
<view class="sign-item-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/pam@2x.png">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/pam@2x.png"> -->
<image src="https://i.postimg.cc/j5JJczcj/pam-2x.png">
</image>
</view>
<text>检查人与企业签字</text>
</view>
<view class="sign-item">
<view class="sign-item-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/m@2x.png">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/m@2x.png"> -->
<image src="https://i.postimg.cc/bJK1f6rb/m-2x.png">
</image>
</view>
@ -113,7 +116,8 @@
</view>
<view class="sign-item">
<view class="sign-item-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/p@2x.png">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/p@2x.png"> -->
<image src="https://i.postimg.cc/D0k4M8pP/p-2x.png">
</image>
</view>
<text>企业签字</text>

@ -5,7 +5,7 @@
<!-- 需要固定在顶部不滚动的view放在slot="top"的view中如果需要跟着滚动则不要设置slot="top" -->
<!-- 注意此处的z-tabs为独立的组件可替换为第三方的tabs若需要使用z-tabs请在插件市场搜索z-tabs并引入否则会报插件找不到的错误 -->
<template #top>
<uni-nav-bar left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="transparent"
<uni-nav-bar :fontSizes="17" left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="transparent"
status-bar title="安全复查" />
<view class="search-box">
<uni-easyinput :inputBorder="false" :styles="inputStyles" class="search-input" prefixIcon="search"
@ -13,7 +13,8 @@
</uni-easyinput>
<view class="search-btn-box">
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" /> -->
<image src="https://i.postimg.cc/qvbhdmZR/shaixuan-2x.png" />
</view>
<text>筛选</text>
</view>
@ -98,14 +99,16 @@
<view class="popup-body">
<view class="sign-item" @click="open">
<view class="sign-item-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/pam@2x.png">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/pam@2x.png"> -->
<image src="https://i.postimg.cc/j5JJczcj/pam-2x.png">
</image>
</view>
<text>检查人与企业签字</text>
</view>
<view class="sign-item">
<view class="sign-item-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/m@2x.png">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/m@2x.png"> -->
<image src="https://i.postimg.cc/bJK1f6rb/m-2x.png">
</image>
</view>
@ -113,7 +116,8 @@
</view>
<view class="sign-item">
<view class="sign-item-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/p@2x.png">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/p@2x.png"> -->
<image src="https://i.postimg.cc/D0k4M8pP/p-2x.png">
</image>
</view>
<text>企业签字</text>

@ -1,6 +1,6 @@
<template>
<view class="custom-content">
<uni-nav-bar left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="transparent"
<uni-nav-bar :fontSizes="17" left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="transparent"
status-bar title="隐患库" />
<view ref="topFixed" class="top-fixed" :style="{ top: autoTop }">
<view class="search-box">
@ -13,10 +13,12 @@
</uni-easyinput>
<view class="search-btn-box">
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/search@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/search@2x.png" /> -->
<image src="https://i.postimg.cc/yNDJ6FwT/search-2x.png" />
</view>
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" /> -->
<image src="https://i.postimg.cc/qvbhdmZR/shaixuan-2x.png" />
</view>
</view>
</view>

@ -1,6 +1,6 @@
<template>
<view class="custom-content">
<uni-nav-bar dark left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="#3E73F5"
<uni-nav-bar :fontSizes="17" dark left-icon="left" @clickLeft="back" :fixed="true" :border="false" background-color="#3E73F5"
:scroll-into-view="scrollIntoViewId" status-bar title="安全检查报告" />
<!-- 第一个表格企业基本情况 -->
@ -116,7 +116,7 @@ export default {
<style lang="scss">
.custom-content {
padding: 20rpx;
padding: 0 20rpx 20rpx;
background: #fff;
height: 100vh;
}

@ -5,7 +5,7 @@
<!-- 需要固定在顶部不滚动的view放在slot="top"的view中如果需要跟着滚动则不要设置slot="top" -->
<!-- 注意此处的z-tabs为独立的组件可替换为第三方的tabs若需要使用z-tabs请在插件市场搜索z-tabs并引入否则会报插件找不到的错误 -->
<template #top>
<uni-nav-bar left-icon="left" @clickLeft="back" :fixed="true" :border="false"
<uni-nav-bar :fontSizes="17" left-icon="left" @clickLeft="back" :fixed="true" :border="false"
background-color="transparent" status-bar title="安全知识库" />
<view class="search-box">
<uni-easyinput :inputBorder="false" :styles="inputStyles" class="search-input" prefixIcon="search"
@ -13,7 +13,8 @@
</uni-easyinput>
<view class="search-btn-box">
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" /> -->
<image src="https://i.postimg.cc/qvbhdmZR/shaixuan-2x.png" />
</view>
<text>筛选</text>
</view>
@ -39,7 +40,8 @@
<view class="list-item-header">
<view class="list-item-header-title">
<view class="header-title-icon kno-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/konwloge@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/konwloge@2x.png"></image> -->
<image src="https://i.postimg.cc/5235QqKd/konwloge-2x.png"></image>
</view>
<text>
{{ item.title }}
@ -55,7 +57,8 @@
</view>
<view class="list-item-feet border-top">
<view class="list-item-feet-btn" @click="goFilePage">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/fujian@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/fujian@2x.png"></image> -->
<image src="https://i.postimg.cc/cH6cSgmq/fujian-2x.png"></image>
<text class="list-item-feet-btn-label">查看附件</text>
</view>
</view>

@ -5,7 +5,7 @@
<!-- 需要固定在顶部不滚动的view放在slot="top"的view中如果需要跟着滚动则不要设置slot="top" -->
<!-- 注意此处的z-tabs为独立的组件可替换为第三方的tabs若需要使用z-tabs请在插件市场搜索z-tabs并引入否则会报插件找不到的错误 -->
<template #top>
<uni-nav-bar left-icon="left" @clickLeft="back" :fixed="true" :border="false"
<uni-nav-bar :fontSizes="17" left-icon="left" @clickLeft="back" :fixed="true" :border="false"
background-color="transparent" status-bar title="法律法规" />
<view class="search-box">
<uni-easyinput :inputBorder="false" :styles="inputStyles" class="search-input" prefixIcon="search"
@ -13,7 +13,8 @@
</uni-easyinput>
<view class="search-btn-box">
<view class="shaixuan-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/shaixuan@2x.png" /> -->
<image src="https://i.postimg.cc/qvbhdmZR/shaixuan-2x.png" />
</view>
<text>筛选</text>
</view>
@ -39,7 +40,8 @@
<view class="list-item-header">
<view class="list-item-header-title">
<view class="header-title-icon laws-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/lawsicon@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/lawsicon@2x.png"></image> -->
<image src="https://i.postimg.cc/SKx662HX/lawsicon-2x.png"></image>
</view>
<text>
{{ item.title }}
@ -62,8 +64,9 @@
</view>
</view>
<view class="list-item-feet border-top">
<view class="list-item-feet-btn">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/fujian@2x.png"></image>
<view class="list-item-feet-btn" @click="goFilePage">
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/common/fujian@2x.png"></image> -->
<image src="https://i.postimg.cc/cH6cSgmq/fujian-2x.png"></image>
<text class="list-item-feet-btn-label">查看附件</text>
</view>
</view>
@ -108,6 +111,11 @@ export default {
},
},
methods: {
goFilePage(){
uni.navigateTo({
url: '/pageIndex/filePage/filePage'
})
},
parseTime(time){
return parseTime(time)
},

@ -1,29 +1,29 @@
<template>
<view class="content">
<uni-nav-bar dark :fixed="true" :border="false" background-color="transparent" status-bar title=" " />
<image class="head-bg"
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/head-bg@2x.png"></image>
<uni-nav-bar :fontSizes="17" dark :fixed="true" :border="false" background-color="transparent" status-bar title=" " />
<image class="head-bg" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/head-bg@2x.png"></image>
<!-- <image class="head-bg" src="https://i.postimg.cc/CM3s3Knt/head-bg-2x.png"></image> -->
<view class="user-info">
<view class="user-logo">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/logo@2x.png"
mode=""></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/logo@2x.png" mode=""></image> -->
<image src="https://i.postimg.cc/nzsq58Fp/logo-2x.png" mode=""></image>
</view>
<view class="user-name">
{{ name }}
</view>
</view>
<view class="user-jobs-box">
<view class="jobs-item">
<view class="jobs-item ani" hover-class="isHoverIng">
<view class="jobs-nums text-white">19</view>
<view class="jobs-name">服务企业总数</view>
</view>
<view class="drive-line-col"></view>
<view class="jobs-item">
<view class="drive-line-col" hover-class="isHoverIng"></view>
<view class="jobs-item ani">
<view class="jobs-nums text-lightblue">16</view>
<view class="jobs-name">本月已检查企业</view>
</view>
<view class="drive-line-col"></view>
<view class="jobs-item">
<view class="drive-line-col" hover-class="isHoverIng"></view>
<view class="jobs-item ani">
<view class="jobs-nums text-lightyellow">4</view>
<view class="jobs-name">本月已复查企业</view>
</view>
@ -31,50 +31,46 @@
<view class="content-boxs">
<view class="content-title">工作管理</view>
<view class="content-content jobs-content">
<view class="lg-btn one">
<view class="left" @click="golaws(7)">
<view class="lg-btn one ani" hover-class="isHoverIng" @click="golaws(7)">
<view class="left" >
<view class="lg-text">安全检查</view>
<view class="xs-text">查看计划信息</view>
</view>
<view class="right">
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/safe-check@2x.png"
mode="" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/safe-check@2x.png" mode="" /> -->
<image src="https://i.postimg.cc/vZHgkRhk/safe-check-2x.png" mode="" />
</view>
</view>
<view class="lg-btn two">
<view class="lg-btn two ani" hover-class="isHoverIng">
<view class="left">
<view class="lg-text">计划检查</view>
<view class="xs-text">高效检查工作</view>
</view>
<view class="right">
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/plan-check@2x.png"
mode="" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/plan-check@2x.png" mode="" /> -->
<image src="https://i.postimg.cc/J7ZkB5t6/plan-check-2x.png" mode="" />
</view>
</view>
<view class="lg-btn three">
<view class="left" @click="golaws(6)">
<view class="lg-btn three ani" hover-class="isHoverIng" @click="golaws(6)">
<view class="left" >
<view class="lg-text">安全复查</view>
<view class="xs-text">查看复查信息</view>
</view>
<view class="right">
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/re-check@2x.png"
mode="" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/re-check@2x.png" mode="" /> -->
<image src="https://i.postimg.cc/65h4M6rC/re-check-2x.png" mode="" />
</view>
</view>
<view class="lg-btn four">
<view class="left" @click="golaws(4)">
<view class="lg-btn four ani" hover-class="isHoverIng" @click="golaws(4)">
<view class="left" >
<view class="lg-text">记录查询</view>
<view class="xs-text">查看检查记录</view>
</view>
<view class="right">
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/his-check@2x.png"
mode="" />
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/his-check@2x.png" mode="" /> -->
<image src="https://i.postimg.cc/fy9jVGpB/his-check-2x.png" mode="" />
</view>
</view>
</view>
@ -82,29 +78,34 @@
<view class="content-boxs">
<view class="content-title">小工具</view>
<view class="content-content tools-content">
<view class="sm-btn" @click="golaws(1)">
<view class="sm-btn ani" hover-class="isHoverIng" @click="golaws(1)">
<!-- src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/ccheck@2x.png" -->
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/ccheck@2x.png"
src="https://i.postimg.cc/nVg3nkg3/ccheck-2x.png"
mode=""></image>
<view class="btn-text">查一查</view>
</view>
<view class="sm-btn" @click="golaws(2)">
<view class="sm-btn ani" hover-class="isHoverIng" @click="golaws(2)">
<!-- src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/llearn@2x.png" -->
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/llearn@2x.png"
src="https://i.postimg.cc/Gpgkq31X/llearn-2x.png"
mode=""></image>
<view class="btn-text">学一学</view>
</view>
<view class="sm-btn" @click="golaws(3)">
<view class="sm-btn ani" hover-class="isHoverIng" @click="golaws(3)">
<!-- src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/wwarning@2x.png" -->
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/wwarning@2x.png"
src="https://i.postimg.cc/ZnxnsjdJ/wwarning-2x.png"
mode=""></image>
<view class="btn-text">危险源判定</view>
</view>
<view class="sm-btn disabled" @click="golaws(5)">
<view class="sm-btn ani" hover-class="isHoverIng" @click="golaws(5)">
<!-- src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/aaiit@2x.png" -->
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/aaiit@2x.png"
src="https://i.postimg.cc/HWVSGKZJ/aaiit-2x.png"
mode=""></image>
<view class="btn-text">AI识隐患</view>
<view class="btn-text">隐患</view>
</view>
</view>
</view>
@ -114,22 +115,23 @@
<view class="tags-box">
<uni-badge class="uni-badge-left-margin" type="warning" :text="8" absolute="rightTop"
:offset="[-5, 2]" size="small">
<view class="tags-item" :class="{ 'active': choseindex == 0 }" @click="choseindex = 0">工作任务
<view class="tags-item ani" hover-class="isHoverIng" :class="{ 'active': choseindex == 0 }" @click="choseindex = 0">工作任务
</view>
</uni-badge>
<view class="drive-line-col"></view>
<uni-badge class="uni-badge-left-margin" type="warning" :text="24" absolute="rightTop"
:offset="[-5, 2]" size="small">
<view class="tags-item" :class="{ 'active': choseindex == 1 }" @click="choseindex = 1">上新提醒
<view class="tags-item ani" hover-class="isHoverIng" :class="{ 'active': choseindex == 1 }" @click="choseindex = 1">上新提醒
</view>
</uni-badge>
</view>
<view class="news-box">
<view class="news-item" v-for="(news, index) in mocNews" :key="index">
<view class="news-ico">
<!-- src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/msgicon@2x.png" -->
<image
src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/index/msgicon@2x.png"
src="https://i.postimg.cc/28NnHXPN/msgicon-2x.png"
mode=""></image>
</view>
<view class="news-context">

@ -1,18 +1,22 @@
<template>
<view class="normal-login-container">
<image class="head-bg" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/head-bg@2x.png"></image>
<!-- <image class="head-bg" src="https://i.postimg.cc/t4HDxgXP/login-head-bg-2x.png"></image> -->
<view class="login-form-content">
<image class="form-bg" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/formbg@2x.png"></image>
<!-- <image class="form-bg" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/formbg@2x.png"></image> -->
<image class="form-bg" src="https://i.postimg.cc/Xvsgmc9c/formbg-2x.png"></image>
<text class="info-text">安全检查智能管理系统</text>
<view class="input-item flex align-center">
<view class="">
<image class="icon" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/count@2x.png"></image>
<!-- <image class="icon" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/count@2x.png"></image> -->
<image class="icon" src="https://i.postimg.cc/8zB4BV5Y/count-2x.png"></image>
</view>
<input v-model="loginForm.username" class="input" type="text" placeholder="请输入账号" maxlength="30" />
</view>
<view class="input-item flex align-center">
<view class="">
<image class="icon" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/password@2x.png"></image>
<!-- <image class="icon" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/password@2x.png"></image> -->
<image class="icon" src="https://i.postimg.cc/8cRfQNqQ/password-2x.png"></image>
</view>
<uni-easyinput :styles="inputStyles" class="input" :inputBorder="false" clearable="false"
type="password" v-model="loginForm.password" maxlength="20" placeholder="请输入密码"></uni-easyinput>
@ -29,7 +33,8 @@
<text @click="handleUserAgrement" class="text-blue">用户协议</text>
<text @click="handlePrivacy" class="text-blue">隐私协议</text>
</view> -->
<image class="feet-bg" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/feet-bg@2x.png"></image>
<!-- <image class="feet-bg" src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/login/feet-bg@2x.png"></image> -->
<image class="feet-bg" src="https://i.postimg.cc/wBqVwbRj/feet-bg-2x.png"></image>
</view>
</template>

@ -1,8 +1,9 @@
<template>
<view class="mine-container" :style="{ height: `${windowHeight}px` }">
<uni-nav-bar :fixed="true" :border="false" background-color="transparent" status-bar title="我的" />
<uni-nav-bar :fixed="true" :border="false" :fontSizes="17" background-color="transparent" status-bar title="我的" />
<view class="head-bg">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/me-bg@2x.png"></image>
<!-- <image src="https://i.postimg.cc/pL2zv5W0/me-bg-2x.png"></image> -->
</view>
<!--顶部个人信息栏-->
<view class="header-section">
@ -10,7 +11,8 @@
<view class="flex align-center">
<view class="cu-avatar xl round">
<view class="user-avatar">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/user-head@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/user-head@2x.png"></image> -->
<image src="https://i.postimg.cc/B6DXHJZL/user-head-2x.png"></image>
</view>
</view>
<!-- <image v-if="avatar" @click="handleToAvatar" :src="avatar" class="cu-avatar xl round" mode="widthFix"> -->
@ -37,19 +39,22 @@
<view class="flex justify-around align-center card-content">
<view class="action-item" @click="handleBuilding">
<view class="job-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/my-job@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/my-job@2x.png"></image> -->
<image src="https://i.postimg.cc/nh07hVMn/my-job-2x.png"></image>
</view>
<text class="text">我的任务</text>
</view>
<view class="action-item" @click="handleBuilding">
<view class="job-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/my-check-his@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/my-check-his@2x.png"></image> -->
<image src="https://i.postimg.cc/L6kLG3pY/my-check-his-2x.png"></image>
</view>
<text class="text">检查记录</text>
</view>
<view class="action-item" @click="handleBuilding">
<view class="job-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/my-war-tip@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/my-war-tip@2x.png"></image> -->
<image src="https://i.postimg.cc/d03CkMTr/my-war-tip-2x.png"></image>
</view>
<text class="text">隐患标签</text>
</view>
@ -61,7 +66,8 @@
<view class="list-cell list-cell-arrow" @click="handleBuilding">
<view class="menu-item-box">
<view class="list-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/kefu@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/kefu@2x.png"></image> -->
<image src="https://i.postimg.cc/Sxq7Ktrf/kefu-2x.png"></image>
</view>
<view>联系客服</view>
</view>
@ -69,7 +75,8 @@
<view class="list-cell list-cell-arrow" @click="handleBuilding">
<view class="menu-item-box">
<view class="list-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/qianming@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/qianming@2x.png"></image> -->
<image src="https://i.postimg.cc/fTs07S9w/qianming-2x.png"></image>
</view>
<view>我的签名</view>
</view>
@ -77,7 +84,8 @@
<view class="list-cell list-cell-arrow" @click="handleLogout">
<view class="menu-item-box">
<view class="list-icon">
<image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/tuichu@2x.png"></image>
<!-- <image src="https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/tuichu@2x.png"></image> -->
<image src="https://i.postimg.cc/MGgnnnwJ/tuichu-2x.png"></image>
</view>
<view>退出登录</view>
</view>

@ -0,0 +1,97 @@
@font-face {
font-family: "iconfont-custom";
src: url('/static/font/custom-iconfont.ttf') format('truetype');
}
.iconfont {
font-family: "iconfont-custom" !important;
font-size: 16px;
display: inline-block;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-icon_code:before {
content: "\e6a1";
}
.icon-quandi:before {
content: "\e9cf";
}
.icon-xiangji:before {
content: "\e6a0";
}
.icon-plant-area:before {
content: "\e69d";
}
.icon-crop:before {
content: "\e69e";
}
.icon-base-area:before {
content: "\e69f";
}
.icon-time:before {
content: "\e690";
}
.icon-visit:before {
content: "\e691";
}
.icon-share:before {
content: "\e692";
}
.icon-number:before {
content: "\e693";
}
.icon-number1:before {
content: "\e694";
}
.icon-edit:before {
content: "\e68f";
}
.icon-sales:before {
content: "\e695";
}
.icon-massif:before {
content: "\e696";
}
.icon-end:before {
content: "\e697";
}
.icon-code:before {
content: "\e68e";
}
.icon-delivery:before {
content: "\e698";
}
.icon-delete:before {
content: "\e699";
}
.icon-bad:before {
content: "\e69a";
}
.icon-address:before {
content: "\e69b";
}
.icon-add:before {
content: "\e69c";
}

Binary file not shown.

@ -133,8 +133,8 @@ switch.checked::before {
/* #ifndef MP-ALIPAY */
radio::before,
checkbox::before {
font-family: "cuIcon";
content: "\e645";
font-family: "iconfont-custom";
content: "\e697";
position: absolute;
color: #ffffff !important;
top: 50%;

@ -319,4 +319,11 @@
}
}
}
}
.ani {
transition: all 0.2s ease-in-out;
}
.isHoverIng{
opacity: 0.8;
}

@ -3,4 +3,6 @@
// color-ui
@import "@/static/scss/colorui.css";
// iconfont
@import "@/static/font/iconfont.css";
@import "@/static/font/iconfont.css";
//custom-icon
@import "@/static/font/custom-icon.css";

@ -62,7 +62,8 @@ const user = {
res = res.data; // 读取 data 数据
const user = res.user
// const avatar = (user == null || user.avatar === "" || user.avatar == null) ? require("@https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/user-head@2x.png") : user.avatar
const avatar = (user == null || user.avatar === "" || user.avatar == null) ? "https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/user-head@2x.png" : user.avatar
// const avatar = (user == null || user.avatar === "" || user.avatar == null) ? "https://mp-df79fe8b-b924-41b0-bcb1-960be6b4a619.cdn.bspapp.com/images/user/user-head@2x.png" : user.avatar
const avatar = (user == null || user.avatar === "" || user.avatar == null) ? "https://i.postimg.cc/B6DXHJZL/user-head-2x.png" : user.avatar
const nickname = (user == null || user.nickname === "" || user.nickname == null) ? "" : user.nickname
if (res.roles && res.roles.length > 0) {
commit('SET_ROLES', res.roles)

@ -21,7 +21,7 @@
<slot>
<view class="uni-navbar__header-container-inner" v-if="title.length>0">
<text class="uni-nav-bar-text uni-ellipsis-1"
:style="{color: themeColor }">{{ title }}</text>
:style="{color: themeColor ,fontSize:fontSize}">{{ title }}</text>
</view>
</slot>
</view>
@ -76,6 +76,10 @@
},
emits: ['clickLeft', 'clickRight', 'clickTitle'],
props: {
fontSizes:{
type: Number,
default: 14
},
dark: {
type: Boolean,
default: false
@ -164,6 +168,9 @@
}
return this.color || '#333'
},
fontSize(){
return getVal(this.fontSizes)
},
navbarHeight() {
return getVal(this.height)
},

Loading…
Cancel
Save