diff --git a/App.vue b/App.vue
index eda9c4e..549dbe4 100644
--- a/App.vue
+++ b/App.vue
@@ -1,5 +1,4 @@
-
-
\ No newline at end of file
diff --git a/components/publishSlide/publishSlide.vue b/components/publishSlide/publishSlide.vue
new file mode 100644
index 0000000..f3008f5
--- /dev/null
+++ b/components/publishSlide/publishSlide.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+ 店铺转让
+
+
+
+ 找店选址
+
+
+
+ 店铺出租
+
+
+
+ 项目招商
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index 1d7f366..942d70f 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,73 +1,79 @@
{
- "name" : "city-store-transfer",
- "appid" : "__UNI__F3EA0D6",
- "description" : "",
- "versionName" : "1.0.0",
- "versionCode" : "100",
- "transformPx" : false,
- /* 5+App特有相关 */
- "app-plus" : {
- "usingComponents" : true,
- "nvueStyleCompiler" : "uni-app",
- "compilerVersion" : 3,
- "splashscreen" : {
- "alwaysShowBeforeRender" : true,
- "waiting" : true,
- "autoclose" : true,
- "delay" : 0
- },
- /* 模块配置 */
- "modules" : {},
- /* 应用发布信息 */
- "distribute" : {
- /* android打包配置 */
- "android" : {
- "permissions" : [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ]
- },
- /* ios打包配置 */
- "ios" : {},
- /* SDK配置 */
- "sdkConfigs" : {}
- }
- },
- /* 快应用特有相关 */
- "quickapp" : {},
- /* 小程序特有相关 */
- "mp-weixin" : {
- "appid" : "wxda178d12ae834c45",
- "setting" : {
- "urlCheck" : false
- },
- "usingComponents" : true,
- "permission" : {}
- },
- "mp-alipay" : {
- "usingComponents" : true
- },
- "mp-baidu" : {
- "usingComponents" : true
- },
- "mp-toutiao" : {
- "usingComponents" : true
- },
- "uniStatistics" : {
- "enable" : false
- },
- "vueVersion" : "2"
-}
+ "name": "city-store-transfer",
+ "appid": "__UNI__F3EA0D6",
+ "description": "",
+ "versionName": "1.0.0",
+ "versionCode": "100",
+ "transformPx": false,
+ /* 5+App特有相关 */
+ "app-plus": {
+ "usingComponents": true,
+ "nvueStyleCompiler": "uni-app",
+ "compilerVersion": 3,
+ "splashscreen": {
+ "alwaysShowBeforeRender": true,
+ "waiting": true,
+ "autoclose": true,
+ "delay": 0
+ },
+ /* 模块配置 */
+ "modules": {},
+ /* 应用发布信息 */
+ "distribute": {
+ /* android打包配置 */
+ "android": {
+ "permissions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ]
+ },
+ /* ios打包配置 */
+ "ios": {},
+ /* SDK配置 */
+ "sdkConfigs": {}
+ }
+ },
+ /* 快应用特有相关 */
+ "quickapp": {},
+ /* 小程序特有相关 */
+ "mp-weixin": {
+ "appid": "wxda178d12ae834c45",
+ "setting": {
+ "urlCheck": false
+ },
+ "usingComponents": true,
+ "permission": {
+ // 获取当前的地理位置、速度 配置
+ "scope.userLocation": {
+ "desc": "你的位置信息将用于小程序位置接口的效果展示"
+ }
+ }
+
+ },
+ "mp-alipay": {
+ "usingComponents": true
+ },
+ "mp-baidu": {
+ "usingComponents": true
+ },
+ "mp-toutiao": {
+ "usingComponents": true
+ },
+ "uniStatistics": {
+ "enable": false
+ },
+ "vueVersion": "2"
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 44ee586..9e0e6da 100644
--- a/pages.json
+++ b/pages.json
@@ -1,121 +1,140 @@
{
- "easycom" : {
- "autoscan" : true, //是否自动扫描组件
- "custom" : {
- "^u-(.*)" : "uview-ui/components/u-$1/u-$1.vue",
- "^ua-(.*)" : "@/components/uview-ui/components/u-$1/u-$1.vue",
- "^customer-(.*)" : "@/components/uni-$1.vue" // 匹配components目录内的vue文件
- }
- },
- "pages" : [
- //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path" : "pages/index/index",
- "style" : {
- "navigationBarTitleText" : "速配商铺",
- "navigationBarTextStyle" : "black",
- "navigationBarBackgroundColor" : "#FFFFFF",
- //导航栏取消
- // "navigationStyle": "custom",
- //是否开启下拉刷新
- "enablePullDownRefresh" : true
- }
- },
- {
- "path" : "pages/shopTransfer/shopTransfer",
- "style" : {
- "navigationBarTitleText" : "店铺转让",
- "navigationBarTextStyle" : "black",
- "navigationBarBackgroundColor" : "#FFFFFF",
- "enablePullDownRefresh" : false
- }
- },
- //+
- {
- "path" : "pages/shopAddress/shopAddress",
- "style" : {
- "navigationBarTitleText" : "找店地址",
- "navigationBarTextStyle" : "black",
- "navigationBarBackgroundColor" : "#FFFFFF",
- "enablePullDownRefresh" : false
- }
- },
- {
- "path" : "pages/my/my",
- "style" : {
- "navigationBarTitleText" : "我的",
- "navigationBarTextStyle" : "black",
- "navigationBarBackgroundColor" : "#FFFFFF",
- "enablePullDownRefresh" : false
- }
- },
- {
- "path" : "pages/publish/publish",
- "style" : {
- "navigationBarTitleText" : "",
- "enablePullDownRefresh" : false
- }
- },
- {
- "path" : "pages/detail/detail",
- "style" : {
- "navigationBarTitleText" : "商品详情"
+ "easycom": {
+ "autoscan": true, //是否自动扫描组件
+ "custom": {
+ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
+ "^ua-(.*)": "@/components/uview-ui/components/u-$1/u-$1.vue",
+ "^customer-(.*)": "@/components/uni-$1.vue" // 匹配components目录内的vue文件
+ }
+ },
+ "pages": [
+ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "速配商铺",
+ "navigationBarTextStyle": "black",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ //导航栏取消
+ // "navigationStyle": "custom",
+ //是否开启下拉刷新
+ "enablePullDownRefresh": true
}
- }
- ],
- "tabBar" : {
- "color" : "#CCCCCC",
- "borderStyle" : "white",
- "backgroundColor" : "#FFFFFF",
- "custom" : true,
- "list" : [
- {
- "pagePath" : "pages/index/index",
- "text" : "首页",
- "iconPath" : "static/tabbar/di_icon_syh.png",
- "selectedIconPath" : "static/tabbar/di_icon_sy.png"
- },
- {
- "pagePath" : "pages/shopTransfer/shopTransfer",
- "text" : "店铺转让",
- "iconPath" : "static/tabbar/di_icon_zrh.png",
- "selectedIconPath" : "static/tabbar/di_icon_zr.png"
- },
- {
- "pagePath" : "pages/publish/publish",
- "text" : "发布",
- "iconPath" : "static/tabbar/di_icon_fb.png",
- "selectedIconPath" : "static/tabbar/di_icon_fb.png"
- },
- {
- "pagePath" : "pages/shopAddress/shopAddress",
- "text" : "找店地址",
- "iconPath" : "static/tabbar/di_icon_dzh.png",
- "selectedIconPath" : "static/tabbar/di_icon_dz.png"
- },
- {
- "pagePath" : "pages/my/my",
- "text" : "店铺转让",
- "iconPath" : "static/tabbar/di_icon_wdh.png",
- "selectedIconPath" : "static/tabbar/di_icon_wd.png"
- }
- ]
- },
- "globalStyle" : {
- "navigationBarTextStyle" : "black",
- "navigationBarTitleText" : "uni-app",
- "navigationBarBackgroundColor" : "#F8F8F8",
- "backgroundColor" : "#F8F8F8"
- },
- "uniIdRouter" : {},
- "condition" : { //模式配置,仅开发期间生效
- "current": 0, //当前激活的模式(list 的索引项)
- "list": [
+ },
+ {
+ "path": "pages/shopTransfer/shopTransfer",
+ "style": {
+ "navigationBarTitleText": "店铺转让",
+ "navigationBarTextStyle": "black",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "enablePullDownRefresh": false
+ }
+ },
+ //+
+ {
+ "path": "pages/shopAddress/shopAddress",
+ "style": {
+ "navigationBarTitleText": "找店地址",
+ "navigationBarTextStyle": "black",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/my/my",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "navigationBarTextStyle": "black",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/detail/detail",
+ "style": {
+ "navigationBarTitleText": "商品详情"
+ }
+ }, {
+ "path": "pages/published/published",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": true
+ }
+ }, {
+ "path": "pages/publish/publishTransfer/publishTransfer",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/publish/publishAddress/publishAddress",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/publish/publishRent/publishRent",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }, {
+ "path": "pages/publish/publishInvestment/publishInvestment",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
+ "tabBar": {
+ "color": "#CCCCCC",
+ "borderStyle": "white",
+ "backgroundColor": "#FFFFFF",
+ "custom": true,
+ "list": [{
+ "pagePath": "pages/index/index",
+ "text": "首页",
+ "iconPath": "static/tabbar/di_icon_syh.png",
+ "selectedIconPath": "static/tabbar/di_icon_sy.png"
+ },
{
- "name": "", //模式名称
- "path": "", //启动页面,必选
- "query": "" //启动参数,在页面的onLoad函数里面得到
+ "pagePath": "pages/shopTransfer/shopTransfer",
+ "text": "店铺转让",
+ "iconPath": "static/tabbar/di_icon_zrh.png",
+ "selectedIconPath": "static/tabbar/di_icon_zr.png"
+ },
+
+ {
+ "pagePath": "pages/shopAddress/shopAddress",
+ "text": "找店地址",
+ "iconPath": "static/tabbar/di_icon_dzh.png",
+ "selectedIconPath": "static/tabbar/di_icon_dz.png"
+ },
+ {
+ "pagePath": "pages/my/my",
+ "text": "店铺转让",
+ "iconPath": "static/tabbar/di_icon_wdh.png",
+ "selectedIconPath": "static/tabbar/di_icon_wd.png"
}
]
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "uni-app",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8"
+ },
+ "uniIdRouter": {},
+ "condition": { //模式配置,仅开发期间生效
+ "current": 0, //当前激活的模式(list 的索引项)
+ "list": [{
+ "name": "", //模式名称
+ "path": "", //启动页面,必选
+ "query": "" //启动参数,在页面的onLoad函数里面得到
+ }]
}
-}
+}
\ No newline at end of file
diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue
index 8329b3a..6dc756b 100644
--- a/pages/detail/detail.vue
+++ b/pages/detail/detail.vue
@@ -1,7 +1,7 @@
-
+
-
+
@@ -10,15 +10,15 @@
- 22
+ 22
租金
- 22
+ 22
转让费
- 22
+ 22
面积
@@ -34,28 +34,30 @@
-
+
-
+
分享
-
+
客服
-
-
- 打电话
+
+
+ 打电话
-
+
+
+
@@ -76,11 +78,28 @@
},
data() {
return {
+ viewheight:'',
}
},
methods: {
-
+ // getHeight(){
+ // let height = this.$refs.viewref.$el.offsetHeight
+ // this.viewheight = height
+ // },
+ phonecall(){
+ console.log('打电话');
+ },
+ share(){
+ console.log('分享');
+ },
+ assist(){
+ console.log('客服');
+ }
+ },
+ mounted(){
+ // this.getHeight();
+ // console.log(viewheight)
}
}
@@ -90,12 +109,22 @@
// background-color: #F8F8F8;
height: 100%;
}
+ .bug-figure{
+ height: 100rpx;
+ }
.swiper {
}
.title{
padding: 20rpx;
background-color: #fff;
}
+ .grid-textup{
+ color: #CC3333;
+ font-size: 20px;
+ }
+ .grid-text{
+ color: #B3B3B3;
+ }
.location-detail{
display: flex;
margin-top: 20rpx;
@@ -120,7 +149,8 @@
background-color: #fff;
width: 100%;
z-index: 100;
- height: 100rpx;
+ // height: 100rpx;
+ // bottom: calc(var(--window-bottom) + 20px);
}
.bot-tab{
display: flex;
@@ -131,19 +161,36 @@
width: 50%;
display: flex;
justify-content: space-around;
- height: 100px;
+ height: 50px;
}
- .coustom{
- height: 100px;
- }
- .tab-right{
- width: 50%;
- height: 100%;
+ .customer{
+ // height: 50px;
display: flex;
justify-content: center;
align-items: center;
+ flex-direction: column;
+ width: 50%;
+ }
+ .tab-right{
+ width: 50%;
+ height: 50px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background-image: linear-gradient(to right, #E86262, #CC3333);
}
.share{
-
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+ width: 50%;
+ }
+ .call{
+ color: #fff;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
}
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 2740541..d626092 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,26 +1,20 @@
-
-
+
-
+
-
-
@@ -46,5 +41,4 @@
width: 100%;
}
-
\ No newline at end of file
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 20f3c16..ffdd9c8 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -12,11 +12,12 @@
-
-
-
-
-
+
+
+
+
+
+
@@ -30,13 +31,23 @@
return {
src: 'https://cdn.uviewui.com/uview/album/2.jpg',
account:'11111111',
- username:'用户名'
+ username:'用户名',
}
},
onLoad() {
// this.getInfo()
},
methods: {
+ topublished(title){
+ uni.navigateTo({
+ url:'/pages/published/published?titletext='+title
+ })
+ },
+ todetail(){
+ uni.navigateTo({
+ url:'/pages/detail/detail'
+ })
+ }
//---------页面调用接口示例------------
// getInfo() {
// this.$api.getUserInfo().then(res => {
@@ -60,6 +71,7 @@
gap: 10rpx;
.profile-bgi{
position: absolute;
+ width: 100%;
z-index: -1;
}
.avator{
diff --git a/pages/publish/publish.vue b/pages/publish/publishAddress/publishAddress.vue
similarity index 79%
rename from pages/publish/publish.vue
rename to pages/publish/publishAddress/publishAddress.vue
index 5f2e4ca..9f51b6c 100644
--- a/pages/publish/publish.vue
+++ b/pages/publish/publishAddress/publishAddress.vue
@@ -1,7 +1,6 @@
- 发布
-
+ 发布店铺地址
diff --git a/pages/publish/publishInvestment/publishInvestment.vue b/pages/publish/publishInvestment/publishInvestment.vue
new file mode 100644
index 0000000..bed6bea
--- /dev/null
+++ b/pages/publish/publishInvestment/publishInvestment.vue
@@ -0,0 +1,22 @@
+
+
+ 发布招商合作
+
+
+
+
+
+
diff --git a/pages/publish/publishRent/publishRent.vue b/pages/publish/publishRent/publishRent.vue
new file mode 100644
index 0000000..812f1cb
--- /dev/null
+++ b/pages/publish/publishRent/publishRent.vue
@@ -0,0 +1,22 @@
+
+
+ 发布店铺出租
+
+
+
+
+
+
diff --git a/pages/publish/publishTransfer/publishTransfer.vue b/pages/publish/publishTransfer/publishTransfer.vue
new file mode 100644
index 0000000..166fb3c
--- /dev/null
+++ b/pages/publish/publishTransfer/publishTransfer.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 苹果
+ 雪梨
+ 柠檬
+ 橘子
+
+
+
+
+ 鲜甜
+ 麻辣
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/published/published.vue b/pages/published/published.vue
new file mode 100644
index 0000000..300d12e
--- /dev/null
+++ b/pages/published/published.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/publish/fb_icon_dpcz.png b/static/publish/fb_icon_dpcz.png
new file mode 100644
index 0000000..b601cf0
Binary files /dev/null and b/static/publish/fb_icon_dpcz.png differ
diff --git a/static/publish/fb_icon_dpzr.png b/static/publish/fb_icon_dpzr.png
new file mode 100644
index 0000000..1f345d4
Binary files /dev/null and b/static/publish/fb_icon_dpzr.png differ
diff --git a/static/publish/fb_icon_xmzs.png b/static/publish/fb_icon_xmzs.png
new file mode 100644
index 0000000..3e7a4b7
Binary files /dev/null and b/static/publish/fb_icon_xmzs.png differ
diff --git a/static/publish/fb_icon_zdxz.png b/static/publish/fb_icon_zdxz.png
new file mode 100644
index 0000000..61d0904
Binary files /dev/null and b/static/publish/fb_icon_zdxz.png differ
diff --git a/static/tabbar/di_icon_dz.png b/static/tabbar/di_icon_dz.png
index 704d075..eec0de0 100644
Binary files a/static/tabbar/di_icon_dz.png and b/static/tabbar/di_icon_dz.png differ
diff --git a/static/tabbar/di_icon_fb.png b/static/tabbar/di_icon_fb.png
index 0db81a0..28a523f 100644
Binary files a/static/tabbar/di_icon_fb.png and b/static/tabbar/di_icon_fb.png differ
diff --git a/static/tabbar/di_icon_fb@2x.png b/static/tabbar/di_icon_fb@2x.png
deleted file mode 100644
index 02731a3..0000000
Binary files a/static/tabbar/di_icon_fb@2x.png and /dev/null differ
diff --git a/static/tabbar/di_icon_sy.png b/static/tabbar/di_icon_sy.png
index 2ff2917..114c010 100644
Binary files a/static/tabbar/di_icon_sy.png and b/static/tabbar/di_icon_sy.png differ
diff --git a/static/tabbar/di_icon_wd.png b/static/tabbar/di_icon_wd.png
index 72ffc01..95c73a6 100644
Binary files a/static/tabbar/di_icon_wd.png and b/static/tabbar/di_icon_wd.png differ
diff --git a/static/tabbar/di_icon_zr.png b/static/tabbar/di_icon_zr.png
index ccd65b8..c91d34a 100644
Binary files a/static/tabbar/di_icon_zr.png and b/static/tabbar/di_icon_zr.png differ