Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sport-train
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangjiale
sport-train
Commits
d5c92708
Commit
d5c92708
authored
Jun 01, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置全局uview-ui组件,直接使用无需引用,打包时自动匹配到用到的组件打包
parent
17eb8a37
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
103 additions
and
11 deletions
+103
-11
README.md
README.md
+1
-1
manifest.json
manifest.json
+1
-1
package-lock.json
package-lock.json
+3
-3
package.json
package.json
+2
-1
pages.json
pages.json
+2
-2
index.vue
pages/index/index.vue
+16
-3
project.config.json
project.config.json
+78
-0
No files found.
README.md
View file @
d5c92708
...
...
@@ -20,6 +20,6 @@
# 开发文档
-
[
uni-app官方文档
](
https://uniapp.dcloud.net.cn/
)
-
[
uview-ui官方文档
](
https://
v1.uviewui.com/guide/dem
o.html
)
-
[
uview-ui官方文档
](
https://
www.uviewui.com/components/intr
o.html
)
-
[
api接口文档
](
)
-
[
ui交互地址
](
)
manifest.json
View file @
d5c92708
{
"name"
:
"
massage-oper
"
,
"name"
:
"
sport-train
"
,
"appid"
:
"__UNI__ED7B062"
,
"description"
:
"多平台快速开发的UI框架"
,
"versionName"
:
"1.0.0"
,
...
...
package-lock.json
View file @
d5c92708
...
...
@@ -8,9 +8,9 @@
"integrity"
:
"sha512-AztC/IOW4L1Q41A86phW5Thhcrco3xuAA+YX/BLpLWWjRcTj5TOt/QImBLmCKlrF7u7k47arTnOyL6GnbG8Hvw=="
},
"uview-ui"
:
{
"version"
:
"2.0.
15
"
,
"resolved"
:
"https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.
15
.tgz"
,
"integrity"
:
"sha512-
sLpa1llrseaKsNmzjsNDFntlT5OkvBy3j1Loc/y5okUW6ICG5Xun95pTra/17RsT17Z4TbBB1w1IQKEMAIcftQ
=="
"version"
:
"2.0.
31
"
,
"resolved"
:
"https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.
31
.tgz"
,
"integrity"
:
"sha512-
I/0fGuvtiKHH/mBb864SGYk+SJ7WaF32tsBgYgeBOsxlUp+Th+Ac2tgz2cTvsQJl6eZYWsKZ3ixiSXCAcxZ8Sw
=="
}
}
}
package.json
View file @
d5c92708
{
"id"
:
"sport-train"
,
"author"
:
"tjl"
,
"uni-app"
:
{
"scripts"
:
{
"mp-weixin-prod"
:
{
...
...
@@ -30,6 +31,6 @@
},
"dependencies"
:
{
"
dayjs
"
:
"1.10.6"
,
"
uview-ui
"
:
"2.0.
15
"
"
uview-ui
"
:
"2.0.
31
"
}
}
pages.json
View file @
d5c92708
...
...
@@ -40,8 +40,8 @@
"easycom"
:
{
"autoscan"
:
true
,
"custom"
:
{
"^
xb-(.*)"
:
"@/components/xb
-$1.vue"
,
"^u-(.*)"
:
"uview-ui/components/u-$1/u
-$1.vue"
"^
u-(.*)"
:
"uview-ui/components/u-$1/u
-$1.vue"
,
"^b-(.*)"
:
"@/components/xb
-$1.vue"
}
},
"globalStyle"
:
{
...
...
pages/index/index.vue
View file @
d5c92708
<
template
>
<
div
class=
"page-bg"
>
首页
调试
<
view
class=
"page-bg"
>
首页
<xb-icon
type=
"icon-icon_txzy"
color=
"#1DA47B"
></xb-icon>
</div>
<u-slider
v-model=
"value"
></u-slider>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
value
:
30
}
},
onLoad
(){
console
.
log
(
uni
.
$u
.
config
.
v
);
}
}
</
script
>
<
style
lang=
"less"
scoped
>
...
...
project.config.json
0 → 100644
View file @
d5c92708
{
"description"
:
"项目配置文件"
,
"packOptions"
:
{
"ignore"
:
[]
},
"setting"
:
{
"urlCheck"
:
true
,
"es6"
:
true
,
"enhance"
:
true
,
"postcss"
:
true
,
"preloadBackgroundData"
:
false
,
"minified"
:
true
,
"newFeature"
:
false
,
"coverView"
:
true
,
"nodeModules"
:
false
,
"autoAudits"
:
false
,
"showShadowRootInWxmlPanel"
:
true
,
"scopeDataCheck"
:
false
,
"uglifyFileName"
:
false
,
"checkInvalidKey"
:
true
,
"checkSiteMap"
:
true
,
"uploadWithSourceMap"
:
true
,
"compileHotReLoad"
:
false
,
"lazyloadPlaceholderEnable"
:
false
,
"useMultiFrameRuntime"
:
true
,
"useApiHook"
:
true
,
"useApiHostProcess"
:
true
,
"babelSetting"
:
{
"ignore"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
},
"useIsolateContext"
:
false
,
"userConfirmedBundleSwitch"
:
false
,
"packNpmManually"
:
false
,
"packNpmRelationList"
:
[],
"minifyWXSS"
:
true
,
"disableUseStrict"
:
false
,
"minifyWXML"
:
true
,
"showES6CompileOption"
:
false
,
"useCompilerPlugins"
:
false
,
"ignoreUploadUnusedFiles"
:
true
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.24.4"
,
"appid"
:
"wx00e5a2576e095113"
,
"projectname"
:
"sportTrain"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
},
"scripts"
:
{},
"staticServerOptions"
:
{
"baseURL"
:
""
,
"servePath"
:
""
},
"isGameTourist"
:
false
,
"condition"
:
{
"search"
:
{
"list"
:
[]
},
"conversation"
:
{
"list"
:
[]
},
"game"
:
{
"list"
:
[]
},
"plugin"
:
{
"list"
:
[]
},
"gamePlugin"
:
{
"list"
:
[]
},
"miniprogram"
:
{
"list"
:
[]
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment