提交 dcb7eada 编写于 作者: 小刘28's avatar 小刘28 💬

feat:添加错误页面;

上级 5670db1f
......@@ -14,6 +14,6 @@
<style>
/*每个页面公共css*/
@import url('@/style/css/common.css');
@import './style/css/common.css';
</style>
......@@ -30,18 +30,16 @@
"style": {
"navigationBarTitleText": "template-4-live"
}
},
{
"path": "pages/error/error",
"style": {
"navigationBarTitleText": "上报错误",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/error/error",
"style" :
{
"navigationBarTitleText": "上报错误",
"enablePullDownRefresh": false
}
}
],
"subPackages": [{
],
"subPackages": [ {
"root": "pages-a",
"pages": [ {
"path": "a-test/a-test",
......@@ -65,18 +63,16 @@
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"condition" : { //模式配置,仅开发期间生效
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [
{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}
]
"list": [ {
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
} ]
}
}
<template>
<view>
<view class="content m-t-20 m-r-20 m-l-20">
<view class="item">
<view class="item-title">错误标题</view>
<view class="">
<input type="text" value="" />
</view>
</view>
<view class="item">
<view class="">错误类型</view>
<view class="">
<input type="text" value="" />
</view>
</view>
<view class="">
<view class="">错误时间</view>
<view class="">
<input type="text" value="" />
</view>
</view>
<view class="">
<view class="">错误内容</view>
<view class="">
<textarea value="" placeholder="" />
</view>
</view>
<view class="">
<view class="">其他内容</view>
<view class="">
<textarea value="" placeholder="" />
</view>
</view>
</view>
<view class="">
<view class="">上报错误</view>
<view class="">复制错误</view>
</view>
</view>
</template>
......@@ -17,6 +52,6 @@
}
</script>
<style>
<style lang="scss" scoped>
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册