diff --git a/components/DropDown/DropDown.vue b/components/DropDown/DropDown.vue
new file mode 100644
index 0000000..f72e5d6
--- /dev/null
+++ b/components/DropDown/DropDown.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/DropDown/DropDownItem.vue b/components/DropDown/DropDownItem.vue
new file mode 100644
index 0000000..87ce2f2
--- /dev/null
+++ b/components/DropDown/DropDownItem.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+ {{item}}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/InputAndSwiper/InputAndSwiper.vue b/components/InputAndSwiper/InputAndSwiper.vue
index 6697869..4fcf43c 100644
--- a/components/InputAndSwiper/InputAndSwiper.vue
+++ b/components/InputAndSwiper/InputAndSwiper.vue
@@ -1,5 +1,5 @@
-
+
{
- console.log(re.result.ad_info.city, '成都市==');
- console.log(re.result.ad_info.district, '武侯区==');
+ console.log("解析地址成功", re);
+ console.log(re.result.ad_info.city,);
+ console.log(re.result.ad_info.district, );
+ let city=re.result.ad_info.city
+ let district=re.result.ad_info.district
+ that.position = city.slice(0,2) + district.slice(0,2)
},
fail: (re) => {
console.log(re, '失败信息');
}
})
- }
+ },
+ fail(err) {
+ console.log("获取经纬度失败", err);
+ },
});
},
//提示用户开启定位服务
open() {
- // uni.authorize({
- // scope: 'scope.userLocation',
- // success: function() {
- // console.log('授权成功');
- // },
- // fail: function() {
- // console.log('授权失败');
- // }
- // })
+ var that = this
+ uni.authorize({
+ scope: 'scope.userFuzzyLocation',
+ success: function() {
+ console.log('授权成功');
+ that.getLocation1()
+ },
+ fail: function() {
+ console.log('授权失败');
+ uni.showModal({
+ content: '检测到您没打开获取信息功能权限,是否去设置打开?',
+ confirmText: "确认",
+ cancelText: '取消',
+ success: (res) => {
+ if (res.confirm) {
+ uni.openSetting({
+ success: (res) => {
+ console.log(res);
+ that.getLocation1();
+ }
+ })
+ } else {
+ console.log('取消');
+ return false;
+ }
+ }
+ })
+ return false;
+ }
+ })
// wx.getSetting({
// success: (res) => {
// if (res.authSetting['scope.userLocation'] === false) {
@@ -109,6 +133,10 @@
diff --git a/pages/index/NavBarPages/czxx/czxx.vue b/pages/index/NavBarPages/czxx/czxx.vue
new file mode 100644
index 0000000..8183fd0
--- /dev/null
+++ b/pages/index/NavBarPages/czxx/czxx.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/NavBarPages/xmzs/xmzs.vue b/pages/index/NavBarPages/xmzs/xmzs.vue
new file mode 100644
index 0000000..8183fd0
--- /dev/null
+++ b/pages/index/NavBarPages/xmzs/xmzs.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/NavBarPages/zdxx/zdxx.vue b/pages/index/NavBarPages/zdxx/zdxx.vue
new file mode 100644
index 0000000..bf6d643
--- /dev/null
+++ b/pages/index/NavBarPages/zdxx/zdxx.vue
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/NavBarPages/zrxx/zrxx.vue b/pages/index/NavBarPages/zrxx/zrxx.vue
new file mode 100644
index 0000000..be00c15
--- /dev/null
+++ b/pages/index/NavBarPages/zrxx/zrxx.vue
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 54da2f1..78900ff 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -20,9 +20,9 @@
-
diff --git a/pages/shopTransfer/shopTransfer.vue b/pages/shopTransfer/shopTransfer.vue
index 7cbd61a..11963f4 100644
--- a/pages/shopTransfer/shopTransfer.vue
+++ b/pages/shopTransfer/shopTransfer.vue
@@ -1,12 +1,29 @@
-
- 店铺转让
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/static/dropdown/dp_icon_hlxia.png b/static/dropdown/dp_icon_hlxia.png
new file mode 100644
index 0000000..e8ecd98
Binary files /dev/null and b/static/dropdown/dp_icon_hlxia.png differ
diff --git a/static/dropdown/dp_icon_lxia.png b/static/dropdown/dp_icon_lxia.png
new file mode 100644
index 0000000..646d611
Binary files /dev/null and b/static/dropdown/dp_icon_lxia.png differ
diff --git a/static/shoplist/dp_icon_pj.png b/static/shoplist/dp_icon_pj.png
new file mode 100644
index 0000000..d7e9d37
Binary files /dev/null and b/static/shoplist/dp_icon_pj.png differ
diff --git a/static/shoplist/dp_icon_sc.png b/static/shoplist/dp_icon_sc.png
new file mode 100644
index 0000000..e9a4159
Binary files /dev/null and b/static/shoplist/dp_icon_sc.png differ