Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
54e264c4
提交
54e264c4
authored
1月 10, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工人端项目权限
父级
e11c0c1f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
11 行删除
+10
-11
pages/gallery/gallery.vue
+2
-3
pages/index/bussConfig/bussConfig.vue
+2
-5
pages/index/index.vue
+3
-2
pages/mine/projectInfo/projectInfo.vue
+3
-1
没有找到文件。
pages/gallery/gallery.vue
View file @
54e264c4
...
...
@@ -29,7 +29,7 @@
<image
src=
"../../static/ic-sjzg.png"
class=
"image"
@
click=
"linkToData"
></image>
<text
class=
"text"
@
click=
"linkToData"
>
数据智管
</text>
<image
src=
"../../static/ic-rqyy.png"
class=
"rq-image"
></image>
<text
class=
"text"
>
本周人气最佳:
{{
mostUsed
.
app_name
}}
</text>
<text
class=
"text"
>
本周人气最佳:
{{
mostUsed
.
app_name
||
"暂无"
}}
</text>
</view>
<view
class=
"app-content"
>
<v-tabs
:tabs=
"tabs"
:scroll=
"true"
:value=
"current"
@
change=
"tabChange"
></v-tabs>
...
...
@@ -95,8 +95,7 @@
this
.
statusBarHeight
=
info
.
statusBarHeight
this
.
role
=
getApp
().
globalData
.
userInfo
.
identity
.
code
if
(
this
.
role
==
'WORKER'
)
{
this
.
orgName
=
getApp
().
globalData
.
userInfo
.
currentProject
.
projectName
uni
.
setStorageSync
(
"org_no"
,
getApp
().
globalData
.
userInfo
.
user
.
org_no
)
this
.
orgName
=
uni
.
getStorageSync
(
"org_name"
)
}
this
.
getAppGroup
()
this
.
getMostUsed
()
...
...
pages/index/bussConfig/bussConfig.vue
View file @
54e264c4
...
...
@@ -14,7 +14,7 @@
<view
class=
"menu-item"
v-for=
"(item,index) in selList"
:key=
"index"
>
<view
class=
"logo-content"
>
<image
:src=
"
'https://release-console.oss-cn-hangzhou.aliyuncs.com/intecons/uniimage/'+item.ydt_logo+'.png'
"
:src=
"
item.ydt_logo
"
class=
"logo"
></image>
<image
src=
"../../../static/delete-ic.png"
class=
"del"
@
click=
"toDel(index)"
></image>
</view>
...
...
@@ -30,9 +30,7 @@
<view
class=
"app-list"
>
<view
class=
"menu-item"
v-for=
"(app,appIndex) in item.data"
:key=
"appIndex"
>
<view
class=
"logo-content"
>
<image
:src=
"'https://release-console.oss-cn-hangzhou.aliyuncs.com/intecons/uniimage/'+app.ydt_logo+'.png'"
class=
"logo"
></image>
<image
:src=
"app.ydt_logo"
class=
"logo"
></image>
<image
src=
"../../../static/add-ic.png"
class=
"del"
@
click=
"toAdd(app,index,appIndex)"
>
</image>
</view>
...
...
@@ -124,7 +122,6 @@
if
(
this
.
selList
.
length
==
4
)
{
this
.
$toast
.
showToast
(
"常用应用最多设置4个"
)
}
else
{
item
.
ydt_logo
=
item
.
logo
this
.
selList
.
push
(
item
)
this
.
apps
[
this
.
current
].
list
[
index
].
data
.
splice
(
appIndex
,
1
)
}
...
...
pages/index/index.vue
View file @
54e264c4
...
...
@@ -53,8 +53,7 @@
<view
:class=
"isLineVisil(index)?'app-name-left':'app-name-right'"
>
{{
nameLengthDeal
(
app
.
app_name
)
}}
</view>
<image
class=
"app-logo"
:src=
"'https://release-console.oss-cn-hangzhou.aliyuncs.com/intecons/uniimage/'+app.ydt_logo+'.png'"
>
<image
class=
"app-logo"
:src=
"app.ydt_logo"
>
</image>
<view
class=
"line"
v-if=
"isLineVisil(index)"
></view>
</view>
...
...
@@ -453,6 +452,8 @@
this
.
project_id
=
this
.
userInfo
.
worker
.
projectId
this
.
getGoodsList
()
this
.
getMyScore
()
uni
.
setStorageSync
(
"org_no"
,
this
.
userInfo
.
user
.
org_no
)
uni
.
setStorageSync
(
"org_name"
,
this
.
userInfo
.
currentProject
.
projectName
)
}
}
this
.
getNews
()
...
...
pages/mine/projectInfo/projectInfo.vue
View file @
54e264c4
...
...
@@ -25,7 +25,9 @@
<view
class=
"line"
></view>
<view
class=
"item"
>
<view
class=
"item-name"
>
项目地址:
</view>
<view
class=
"item-value"
style=
"width: 488rpx;"
>
{{
project
.
province
}}{{
project
.
city
}}{{
project
.
area
}}
<view
class=
"item-value"
style=
"width: 488rpx;display: flex;flex-direction: column;align-items: flex-end;"
>
{{
project
.
province
}}{{
project
.
city
}}{{
project
.
area
}}
</view>
</view>
<view
class=
"line"
></view>
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment