mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +08:00
【新增】增加【template】分包,用于增加各种类型的演示首页,目前已经添加【农产品首页】
This commit is contained in:
@@ -16,4 +16,6 @@
|
|||||||
<None Remove="CoreShop\**" />
|
<None Remove="CoreShop\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ProjectExtensions><VisualStudio><UserProperties /></VisualStudio></ProjectExtensions>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -10,9 +10,6 @@
|
|||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "首页",
|
"navigationBarTitleText": "首页",
|
||||||
// #ifdef H5
|
|
||||||
"titleNView": false,
|
|
||||||
// #endif
|
|
||||||
"enablePullDownRefresh": true
|
"enablePullDownRefresh": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -21,20 +18,6 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "页面",
|
"navigationBarTitleText": "页面",
|
||||||
// #ifdef H5
|
|
||||||
"titleNView": false,
|
|
||||||
// #endif
|
|
||||||
"enablePullDownRefresh": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/index/designDefault/designDefault",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTextStyle": "black",
|
|
||||||
"navigationBarTitleText": "设计页面",
|
|
||||||
// #ifdef H5
|
|
||||||
"titleNView": false,
|
|
||||||
// #endif
|
|
||||||
"enablePullDownRefresh": true
|
"enablePullDownRefresh": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -49,9 +32,6 @@
|
|||||||
"path": "pages/index/member/member",
|
"path": "pages/index/member/member",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
// #ifdef H5
|
|
||||||
"titleNView": false,
|
|
||||||
// #endif
|
|
||||||
"navigationBarTitleText": "会员中心"
|
"navigationBarTitleText": "会员中心"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -68,23 +48,29 @@
|
|||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "商品列表"
|
"navigationBarTitleText": "商品列表"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/template",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTextStyle": "black",
|
|
||||||
"navigationBarTitleText": "模板"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/demo",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTextStyle": "black",
|
|
||||||
"navigationBarTitleText": "演示"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subpackages": [
|
"subpackages": [
|
||||||
|
{
|
||||||
|
"root": "pages/template",
|
||||||
|
"name": "template",
|
||||||
|
"pages": [
|
||||||
|
{
|
||||||
|
"path": "empty/empty",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTextStyle": "black",
|
||||||
|
"navigationBarTitleText": "空模板架构页"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "zhunong/zhunong",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTextStyle": "black",
|
||||||
|
"navigationBarTitleText": "助农农产品首页"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/article",
|
"root": "pages/article",
|
||||||
"name": "article",
|
"name": "article",
|
||||||
@@ -185,9 +171,6 @@
|
|||||||
"path": "goodDetails/goodDetails",
|
"path": "goodDetails/goodDetails",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
// #ifdef H5
|
|
||||||
"titleNView": false,
|
|
||||||
// #endif
|
|
||||||
"navigationBarTitleText": "商品详情",
|
"navigationBarTitleText": "商品详情",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
@@ -349,9 +332,6 @@
|
|||||||
"path": "jump/jump",
|
"path": "jump/jump",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
// #ifdef H5
|
|
||||||
"titleNView": false,
|
|
||||||
// #endif
|
|
||||||
"navigationBarTitleText": "加载中..."
|
"navigationBarTitleText": "加载中..."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,43 +0,0 @@
|
|||||||
<template>
|
|
||||||
<view>
|
|
||||||
<u-navbar :title="title" safeAreaInsetTop fixed placeholder @leftClick="goNavigateBack"></u-navbar>
|
|
||||||
|
|
||||||
<u-tag text="标签"></u-tag>
|
|
||||||
<u-tag text="标签" type="warning"></u-tag>
|
|
||||||
<u-tag text="标签" type="success"></u-tag>
|
|
||||||
<u-tag text="标签" type="error"></u-tag>
|
|
||||||
|
|
||||||
|
|
||||||
<u-button type="primary" text="确定"></u-button>
|
|
||||||
<u-button type="primary" :plain="true" text="镂空"></u-button>
|
|
||||||
<u-button type="primary" :plain="true" :hairline="true" text="细边"></u-button>
|
|
||||||
<u-button type="primary" :disabled="disabled" text="禁用"></u-button>
|
|
||||||
<u-button type="primary" loading="true" loadingText="加载中"></u-button>
|
|
||||||
<u-button type="primary" icon="map" text="图标按钮"></u-button>
|
|
||||||
<u-button type="primary" shape="circle" text="按钮形状"></u-button>
|
|
||||||
<u-button text="渐变色按钮" color="linear-gradient(to right, rgb(66, 83, 216), rgb(213, 51, 186))"></u-button>
|
|
||||||
<u-button type="primary" size="small" text="大小尺寸"></u-button>
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
title: 'Hello'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad() {
|
|
||||||
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
</style>
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<u-button>按钮组件演示</u-button>
|
<u-button>按钮组件演示</u-button>
|
||||||
</view>
|
</view>
|
||||||
<view class="link-demo">
|
<view class="link-demo">
|
||||||
<u-link :color="$u.color['primary']" :under-line="true" href="http://www.coreshop.net">跳转coreshop官网:www.coreshop.cn</u-link>
|
<u-link :color="$u.color['primary']" :under-line="true" href="http://www.coreshop.cn">跳转coreshop官网:www.coreshop.cn</u-link>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -811,5 +811,5 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import 'designDefault.scss';
|
@import 'zhunong.scss';
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user