diff --git a/manifest.json b/manifest.json
index f00ed55..24e124a 100644
--- a/manifest.json
+++ b/manifest.json
@@ -69,7 +69,7 @@
"desc" : "给用户展示地图"
}
},
- "requiredPrivateInfos" : [ "getLocation" ]
+ "requiredPrivateInfos" : [ "getLocation", "onLocationChange", "startLocationUpdate" ]
},
"mp-alipay" : {
"usingComponents" : true
diff --git a/pages.json b/pages.json
index 5426877..7a8102d 100644
--- a/pages.json
+++ b/pages.json
@@ -173,6 +173,13 @@
"enablePullDownRefresh" : false
}
},
+ {
+ "path": "webPage/webPages",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path" : "video/video",
"style" : {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index fd405c6..020e85c 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -299,8 +299,8 @@
this.Post({
id: 4
},'/api/article/getArticleById').then(res => {
- this.isShow = res.data.subtitle == 1 ? true : false
- // this.isShow = res.data.address == 1 ? true : false
+ // this.isShow = res.data.subtitle == 1 ? true : false
+ this.isShow = res.data.address == 1 ? true : false
})
},
onReady() {
diff --git a/pages/login/login.vue b/pages/login/login.vue
index b8aafaf..7799280 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -91,7 +91,8 @@
userInfo: res.userInfo,
encryptedData: res.encryptedData,
iv: res.iv,
- wechat_qrcode: uni.getStorageSync('wechat_qrcode')?uni.getStorageSync('wechat_qrcode'):''
+ wechat_qrcode: uni.getStorageSync('wechat_qrcode')?uni.getStorageSync('wechat_qrcode'):'',
+ merchant_id: uni.getStorageSync("merchant_id") ? uni.getStorageSync("merchant_id") : ''
}, '/api/mini_program/login').then(resTwo => {
_this.$store.commit('changeUserInfo', resTwo.data.userinfo)
if(resTwo.data.userinfo.mobile){
diff --git a/subPackages/other/feiyi.vue b/subPackages/other/feiyi.vue
index 2fd227b..9c7e7a3 100644
--- a/subPackages/other/feiyi.vue
+++ b/subPackages/other/feiyi.vue
@@ -65,8 +65,9 @@
list: []
}],
first: 0,
- count: 10,
+ count: 2,
xwwfind: 0,
+ cateLevel:'',
djlist: [{
name: '全部',
ind: 0,
@@ -93,12 +94,11 @@
list: []
}
],
- djName: '',
tjyrDatas: []
}
},
onReachBottom() {
- this.first += 10;
+ this.first += 2;
this.getDatalist();
},
onPageScroll(e) {
@@ -110,6 +110,7 @@
}
},
onReady() {
+ this.TitleClick(1);
var that = this;
const query = uni.createSelectorQuery().in(this);
query.select('#lmid').boundingClientRect(data => {
@@ -117,15 +118,22 @@
}).exec();
},
mounted() {
- this.TitleClick(1);
+ // this.TitleClick(1);
},
methods: {
ckxwwfind(ind,el) {
this.xwwfind = ind;
+ if(el.name != '全部') {
+ this.cateLevel = el.name;
+ }else{
+ this.cateLevel = '';
+ }
if(this.titleInd == 1) {
+ this.djlist[this.xwwfind].list = [];
+ this.first = 0;
+ this.count = 2;
this.getDatalist();
}else if(this.titleInd == 2) {
- this.djName = el.name;
this.getfyyrDaya();
}
},
@@ -141,16 +149,19 @@
}
},
getDatalist() {
- uni.showLoading({title: '加载中...'});
+ // uni.showLoading({title: '加载中...'});
+ uni.showToast({title: '加载中...',duration: 1000,icon: 'none'});
var url = '/json/content_list.jspx';
var para = {};
var that = this;
- that.Post({
+ let data = {
apiType: 'old',
channelIds: that.id,
first: that.first,
count: that.count
- }, url).then(res => {
+ }
+ if(that.cateLevel != '') data.cateLevel = that.cateLevel
+ that.Post(data, url).then(res => {
if(res) {
var json = [];
json = res;
@@ -228,11 +239,11 @@
if (res.data.success) {
let json = res.data.obj.data;
that.tjyrDatas = [];
- if(that.djName == '') {
+ if(that.cateLevel == '') {
that.tjyrDatas = json;
}else{
for (let i = 0; i < json.length; i++) {
- if(json[i].level == that.djName) {
+ if(json[i].level == that.cateLevel) {
that.tjyrDatas.push(json[i])
}
}
diff --git a/subPackages/webPage/webPages.vue b/subPackages/webPage/webPages.vue
new file mode 100644
index 0000000..76f116a
--- /dev/null
+++ b/subPackages/webPage/webPages.vue
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
\ No newline at end of file