正在显示
22 个修改的文件
包含
1003 行增加
和
40 行删除
components/picyan/picyan.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="canvas-img-code"> | ||
3 | + <canvas :style="{width:width+'px',height:height+'px'}" canvas-id="imgcanvas" @error="canvasIdErrorCallback" @click="refresh"></canvas> | ||
4 | + </view> | ||
5 | +</template> | ||
6 | + | ||
7 | +<script> | ||
8 | +export default { | ||
9 | + name: "picyan", | ||
10 | + //属性 | ||
11 | + props: { | ||
12 | + picname: { | ||
13 | + type: String,//属性类型 | ||
14 | + value: "" | ||
15 | + }, | ||
16 | + | ||
17 | + }, | ||
18 | + data(){ | ||
19 | + return { | ||
20 | + width:120,height:35 | ||
21 | + } | ||
22 | + }, | ||
23 | + mounted:function(){ | ||
24 | + var _self=this; | ||
25 | + _self.init(); | ||
26 | + }, | ||
27 | + methods: { | ||
28 | + refresh(){ | ||
29 | + this.init() | ||
30 | + }, | ||
31 | + init:function(){ | ||
32 | + console.log('start'); | ||
33 | + var context = uni.createCanvasContext('imgcanvas',this),w=this.width,h=this.height; | ||
34 | + context.setFillStyle("white"); | ||
35 | + context.setLineWidth(5); | ||
36 | + context.fillRect(0, 0, w, h); | ||
37 | + var pool=["A","B","C","D","E","F","G","H","I","J","K","L","I","M","N","O","P","Q","R","S","T","U","V","W","S","Y","Z","1","2","3","4","5","6","7","8","9","0"],str=''; | ||
38 | + for(var i=0;i<4;i++){ | ||
39 | + var c=pool[this.rn(0,pool.length-1)];//随机的字 | ||
40 | + var deg=this.rn(-30,30);//字体的旋转角度 | ||
41 | + context.setFontSize(18); | ||
42 | + context.setTextBaseline("top"); | ||
43 | + context.setFillStyle(this.rc(80,150)); | ||
44 | + context.save(); | ||
45 | + context.translate(30*i+15,parseInt(h/1.5)); | ||
46 | + context.rotate(deg*Math.PI/180); | ||
47 | + context.fillText(c,-15+5,-15); | ||
48 | + context.restore(); | ||
49 | + str+=c; | ||
50 | + this.$emit("picname",str) | ||
51 | + } | ||
52 | + uni.setStorage({ | ||
53 | + key:'imgcode', | ||
54 | + data:str, | ||
55 | + }); | ||
56 | + for(var i=0;i<40;i++){ | ||
57 | + context.beginPath(); | ||
58 | + context.arc(this.rn(0,w),this.rn(0,h),1,0,2*Math.PI); | ||
59 | + context.closePath(); | ||
60 | + context.setFillStyle(this.rc(150,200)); | ||
61 | + context.fill(); | ||
62 | + } | ||
63 | + context.draw(); console.log('end'); | ||
64 | + }, | ||
65 | + rc:function(min,max){ | ||
66 | + var r=this.rn(min,max); | ||
67 | + var g=this.rn(min,max); | ||
68 | + var b=this.rn(min,max); | ||
69 | + return "rgb("+r+","+g+","+b+")"; | ||
70 | + }, | ||
71 | + rn:function(max,min){ | ||
72 | + return parseInt(Math.random()*(max-min))+min; | ||
73 | + }, | ||
74 | + | ||
75 | + canvasIdErrorCallback: function (e) { | ||
76 | + console.error(e.detail.errMsg) | ||
77 | + } | ||
78 | + } | ||
79 | +} | ||
80 | +</script> | ||
81 | + | ||
82 | +<style lang="scss"> | ||
83 | + canvas{ | ||
84 | + height:50rpx; | ||
85 | + } | ||
86 | + .canvas-img-code{display: inline-block} | ||
87 | +</style> |
@@ -21,6 +21,16 @@ | @@ -21,6 +21,16 @@ | ||
21 | "navigationBarTextStyle": "black" | 21 | "navigationBarTextStyle": "black" |
22 | } | 22 | } |
23 | }, | 23 | }, |
24 | + { | ||
25 | + "path": "pages/login/loginmine", | ||
26 | + "style": { | ||
27 | + "navigationBarTitleText": "活动规则", | ||
28 | + "navigationBarBackgroundColor": "#fff", | ||
29 | + "navigationBarTextStyle": "black" | ||
30 | + } | ||
31 | + }, | ||
32 | + | ||
33 | + | ||
24 | 34 | ||
25 | 35 | ||
26 | { | 36 | { |
@@ -31,7 +41,22 @@ | @@ -31,7 +41,22 @@ | ||
31 | "navigationBarTextStyle": "black" | 41 | "navigationBarTextStyle": "black" |
32 | } | 42 | } |
33 | }, | 43 | }, |
34 | - | 44 | + { |
45 | + "path": "pages/usercenter/bindphone", | ||
46 | + "style": { | ||
47 | + "navigationBarTitleText": "绑定手机号", | ||
48 | + "navigationBarBackgroundColor": "#fff", | ||
49 | + "navigationBarTextStyle": "black" | ||
50 | + } | ||
51 | + }, | ||
52 | + { | ||
53 | + "path": "pages/usercenter/bindmima", | ||
54 | + "style": { | ||
55 | + "navigationBarTitleText": "设置密码", | ||
56 | + "navigationBarBackgroundColor": "#fff", | ||
57 | + "navigationBarTextStyle": "black" | ||
58 | + } | ||
59 | + }, | ||
35 | 60 | ||
36 | { | 61 | { |
37 | "path": "pages/guide/judge", | 62 | "path": "pages/guide/judge", |
@@ -19,16 +19,20 @@ | @@ -19,16 +19,20 @@ | ||
19 | <input type="text" value="" placeholder="请输入验证码" placeholder-class="enter" @input="entercode" /> | 19 | <input type="text" value="" placeholder="请输入验证码" placeholder-class="enter" @input="entercode" /> |
20 | </view> | 20 | </view> |
21 | </view> | 21 | </view> |
22 | - <view class="shortyanzheng" @click="changenum">{{rangenum}}</view> | 22 | + <picyan @picname="getpic"></picyan> |
23 | + <!-- <view class="shortyanzheng" @click="changenum">{{rangenum}}</view> --> | ||
23 | </view> | 24 | </view> |
24 | <view class="loginbtn rightbtn" @click="setmima">下一步</view> | 25 | <view class="loginbtn rightbtn" @click="setmima">下一步</view> |
25 | </view> | 26 | </view> |
26 | </view> | 27 | </view> |
27 | </template> | 28 | </template> |
28 | - | ||
29 | <script> | 29 | <script> |
30 | import app from "../../App.vue"; | 30 | import app from "../../App.vue"; |
31 | + import picyan from "../../components/picyan/picyan.vue"; | ||
31 | export default { | 32 | export default { |
33 | + components:{ | ||
34 | + picyan | ||
35 | + }, | ||
32 | data() { | 36 | data() { |
33 | return { | 37 | return { |
34 | rangenum: '', | 38 | rangenum: '', |
@@ -39,11 +43,16 @@ | @@ -39,11 +43,16 @@ | ||
39 | onLoad() { | 43 | onLoad() { |
40 | 44 | ||
41 | // // 生成随机验证码 | 45 | // // 生成随机验证码 |
42 | - var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | ||
43 | - this.rangenum = randomNum; | ||
44 | - console.log(this.rangenum) | 46 | + // var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); |
47 | + // this.rangenum = randomNum; | ||
48 | + // console.log(this.rangenum) | ||
45 | }, | 49 | }, |
46 | methods: { | 50 | methods: { |
51 | + getpic(e){ | ||
52 | + console.log('我是子组件的值',e); | ||
53 | + this.rangenum=e | ||
54 | + | ||
55 | + }, | ||
47 | // 刷新验证码 | 56 | // 刷新验证码 |
48 | changenum() { | 57 | changenum() { |
49 | var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | 58 | var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); |
@@ -81,6 +81,7 @@ | @@ -81,6 +81,7 @@ | ||
81 | 81 | ||
82 | data() { | 82 | data() { |
83 | return { | 83 | return { |
84 | + width:120,height:45, | ||
84 | tipstwo: false, | 85 | tipstwo: false, |
85 | tipsone: false, | 86 | tipsone: false, |
86 | currentTime: 60, | 87 | currentTime: 60, |
@@ -91,9 +92,12 @@ | @@ -91,9 +92,12 @@ | ||
91 | setcode: '', | 92 | setcode: '', |
92 | type: '', | 93 | type: '', |
93 | 94 | ||
95 | + | ||
94 | } | 96 | } |
95 | }, | 97 | }, |
98 | + | ||
96 | methods: { | 99 | methods: { |
100 | + | ||
97 | // 输入手机号 | 101 | // 输入手机号 |
98 | enterphone(e) { | 102 | enterphone(e) { |
99 | this.phone = e.detail.value | 103 | this.phone = e.detail.value |
@@ -348,12 +352,12 @@ | @@ -348,12 +352,12 @@ | ||
348 | } | 352 | } |
349 | 353 | ||
350 | }, | 354 | }, |
351 | - | ||
352 | onLaunch: function() { | 355 | onLaunch: function() { |
353 | console.log('App Launch,app启动') | 356 | console.log('App Launch,app启动') |
354 | }, | 357 | }, |
355 | onShow: function() { | 358 | onShow: function() { |
356 | 359 | ||
360 | + | ||
357 | }, | 361 | }, |
358 | onHide: function() { | 362 | onHide: function() { |
359 | console.log('App Hide,app不再展现在前台') | 363 | console.log('App Hide,app不再展现在前台') |
pages/login/loginmine.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="canvas-img-code"> | ||
3 | + <canvas :style="{width:width+'px',height:height+'px'}" canvas-id="imgcanvas" @error="canvasIdErrorCallback"></canvas> | ||
4 | + </view> | ||
5 | +</template> | ||
6 | + | ||
7 | +<script> | ||
8 | +export default { | ||
9 | + data(){ | ||
10 | + return { | ||
11 | + width:120,height:45, | ||
12 | + codeImg:'' | ||
13 | + } | ||
14 | + }, | ||
15 | + mounted:function(){ | ||
16 | + var _self=this; | ||
17 | + setTimeout(function(){ | ||
18 | + _self.init(); | ||
19 | + },2000) | ||
20 | + this.getcode() | ||
21 | + }, | ||
22 | + onLoad() { | ||
23 | + | ||
24 | + }, | ||
25 | + | ||
26 | + methods: { | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + init:function(){ | ||
31 | + console.log('start'); | ||
32 | + var context = uni.createCanvasContext('imgcanvas',this),w=this.width,h=this.height; | ||
33 | + context.setFillStyle("white"); | ||
34 | + context.setLineWidth(5); | ||
35 | + context.fillRect(150, 50, w, h); | ||
36 | + console.log(context) | ||
37 | + var pool=["A","B","C","D","E","F","G","H","I","J","K","L","I","M","N","O","P","Q","R","S","T","U","V","W","S","Y","Z","1","2","3","4","5","6","7","8","9","0"],str=''; | ||
38 | + for(var i=0;i<4;i++){ | ||
39 | + var c=pool[this.rn(0,pool.length-1)];//随机的字 | ||
40 | + var deg=this.rn(-30,30);//字体的旋转角度 | ||
41 | + context.setFontSize(18); | ||
42 | + context.setTextBaseline("top"); | ||
43 | + context.setFillStyle(this.rc(80,150)); | ||
44 | + context.save(); | ||
45 | + context.translate(30*i+15,parseInt(h/1.5)); | ||
46 | + context.rotate(deg*Math.PI/180); | ||
47 | + context.fillText(c,-15+5,-15); | ||
48 | + context.restore(); | ||
49 | + str+=c; | ||
50 | + console.log(str) | ||
51 | + } | ||
52 | + uni.setStorage({ | ||
53 | + key:'imgcode', | ||
54 | + data:str, | ||
55 | + }); | ||
56 | + for(var i=0;i<40;i++){ | ||
57 | + context.beginPath(); | ||
58 | + context.arc(this.rn(0,w),this.rn(0,h),1,0,2*Math.PI); | ||
59 | + context.closePath(); | ||
60 | + context.setFillStyle(this.rc(150,200)); | ||
61 | + context.fill(); | ||
62 | + } | ||
63 | + context.draw(); console.log('end'); | ||
64 | + }, | ||
65 | + | ||
66 | + | ||
67 | + rc:function(min,max){ | ||
68 | + var r=this.rn(min,max); | ||
69 | + var g=this.rn(min,max); | ||
70 | + var b=this.rn(min,max); | ||
71 | + return "rgb("+r+","+g+","+b+")"; | ||
72 | + }, | ||
73 | + rn:function(max,min){ | ||
74 | + return parseInt(Math.random()*(max-min))+min; | ||
75 | + }, | ||
76 | + refresh:function() | ||
77 | + { | ||
78 | + this.init(); | ||
79 | + }, | ||
80 | + canvasIdErrorCallback: function (e) { | ||
81 | + console.error(e.detail.errMsg) | ||
82 | + } | ||
83 | + } | ||
84 | +} | ||
85 | +</script> | ||
86 | + | ||
87 | +<style lang="scss"> | ||
88 | + .canvas-img-code{display: inline-block} | ||
89 | +</style> |
@@ -19,8 +19,10 @@ | @@ -19,8 +19,10 @@ | ||
19 | <input type="text" value="" placeholder="请输入验证码" placeholder-class="enter" @input="entercode" /> | 19 | <input type="text" value="" placeholder="请输入验证码" placeholder-class="enter" @input="entercode" /> |
20 | </view> | 20 | </view> |
21 | </view> | 21 | </view> |
22 | - <view class="shortyanzheng" @click="changenum">{{rangenum}}</view> | 22 | + <picyan @picname="getpic"></picyan> |
23 | + <!-- <view class="shortyanzheng" @click="changenum">{{rangenum}}</view> --> | ||
23 | </view> | 24 | </view> |
25 | + | ||
24 | <view class="registerbot"> | 26 | <view class="registerbot"> |
25 | <view class="loginword wordregister"> | 27 | <view class="loginword wordregister"> |
26 | 登录即表示同意 <text class="xieyi" @click="xieyi" :data-type="1">用户协议</text>和<text class="xieyi" @click="xieyi" :data-type="2">隐私协议</text> | 28 | 登录即表示同意 <text class="xieyi" @click="xieyi" :data-type="1">用户协议</text>和<text class="xieyi" @click="xieyi" :data-type="2">隐私协议</text> |
@@ -34,7 +36,11 @@ | @@ -34,7 +36,11 @@ | ||
34 | 36 | ||
35 | <script> | 37 | <script> |
36 | import app from "../../App.vue"; | 38 | import app from "../../App.vue"; |
39 | + import picyan from "../../components/picyan/picyan.vue"; | ||
37 | export default { | 40 | export default { |
41 | + components:{ | ||
42 | + picyan | ||
43 | + }, | ||
38 | data() { | 44 | data() { |
39 | return { | 45 | return { |
40 | showbanben: false, | 46 | showbanben: false, |
@@ -45,11 +51,16 @@ | @@ -45,11 +51,16 @@ | ||
45 | }, | 51 | }, |
46 | onLoad() { | 52 | onLoad() { |
47 | // // 生成随机验证码 | 53 | // // 生成随机验证码 |
48 | - var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | ||
49 | - this.rangenum = randomNum; | 54 | + // var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); |
55 | + // this.rangenum = randomNum; | ||
50 | }, | 56 | }, |
51 | methods: { | 57 | methods: { |
58 | + // 获取子组件的值 | ||
59 | + getpic(e){ | ||
60 | + console.log('我是子组件的值',e); | ||
61 | + this.rangenum=e | ||
52 | 62 | ||
63 | + }, | ||
53 | changenum() { | 64 | changenum() { |
54 | var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | 65 | var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); |
55 | 66 |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | </view> | 25 | </view> |
26 | </view> | 26 | </view> |
27 | <view class="helplist flexone"> | 27 | <view class="helplist flexone"> |
28 | - <view class="helpitem flexfour" @click="examinetext(item)" v-for="(item,index) in questionlist" :key="index"> | 28 | + <view class="helpitem flexfour" @click="isexamine==false?examinetext(item):''" v-for="(item,index) in questionlist" :key="index"> |
29 | <view class="helpitemtop"> | 29 | <view class="helpitemtop"> |
30 | <image :src="item.image" mode=""></image> | 30 | <image :src="item.image" mode=""></image> |
31 | </view> | 31 | </view> |
@@ -72,7 +72,8 @@ | @@ -72,7 +72,8 @@ | ||
72 | questionlist: [], | 72 | questionlist: [], |
73 | userinfo: '', | 73 | userinfo: '', |
74 | label: '', | 74 | label: '', |
75 | - token:'' | 75 | + token:'', |
76 | + isexamine:false | ||
76 | 77 | ||
77 | } | 78 | } |
78 | }, | 79 | }, |
@@ -138,6 +139,7 @@ | @@ -138,6 +139,7 @@ | ||
138 | url: '/pages/login/loginindex' | 139 | url: '/pages/login/loginindex' |
139 | }) | 140 | }) |
140 | } else { | 141 | } else { |
142 | + this.isexamine=true | ||
141 | let id = item.id; | 143 | let id = item.id; |
142 | uni.navigateTo({ | 144 | uni.navigateTo({ |
143 | url: '/pages/luntan/examintext?id=' + id | 145 | url: '/pages/luntan/examintext?id=' + id |
@@ -147,6 +149,9 @@ | @@ -147,6 +149,9 @@ | ||
147 | }, | 149 | }, |
148 | 150 | ||
149 | 151 | ||
152 | + }, | ||
153 | + onShow() { | ||
154 | + this.isexamine=false | ||
150 | } | 155 | } |
151 | 156 | ||
152 | } | 157 | } |
@@ -15,24 +15,28 @@ | @@ -15,24 +15,28 @@ | ||
15 | export default { | 15 | export default { |
16 | data() { | 16 | data() { |
17 | return { | 17 | return { |
18 | - score:'' | 18 | + score:'', |
19 | + id:'' | ||
19 | } | 20 | } |
20 | }, | 21 | }, |
21 | onLoad(options) { | 22 | onLoad(options) { |
22 | - this.score=options.score | 23 | + this.score=options.score; |
24 | + this.id=options.id | ||
23 | 25 | ||
24 | }, | 26 | }, |
25 | methods: { | 27 | methods: { |
26 | backluntan(){ | 28 | backluntan(){ |
27 | - uni.switchTab({ | 29 | + uni.navigateTo({ |
30 | + | ||
31 | + | ||
28 | 32 | ||
29 | - url:'/pages/luntan/luntan' | 33 | + url:'/pages/luntan/examine' |
30 | }) | 34 | }) |
31 | }, | 35 | }, |
32 | // 重新考试 | 36 | // 重新考试 |
33 | renewkaoshi(){ | 37 | renewkaoshi(){ |
34 | uni.navigateTo({ | 38 | uni.navigateTo({ |
35 | - url:'/pages/luntan/examine' | 39 | + url:'/pages/luntan/examintext?id='+this.id |
36 | }) | 40 | }) |
37 | } | 41 | } |
38 | 42 |
@@ -20,12 +20,14 @@ | @@ -20,12 +20,14 @@ | ||
20 | <image src="../../static/wrong.png" mode=""></image> | 20 | <image src="../../static/wrong.png" mode=""></image> |
21 | </view> --> | 21 | </view> --> |
22 | </view> | 22 | </view> |
23 | + | ||
24 | + | ||
23 | </view> | 25 | </view> |
24 | <view class="textlist" v-else> | 26 | <view class="textlist" v-else> |
25 | - <view class='textitem flex' :class="item.answer==1&&item.chose==true?'selright':item.answer==2&&item.chose==true?'selwrong flextwo':''" v-for="(item,index) in present_data.option" :key="index" > | 27 | + <view class='textitem flex' :class="item.answer==1?'selright':item.answer==2&&item.chose==true?'selwrong flextwo':''" v-for="(item,index) in present_data.option" :key="index" > |
26 | <view class="flex"> | 28 | <view class="flex"> |
27 | <view class="textitemleft" > | 29 | <view class="textitemleft" > |
28 | - <image src="../../static/selright.png" mode="" v-if="item.answer==1&&item.chose==true"></image> | 30 | + <image src="../../static/selright.png" mode="" v-if="item.answer==1"></image> |
29 | <image src="../../static/slewrong.png" mode="" v-else-if="item.answer==2&&item.chose==true"></image> | 31 | <image src="../../static/slewrong.png" mode="" v-else-if="item.answer==2&&item.chose==true"></image> |
30 | <image src="../../static/meisel.png" mode="" v-else></image> | 32 | <image src="../../static/meisel.png" mode="" v-else></image> |
31 | </view> | 33 | </view> |
@@ -286,7 +288,7 @@ | @@ -286,7 +288,7 @@ | ||
286 | }) | 288 | }) |
287 | setTimeout(function(){ | 289 | setTimeout(function(){ |
288 | uni.navigateTo({ | 290 | uni.navigateTo({ |
289 | - url:'/pages/luntan/examineresult?score='+that.score | 291 | + url:'/pages/luntan/examineresult?score='+that.score+'&id='+that.questionnaire_id |
290 | }) | 292 | }) |
291 | },1500) | 293 | },1500) |
292 | 294 |
@@ -46,12 +46,12 @@ | @@ -46,12 +46,12 @@ | ||
46 | <view class="new-release-wrap"> | 46 | <view class="new-release-wrap"> |
47 | <!-- title --> | 47 | <!-- title --> |
48 | <view class="flexone tiezitop"> | 48 | <view class="flexone tiezitop"> |
49 | - <view class="new-release-title">热门话题</view> | ||
50 | - <view class="new-release-title">最高点赞</view> | 49 | + <view class="new-release-title" :class="order==1?'zuiactive':''" @click="orderrange" :data-id="1">热门话题</view> |
50 | + <view class="new-release-title" :class="order==2?'zuiactive':''" @click="orderrange" :data-id="2">最高点赞</view> | ||
51 | </view> | 51 | </view> |
52 | 52 | ||
53 | 53 | ||
54 | - <view class="nodata" v-if="luntanlist.length==0">暂无数据</view> | 54 | + <view class="nodata" v-if="isshowluntan">暂无数据</view> |
55 | <view v-else> | 55 | <view v-else> |
56 | <!-- content --> | 56 | <!-- content --> |
57 | <view class="new-release-content" v-for="(item,index) in luntanlist" :key="index" @click="luntandetail(item)"> | 57 | <view class="new-release-content" v-for="(item,index) in luntanlist" :key="index" @click="luntandetail(item)"> |
@@ -166,17 +166,34 @@ | @@ -166,17 +166,34 @@ | ||
166 | index: 0, | 166 | index: 0, |
167 | luntanlist: [], | 167 | luntanlist: [], |
168 | keyword: '', | 168 | keyword: '', |
169 | - currentTabIndex:2 | 169 | + currentTabIndex:2, |
170 | + order:1, | ||
171 | + isshowluntan:false, | ||
172 | + protype:'' | ||
170 | 173 | ||
171 | } | 174 | } |
172 | }, | 175 | }, |
173 | onLoad() { | 176 | onLoad() { |
177 | + console.log('3434747878') | ||
178 | + this.getluntanlist() | ||
174 | uni.setStorageSync("provincename","") | 179 | uni.setStorageSync("provincename","") |
180 | + // 获取省份列表 | ||
181 | + this.getprovincelist(); | ||
182 | + | ||
183 | + | ||
175 | }, | 184 | }, |
176 | methods: { | 185 | methods: { |
177 | hidepublish() { | 186 | hidepublish() { |
178 | this.publish = false | 187 | this.publish = false |
179 | }, | 188 | }, |
189 | + // 最新和最热 | ||
190 | + orderrange(e){ | ||
191 | + this.order=e.currentTarget.dataset.id; | ||
192 | + this.page=1; | ||
193 | + this.luntanlist=[]; | ||
194 | + this.getluntanlist() | ||
195 | + | ||
196 | + }, | ||
180 | // 选择城市 | 197 | // 选择城市 |
181 | selprovince(){ | 198 | selprovince(){ |
182 | uni.navigateTo({ | 199 | uni.navigateTo({ |
@@ -273,9 +290,13 @@ | @@ -273,9 +290,13 @@ | ||
273 | console.log('7766554', params) | 290 | console.log('7766554', params) |
274 | app.post(url, params).then((res) => { | 291 | app.post(url, params).then((res) => { |
275 | console.log(res); | 292 | console.log(res); |
276 | - that.provincelist = res.data.data; | 293 | + if(that.protype!=1){ |
294 | + console.log(397839843909090) | ||
277 | this.provincename = res.data.data[0].name; | 295 | this.provincename = res.data.data[0].name; |
278 | that.province_id = res.data.data[0].id; | 296 | that.province_id = res.data.data[0].id; |
297 | + } | ||
298 | + that.provincelist = res.data.data; | ||
299 | + | ||
279 | // 获取论坛列表 | 300 | // 获取论坛列表 |
280 | this.getluntanlist() | 301 | this.getluntanlist() |
281 | 302 | ||
@@ -301,14 +322,18 @@ | @@ -301,14 +322,18 @@ | ||
301 | keyword: that.keyword, | 322 | keyword: that.keyword, |
302 | province_id: that.province_id, | 323 | province_id: that.province_id, |
303 | type: '', | 324 | type: '', |
325 | + order:that.order, | ||
304 | page: that.page, | 326 | page: that.page, |
305 | pageNum: 10 | 327 | pageNum: 10 |
306 | } | 328 | } |
307 | console.log('参数', params) | 329 | console.log('参数', params) |
308 | app.post(url, params).then((res) => { | 330 | app.post(url, params).then((res) => { |
309 | - console.log(res); | 331 | + // console.log(res); |
310 | that.luntanlist = that.luntanlist.concat(res.data.data); | 332 | that.luntanlist = that.luntanlist.concat(res.data.data); |
311 | - console.log('9999', this.luntanlist) | 333 | + // console.log('9999', this.luntanlist) |
334 | + if(that.luntanlist.length==0){ | ||
335 | + that.isshowluntan=true | ||
336 | + } | ||
312 | 337 | ||
313 | 338 | ||
314 | }).catch((err) => { | 339 | }).catch((err) => { |
@@ -414,14 +439,28 @@ | @@ -414,14 +439,28 @@ | ||
414 | } | 439 | } |
415 | }, | 440 | }, |
416 | onShow() { | 441 | onShow() { |
442 | + let that=this; | ||
443 | + console.log(888888888888888888) | ||
444 | + uni.$on('provinceid',function(data){ | ||
445 | + console.log('343744',data) | ||
446 | + that.province_id=data.provinceid; | ||
447 | + that.protype=data.protype; | ||
448 | + console.log(that.province_id) | ||
449 | + that.getprovincelist(); | ||
450 | + }) | ||
451 | + | ||
452 | + | ||
417 | this.publish=false; | 453 | this.publish=false; |
454 | + this.page=1; | ||
455 | + this.luntanlist=[]; | ||
456 | + // 获取当前地理位置 | ||
457 | + this.getlocation(); | ||
418 | uni.hideTabBar({ | 458 | uni.hideTabBar({ |
419 | 459 | ||
460 | + | ||
420 | }) | 461 | }) |
421 | - // 获取省份列表 | ||
422 | - this.getprovincelist(); | ||
423 | - // 获取当前地理位置 | ||
424 | - this.getlocation(); | 462 | + |
463 | + // this.getluntanlist() | ||
425 | } | 464 | } |
426 | 465 | ||
427 | 466 | ||
@@ -434,6 +473,7 @@ | @@ -434,6 +473,7 @@ | ||
434 | page { | 473 | page { |
435 | background: #F9F9F9; | 474 | background: #F9F9F9; |
436 | } | 475 | } |
476 | + | ||
437 | .tiezitop{ | 477 | .tiezitop{ |
438 | width:750rpx!important; | 478 | width:750rpx!important; |
439 | background: #fff; | 479 | background: #fff; |
@@ -629,6 +669,9 @@ | @@ -629,6 +669,9 @@ | ||
629 | border-radius: 50%; | 669 | border-radius: 50%; |
630 | } | 670 | } |
631 | 671 | ||
672 | + .zuiactive{ | ||
673 | + color:#FF9417!important; | ||
674 | + } | ||
632 | /* .proname{ | 675 | /* .proname{ |
633 | 676 | ||
634 | overflow: hidden; | 677 | overflow: hidden; |
@@ -73,6 +73,8 @@ | @@ -73,6 +73,8 @@ | ||
73 | this.selall=-1; | 73 | this.selall=-1; |
74 | this.selcurrent=0; | 74 | this.selcurrent=0; |
75 | uni.setStorageSync("provincename",item.name); | 75 | uni.setStorageSync("provincename",item.name); |
76 | + | ||
77 | + uni.$emit('provinceid',{provinceid:item.id,protype:1}) | ||
76 | uni.navigateBack({ | 78 | uni.navigateBack({ |
77 | checked:true | 79 | checked:true |
78 | }) | 80 | }) |
@@ -83,6 +85,8 @@ | @@ -83,6 +85,8 @@ | ||
83 | this.selhot=-1; | 85 | this.selhot=-1; |
84 | this.selcurrent=0; | 86 | this.selcurrent=0; |
85 | uni.setStorageSync("provincename",item.name); | 87 | uni.setStorageSync("provincename",item.name); |
88 | + console.log(item.id) | ||
89 | + uni.$emit('provinceid',{provinceid:item.id,protype:1}) | ||
86 | uni.navigateBack({ | 90 | uni.navigateBack({ |
87 | checked:true | 91 | checked:true |
88 | }) | 92 | }) |
pages/usercenter/bindmima.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="content"> | ||
3 | + <view class="loginbox loginboxmima"> | ||
4 | + <view class="setpassword flextwo"> | ||
5 | + <view class="flexone inputk"> | ||
6 | + <view class="setpasswordleft">密码</view> | ||
7 | + <view class="setpasswordright"> | ||
8 | + <input type="password" placeholder="6-16个字符以内,区分大小写" @input="enterfirstcode" v-if="passtrue"> | ||
9 | + <input type="text" placeholder="6-16个字符以内,区分大小写" @input="enterfirstcode" v-else> | ||
10 | + </view> | ||
11 | + </view> | ||
12 | + | ||
13 | + <view class="eye" @click="chosepassword"> | ||
14 | + <image src="../../static/closeeye.png" mode="" v-if="passtrue"></image> | ||
15 | + <image src="../../static/openeye.png" mode="" v-else></image> | ||
16 | + </view> | ||
17 | + | ||
18 | + | ||
19 | + </view> | ||
20 | + <view class="setpassword flextwo"> | ||
21 | + <view class="flexone inputk"> | ||
22 | + <view class="setpasswordleft">确认密码</view> | ||
23 | + <view class="setpasswordright"> | ||
24 | + <input type="password" placeholder="请再次输入" @input="entersecondcode" v-if="passtruek"> | ||
25 | + <input type="text" placeholder="请再次输入" @input="entersecondcode" v-else> | ||
26 | + </view> | ||
27 | + </view> | ||
28 | + <view class="eye" @click="chosepasswordk"> | ||
29 | + <image src="../../static/closeeye.png" mode="" v-if="passtruek"></image> | ||
30 | + <image src="../../static/openeye.png" mode="" v-else></image> | ||
31 | + </view> | ||
32 | + | ||
33 | + </view> | ||
34 | + </view> | ||
35 | + | ||
36 | + <view class="loginbtn finish" @click="finish">完成</view> | ||
37 | + </view> | ||
38 | +</template> | ||
39 | + | ||
40 | +<script> | ||
41 | + import app from "../../App.vue"; | ||
42 | + export default { | ||
43 | + data() { | ||
44 | + return { | ||
45 | + firstcode: '', | ||
46 | + secondcode: '', | ||
47 | + phone: '', | ||
48 | + passtrue:true, | ||
49 | + passtruek:true | ||
50 | + } | ||
51 | + }, | ||
52 | + onLoad(options) { | ||
53 | + this.phone = options.phone | ||
54 | + }, | ||
55 | + methods: { | ||
56 | + chosepassword(){ | ||
57 | + this.passtrue=!this.passtrue | ||
58 | + }, | ||
59 | + chosepasswordk(){ | ||
60 | + this.passtruek=!this.passtruek | ||
61 | + }, | ||
62 | + enterfirstcode(e) { | ||
63 | + this.firstcode = e.detail.value | ||
64 | + }, | ||
65 | + entersecondcode(e) { | ||
66 | + this.secondcode = e.detail.value | ||
67 | + }, | ||
68 | + finish() { | ||
69 | + let that = this; | ||
70 | + if(that.firstcode==''){ | ||
71 | + uni.showToast({ | ||
72 | + title:'请输入密码', | ||
73 | + icon:"none" | ||
74 | + }) | ||
75 | + return false | ||
76 | + } | ||
77 | + if(this.secondcode==''){ | ||
78 | + uni.showToast({ | ||
79 | + title:'请输入确认密码', | ||
80 | + icon:"none" | ||
81 | + }) | ||
82 | + return false | ||
83 | + } | ||
84 | + | ||
85 | + if(this.firstcode!=this.secondcode){ | ||
86 | + uni.showToast({ | ||
87 | + title:'两次输入密码不一致', | ||
88 | + icon:'none' | ||
89 | + }) | ||
90 | + return false | ||
91 | + } | ||
92 | + var url = 'user/setting_password'; | ||
93 | + var params = { | ||
94 | + mobile: that.phone, | ||
95 | + password: that.firstcode, | ||
96 | + affirm_password: that.secondcode | ||
97 | + } | ||
98 | + console.log('988765',params) | ||
99 | + app.post(url, params).then((res) => { | ||
100 | + console.log(res); | ||
101 | + wx.showToast({ | ||
102 | + title:"重置密码成功", | ||
103 | + icon:'none' | ||
104 | + }) | ||
105 | + setTimeout(function(){ | ||
106 | + uni.reLaunch({ | ||
107 | + url:'/pages/login/accountpassword' | ||
108 | + }) | ||
109 | + },1500) | ||
110 | + | ||
111 | + }).catch((err) => { | ||
112 | + uni.showToast({ | ||
113 | + title:err.msg, | ||
114 | + icon:'none' | ||
115 | + }) | ||
116 | + | ||
117 | + }) | ||
118 | + } | ||
119 | + | ||
120 | + } | ||
121 | + | ||
122 | + } | ||
123 | +</script> | ||
124 | + | ||
125 | +<style> | ||
126 | + @import url('../../base/login'); | ||
127 | + | ||
128 | + page { | ||
129 | + overflow-y: hidden; | ||
130 | + } | ||
131 | +</style> |
pages/usercenter/bindphone.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="content"> | ||
3 | + <view class="loginbox loginboxmima"> | ||
4 | + | ||
5 | + <view class="loginboxitem flex"> | ||
6 | + <view class="boxitemleftkk"> | ||
7 | + 手机号 | ||
8 | + </view> | ||
9 | + <view class="boxitemright"> | ||
10 | + <input type="number" value="" placeholder="请输入手机号" placeholder-class="enter" @input="enterphone" /> | ||
11 | + </view> | ||
12 | + </view> | ||
13 | + <view class="loginboxitem flextwo"> | ||
14 | + <view class="flex"> | ||
15 | + <view class="boxitemleftkk"> | ||
16 | + 验证码 | ||
17 | + </view> | ||
18 | + <view class="boxitemright yanzhengk"> | ||
19 | + <input type="text" value="" placeholder="请输入验证码" placeholder-class="enter" @input="enteryan" /> | ||
20 | + </view> | ||
21 | + </view> | ||
22 | + <picyan @picname="getpic"></picyan> | ||
23 | + <!-- <view class="shortyanzheng" @click="changenum">{{rangenum}}</view> --> | ||
24 | + </view> | ||
25 | + <view class="loginboxitem flextwo"> | ||
26 | + <view class="flex"> | ||
27 | + <view class="boxitemleftkk"> | ||
28 | + 短信验证码 | ||
29 | + </view> | ||
30 | + <view class="boxitemright"> | ||
31 | + <input type="text" :value="code" placeholder="请输入短信验证码" placeholder-class="enter" @input="entercode" /> | ||
32 | + </view> | ||
33 | + </view> | ||
34 | + <view class="cardyan" @click="getcode" v-if="disable==false">{{time}}</view> | ||
35 | + <view class="cardyan" v-else>{{time}}</view> | ||
36 | + </view> | ||
37 | + </view> | ||
38 | + <view class="next" @click="finish">完成</view> | ||
39 | + </view> | ||
40 | +</template> | ||
41 | + | ||
42 | +<script> | ||
43 | + import app from "../../App.vue"; | ||
44 | + import picyan from "../../components/picyan/picyan.vue"; | ||
45 | + var interval = null; | ||
46 | + export default { | ||
47 | + components:{ | ||
48 | + picyan | ||
49 | + }, | ||
50 | + data() { | ||
51 | + return { | ||
52 | + showbanben: false, | ||
53 | + rangenum: '', | ||
54 | + phone: '', | ||
55 | + code: '', | ||
56 | + disable: false, | ||
57 | + currentTime: 60, | ||
58 | + time: '获取验证码', | ||
59 | + yancode:'' | ||
60 | + } | ||
61 | + }, | ||
62 | + onLoad() { | ||
63 | + console.log(348344390) | ||
64 | + // // 生成随机验证码 | ||
65 | + // var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | ||
66 | + // this.rangenum = randomNum; | ||
67 | + }, | ||
68 | + methods: { | ||
69 | + getpic(e) { | ||
70 | + console.log('我是子组件的值', e); | ||
71 | + this.rangenum = e | ||
72 | + | ||
73 | + }, | ||
74 | + changenum() { | ||
75 | + var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | ||
76 | + | ||
77 | + this.rangenum = randomNum; | ||
78 | + }, | ||
79 | + // 输入手机号 | ||
80 | + enterphone(e) { | ||
81 | + this.phone = e.detail.value | ||
82 | + }, | ||
83 | + // 输入验证码 | ||
84 | + entercode(e) { | ||
85 | + this.code = e.detail.value | ||
86 | + }, | ||
87 | + enteryan(e){ | ||
88 | + this.yancode=e.detail.value | ||
89 | + }, | ||
90 | + | ||
91 | + // 获取验证码 | ||
92 | + getcode() { | ||
93 | + let that = this; | ||
94 | + that.disable = true; | ||
95 | + if (that.phone == '') { | ||
96 | + uni.showToast({ | ||
97 | + title: "请输入手机号", | ||
98 | + icon: "none" | ||
99 | + }) | ||
100 | + that.disable = false; | ||
101 | + return false | ||
102 | + } | ||
103 | + if (that.phone != '') { | ||
104 | + if (!(/^1[3456789]\d{9}$/.test(that.phone))) { | ||
105 | + wx.showToast({ | ||
106 | + title: '请输入正确的手机号', | ||
107 | + icon: 'none' | ||
108 | + }) | ||
109 | + | ||
110 | + that.disable = false; | ||
111 | + return false; | ||
112 | + } | ||
113 | + } | ||
114 | + let currentTime = that.currentTime; | ||
115 | + let url = "user/get_code"; | ||
116 | + let param = { | ||
117 | + mobile: that.phone, | ||
118 | + }; | ||
119 | + console.log('8888', param) | ||
120 | + app.post(url, param, 'get').then(r => { | ||
121 | + console.log(r) | ||
122 | + that.setcode = r.data.data.code; | ||
123 | + that.code = r.data.data.code; | ||
124 | + interval = setInterval(function() { | ||
125 | + currentTime--; | ||
126 | + that.time = currentTime + '秒'; | ||
127 | + console.log(that.time) | ||
128 | + | ||
129 | + if (currentTime <= 0) { | ||
130 | + clearInterval(interval) | ||
131 | + that.time = '重新发送'; | ||
132 | + that.currentTime = 61; | ||
133 | + that.disable = false; | ||
134 | + } | ||
135 | + }, 1000) | ||
136 | + | ||
137 | + }).catch(err => { | ||
138 | + console.log(err); | ||
139 | + | ||
140 | + }) | ||
141 | + }, | ||
142 | + // 下一步 | ||
143 | + finish() { | ||
144 | + | ||
145 | + console.log(34348483) | ||
146 | + let that=this; | ||
147 | + console.log('66666',that.rangenum); | ||
148 | + console.log(that.yancode) | ||
149 | + if (that.phone == '') { | ||
150 | + uni.showToast({ | ||
151 | + title: "请输入手机号", | ||
152 | + icon: "none" | ||
153 | + }) | ||
154 | + that.disable = false; | ||
155 | + return false | ||
156 | + } | ||
157 | + if (that.phone != '') { | ||
158 | + if (!(/^1[3456789]\d{9}$/.test(that.phone))) { | ||
159 | + wx.showToast({ | ||
160 | + title: '请输入正确的手机号', | ||
161 | + icon: 'none' | ||
162 | + }) | ||
163 | + | ||
164 | + that.disable = false; | ||
165 | + return false; | ||
166 | + } | ||
167 | + } | ||
168 | + if(that.yancode==''){ | ||
169 | + uni.showToast({ | ||
170 | + title:'请输入验证码', | ||
171 | + icon:"none" | ||
172 | + }) | ||
173 | + return false | ||
174 | + } | ||
175 | + | ||
176 | + if(that.yancode!=that.rangenum){ | ||
177 | + console.log(that.yancode); | ||
178 | + console.log(that.rangenum) | ||
179 | + uni.showToast({ | ||
180 | + title:'验证码错误', | ||
181 | + icon:"none" | ||
182 | + }) | ||
183 | + return false | ||
184 | + } | ||
185 | + | ||
186 | + if (that.code == '') { | ||
187 | + uni.showToast({ | ||
188 | + title: "请输入短信验证码", | ||
189 | + icon: 'none' | ||
190 | + }) | ||
191 | + return false | ||
192 | + } | ||
193 | + if(that.code!=that.setcode){ | ||
194 | + uni.showToast({ | ||
195 | + title: "短信验证码错误", | ||
196 | + icon: 'none' | ||
197 | + }) | ||
198 | + return false | ||
199 | + } | ||
200 | + | ||
201 | + let url = "user/update_mobile"; | ||
202 | + let params={ | ||
203 | + mobile:that.phone, | ||
204 | + code:that.setcode, | ||
205 | + | ||
206 | + } | ||
207 | + console.log('参数',params) | ||
208 | + app.post(url, params).then((res) => { | ||
209 | + console.log(res); | ||
210 | + uni.showToast({ | ||
211 | + title:"绑定成功", | ||
212 | + icon:'none' | ||
213 | + }) | ||
214 | + setTimeout(function(){ | ||
215 | + uni.$emit('phone',that.phone) | ||
216 | + uni.navigateBack({ | ||
217 | + checked:true | ||
218 | + }) | ||
219 | + },1500) | ||
220 | + | ||
221 | + }).catch((err) => { | ||
222 | + console.log(err) | ||
223 | + uni.showToast({ | ||
224 | + title:err.msg, | ||
225 | + icon:'none' | ||
226 | + }) | ||
227 | + | ||
228 | + }) | ||
229 | + }, | ||
230 | + | ||
231 | + | ||
232 | + | ||
233 | + | ||
234 | + | ||
235 | + } | ||
236 | + | ||
237 | + } | ||
238 | +</script> | ||
239 | + | ||
240 | +<style> | ||
241 | + @import url('../../base/login'); | ||
242 | + | ||
243 | + page { | ||
244 | + overflow-y: hidden; | ||
245 | + } | ||
246 | + .yanzhengk{ | ||
247 | + width:170rpx; | ||
248 | + } | ||
249 | + | ||
250 | + .boxitemleftkk { | ||
251 | + color: #3D454C; | ||
252 | + font-size: 28rpx; | ||
253 | + width: 130rpx; | ||
254 | + } | ||
255 | + | ||
256 | + .next { | ||
257 | + width: 686rpx; | ||
258 | + height: 88rpx; | ||
259 | + background: #C29445; | ||
260 | + color: #fff; | ||
261 | + font-size: 32rpx; | ||
262 | + text-align: center; | ||
263 | + line-height: 88rpx; | ||
264 | + position: fixed; | ||
265 | + bottom: 14rpx; | ||
266 | + left: 32rpx; | ||
267 | + } | ||
268 | +</style> |
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | <view class="page"> | 2 | <view class="page"> |
3 | <view class="tapnav flexone"> | 3 | <view class="tapnav flexone"> |
4 | 4 | ||
5 | + | ||
5 | <!-- :class="order==2?'nearactive':''" --> | 6 | <!-- :class="order==2?'nearactive':''" --> |
6 | <!-- :class="order==3?'nearactive':''" --> | 7 | <!-- :class="order==3?'nearactive':''" --> |
7 | 8 | ||
@@ -27,6 +28,173 @@ | @@ -27,6 +28,173 @@ | ||
27 | 28 | ||
28 | <view class="searchbtn" @click="search">搜索</view> | 29 | <view class="searchbtn" @click="search">搜索</view> |
29 | </view> --> | 30 | </view> --> |
31 | + <view v-if="order==1"> | ||
32 | + <view class="nodata" v-if="publishlist.length==0">暂无数据</view> | ||
33 | + <view class="box" v-else> | ||
34 | + <view class="item" v-for="(item,index) in publishlist" :key="index" @click="luntandetail(item)"> | ||
35 | + <!-- <view class="titlebox"> | ||
36 | + <view class="type" v-if="item.status==1">审核中</view> | ||
37 | + <view class="type" v-if="item.status==2">审核通过</view> | ||
38 | + <view class="type" v-if="item.status==3">审未通过</view> | ||
39 | + <view class="type" v-if="item.status==4">管理员已删除</view> | ||
40 | + <view class="word">{{item.title}}</view> | ||
41 | + <image src="../../static/del.png" class="del" @click.stop="del(item)"></image> | ||
42 | + </view> --> | ||
43 | + <view class="wordarea"> | ||
44 | + | ||
45 | + {{item.content}} | ||
46 | + </view> | ||
47 | + | ||
48 | + <view class="numbox"> | ||
49 | + <view class="time">{{item.creatssssetime}}</view> | ||
50 | + <view class="btnbox"> | ||
51 | + <view class="zan"> | ||
52 | + <view> | ||
53 | + <image src="../../static/tienozan.png" mode="widthFix" class="icon" v-if="item.is_praise==2"></image> | ||
54 | + <image src="../../static/zan.png" mode="widthFix" class="icon" v-else></image> | ||
55 | + </view> | ||
56 | + {{item.praise}} | ||
57 | + </view> | ||
58 | + <view class="people"> | ||
59 | + <image src="../../static/people.png" mode="widthFix" class="icon"></image>{{item.view}} | ||
60 | + </view> | ||
61 | + </view> | ||
62 | + </view> | ||
63 | + </view> | ||
64 | + | ||
65 | + <!-- <view class="item"> | ||
66 | + <view class="titlebox"> | ||
67 | + <view class="type">审核中</view> | ||
68 | + <view class="word">帖子标题帖子标题帖子标题帖子帖...</view> | ||
69 | + <image src="../../static/del.png" mode="widthFix" class="del"></image> | ||
70 | + </view> | ||
71 | + <view class="wordarea"> | ||
72 | + 帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容... | ||
73 | + </view> | ||
74 | + <view class="numbox"> | ||
75 | + <view class="time">2019-10-10 15:30:30</view> | ||
76 | + <view class="btnbox"> | ||
77 | + <view class="zan"> | ||
78 | + <image src="../../static/zan.png" mode="widthFix" class="icon"></image>399 | ||
79 | + </view> | ||
80 | + <view class="people"> | ||
81 | + <image src="../../static/people.png" mode="widthFix" class="icon"></image>399 | ||
82 | + </view> | ||
83 | + </view> | ||
84 | + </view> | ||
85 | + </view> | ||
86 | + <view class="item"> | ||
87 | + <view class="titlebox"> | ||
88 | + <view class="type">审核中</view> | ||
89 | + <view class="word">帖子标题帖子标题帖子标题帖子帖...</view> | ||
90 | + <image src="../../static/del.png" mode="widthFix" class="del"></image> | ||
91 | + </view> | ||
92 | + <view class="wordarea"> | ||
93 | + 帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容... | ||
94 | + </view> | ||
95 | + <view class="numbox"> | ||
96 | + <view class="time">2019-10-10 15:30:30</view> | ||
97 | + <view class="btnbox"> | ||
98 | + <view class="zan"> | ||
99 | + <image src="../../static/zan.png" mode="widthFix" class="icon"></image>399 | ||
100 | + </view> | ||
101 | + <view class="people"> | ||
102 | + <image src="../../static/people.png" mode="widthFix" class="icon"></image>399 | ||
103 | + </view> | ||
104 | + </view> | ||
105 | + </view> | ||
106 | + </view> | ||
107 | + --> | ||
108 | + | ||
109 | + </view> | ||
110 | + | ||
111 | + </view> | ||
112 | + | ||
113 | + | ||
114 | + <view v-else-if="order==2"> | ||
115 | + <view class="nodata" v-if="commentlist.length==0">暂无数据</view> | ||
116 | + <view class="box" v-else> | ||
117 | + <view class="item" v-for="(item,index) in commentlist" :key="index"> | ||
118 | + <!-- <view class="titlebox"> | ||
119 | + <view class="type" v-if="item.status==1">审核中</view> | ||
120 | + <view class="type" v-if="item.status==2">审核通过</view> | ||
121 | + <view class="type" v-if="item.status==3">审未通过</view> | ||
122 | + <view class="type" v-if="item.status==4">管理员已删除</view> | ||
123 | + <view class="word">{{item.title}}</view> | ||
124 | + <image src="../../static/del.png" class="del" @click.stop="del(item)"></image> | ||
125 | + </view> --> | ||
126 | + <view class="wordarea"> | ||
127 | + | ||
128 | + {{item.content}} | ||
129 | + </view> | ||
130 | + <view class="time" style="margin-top:10rpx;">{{item.forum.title}}</view> | ||
131 | + <view class="numbox"> | ||
132 | + <view class="time">{{item.createtime}}</view> | ||
133 | + <view class="btnbox"> | ||
134 | + <view class="zan"> | ||
135 | + <view> | ||
136 | + <image src="../../static/tienozan.png" mode="widthFix" class="icon" v-if="item.is_praise==2"></image> | ||
137 | + <image src="../../static/zan.png" mode="widthFix" class="icon" v-else></image> | ||
138 | + </view> | ||
139 | + | ||
140 | + | ||
141 | + {{item.praise}} | ||
142 | + </view> | ||
143 | + <view class="people"> | ||
144 | + <image src="../../static/people.png" mode="widthFix" class="icon"></image>{{item.view}} | ||
145 | + </view> | ||
146 | + </view> | ||
147 | + </view> | ||
148 | + </view> | ||
149 | + | ||
150 | + <!-- <view class="item"> | ||
151 | + <view class="titlebox"> | ||
152 | + <view class="type">审核中</view> | ||
153 | + <view class="word">帖子标题帖子标题帖子标题帖子帖...</view> | ||
154 | + <image src="../../static/del.png" mode="widthFix" class="del"></image> | ||
155 | + </view> | ||
156 | + <view class="wordarea"> | ||
157 | + 帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容... | ||
158 | + </view> | ||
159 | + <view class="numbox"> | ||
160 | + <view class="time">2019-10-10 15:30:30</view> | ||
161 | + <view class="btnbox"> | ||
162 | + <view class="zan"> | ||
163 | + <image src="../../static/zan.png" mode="widthFix" class="icon"></image>399 | ||
164 | + </view> | ||
165 | + <view class="people"> | ||
166 | + <image src="../../static/people.png" mode="widthFix" class="icon"></image>399 | ||
167 | + </view> | ||
168 | + </view> | ||
169 | + </view> | ||
170 | + </view> | ||
171 | + <view class="item"> | ||
172 | + <view class="titlebox"> | ||
173 | + <view class="type">审核中</view> | ||
174 | + <view class="word">帖子标题帖子标题帖子标题帖子帖...</view> | ||
175 | + <image src="../../static/del.png" mode="widthFix" class="del"></image> | ||
176 | + </view> | ||
177 | + <view class="wordarea"> | ||
178 | + 帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容... | ||
179 | + </view> | ||
180 | + <view class="numbox"> | ||
181 | + <view class="time">2019-10-10 15:30:30</view> | ||
182 | + <view class="btnbox"> | ||
183 | + <view class="zan"> | ||
184 | + <image src="../../static/zan.png" mode="widthFix" class="icon"></image>399 | ||
185 | + </view> | ||
186 | + <view class="people"> | ||
187 | + <image src="../../static/people.png" mode="widthFix" class="icon"></image>399 | ||
188 | + </view> | ||
189 | + </view> | ||
190 | + </view> | ||
191 | + </view> | ||
192 | + --> | ||
193 | + | ||
194 | + </view> | ||
195 | + | ||
196 | + </view> | ||
197 | + <view v-else> | ||
30 | <view class="nodata" v-if="publishlist.length==0">暂无数据</view> | 198 | <view class="nodata" v-if="publishlist.length==0">暂无数据</view> |
31 | <view class="box" v-else> | 199 | <view class="box" v-else> |
32 | <view class="item" v-for="(item,index) in publishlist" :key="index" @click="luntandetail(item)"> | 200 | <view class="item" v-for="(item,index) in publishlist" :key="index" @click="luntandetail(item)"> |
@@ -47,7 +215,11 @@ | @@ -47,7 +215,11 @@ | ||
47 | <view class="time">{{item.creatssssetime}}</view> | 215 | <view class="time">{{item.creatssssetime}}</view> |
48 | <view class="btnbox"> | 216 | <view class="btnbox"> |
49 | <view class="zan"> | 217 | <view class="zan"> |
50 | - <image src="../../static/zan.png" mode="widthFix" class="icon"></image>{{item.praise}} | 218 | + <view> |
219 | + <image src="../../static/tienozan.png" mode="widthFix" class="icon" v-if="item.is_praise==2"></image> | ||
220 | + <image src="../../static/zan.png" mode="widthFix" class="icon" v-else></image> | ||
221 | + </view> | ||
222 | + {{item.praise}} | ||
51 | </view> | 223 | </view> |
52 | <view class="people"> | 224 | <view class="people"> |
53 | <image src="../../static/people.png" mode="widthFix" class="icon"></image>{{item.view}} | 225 | <image src="../../static/people.png" mode="widthFix" class="icon"></image>{{item.view}} |
@@ -102,6 +274,9 @@ | @@ -102,6 +274,9 @@ | ||
102 | 274 | ||
103 | </view> | 275 | </view> |
104 | 276 | ||
277 | + </view> | ||
278 | + | ||
279 | + | ||
105 | <!-- 发布 --> | 280 | <!-- 发布 --> |
106 | <view class="release-news" v-if="publish"> | 281 | <view class="release-news" v-if="publish"> |
107 | <view class="release-content"> | 282 | <view class="release-content"> |
@@ -172,14 +347,20 @@ | @@ -172,14 +347,20 @@ | ||
172 | dateone: currentDate, | 347 | dateone: currentDate, |
173 | footersel: 3, | 348 | footersel: 3, |
174 | publish: false, | 349 | publish: false, |
175 | - order: '', | 350 | + order: 1, |
351 | + pagezan:1, | ||
352 | + zanlist:[], | ||
353 | + pagecoment:1, | ||
354 | + commentlist:[] | ||
176 | } | 355 | } |
177 | }, | 356 | }, |
178 | onLoad() { | 357 | onLoad() { |
179 | - | ||
180 | - | ||
181 | - this.getpublish() | 358 | + // 获取我的点赞 |
359 | + this.getmayzan(); | ||
360 | + // 我的评论 | ||
361 | + this.getmycomment() | ||
182 | }, | 362 | }, |
363 | + | ||
183 | computed: { | 364 | computed: { |
184 | startDate() { | 365 | startDate() { |
185 | return this.getDate('start'); | 366 | return this.getDate('start'); |
@@ -209,6 +390,19 @@ | @@ -209,6 +390,19 @@ | ||
209 | // 顶部切换 | 390 | // 顶部切换 |
210 | rangge(e) { | 391 | rangge(e) { |
211 | this.order = e.currentTarget.dataset.id; | 392 | this.order = e.currentTarget.dataset.id; |
393 | + this.page= 1, | ||
394 | + this.publishlist= []; | ||
395 | + this.pagezan=1; | ||
396 | + this.zanlist=[]; | ||
397 | + this.pagecoment=1; | ||
398 | + this.commentlist=[]; | ||
399 | + if(this.order==1){ | ||
400 | + this.getmayzan() | ||
401 | + }else if(this.order==2){ | ||
402 | + this.getmycomment() | ||
403 | + }else{ | ||
404 | + this.getpublish() | ||
405 | + } | ||
212 | // this.shoplist = []; | 406 | // this.shoplist = []; |
213 | // this.page = 1; | 407 | // this.page = 1; |
214 | // this.getshoplist() | 408 | // this.getshoplist() |
@@ -292,6 +486,65 @@ | @@ -292,6 +486,65 @@ | ||
292 | }); | 486 | }); |
293 | }, | 487 | }, |
294 | 488 | ||
489 | + // 我的点赞 | ||
490 | + getmayzan(){ | ||
491 | + let that = this; | ||
492 | + // 将时间转换成时间戳 | ||
493 | + // if(that.CompareDate(that.date,that.dateone)==true){ | ||
494 | + // uni.showToast({ | ||
495 | + // title:'结束日期要大于开始日期', | ||
496 | + // icon:"none" | ||
497 | + // }) | ||
498 | + | ||
499 | + // return false | ||
500 | + // } | ||
501 | + | ||
502 | + var url = 'forum/get_my_forum_praise'; | ||
503 | + var params = { | ||
504 | + starttime:'', | ||
505 | + endtime: '', | ||
506 | + page: that.pagezan, | ||
507 | + pageNum: '' | ||
508 | + } | ||
509 | + console.log('7766554', params) | ||
510 | + app.post(url, params).then((res) => { | ||
511 | + console.log(res); | ||
512 | + that.publishlist = that.publishlist.concat(res.data.data); | ||
513 | + console.log(that.publishlist) | ||
514 | + }).catch((err) => { | ||
515 | + console.log(err) | ||
516 | + }) | ||
517 | + }, | ||
518 | + | ||
519 | + // 获取我的评论 | ||
520 | + getmycomment(){ | ||
521 | + let that = this; | ||
522 | + // 将时间转换成时间戳 | ||
523 | + // if(that.CompareDate(that.date,that.dateone)==true){ | ||
524 | + // uni.showToast({ | ||
525 | + // title:'结束日期要大于开始日期', | ||
526 | + // icon:"none" | ||
527 | + // }) | ||
528 | + | ||
529 | + // return false | ||
530 | + // } | ||
531 | + | ||
532 | + var url = 'forum/get_my_forum_comments'; | ||
533 | + var params = { | ||
534 | + starttime:'', | ||
535 | + endtime: '', | ||
536 | + page: that.pagecoment, | ||
537 | + pageNum: '' | ||
538 | + } | ||
539 | + console.log('7766554', params) | ||
540 | + app.post(url, params).then((res) => { | ||
541 | + console.log(res); | ||
542 | + that.commentlist = that.commentlist.concat(res.data.data); | ||
543 | + console.log(that.commentlist) | ||
544 | + }).catch((err) => { | ||
545 | + console.log(err) | ||
546 | + }) | ||
547 | + }, | ||
295 | getDate(type) { | 548 | getDate(type) { |
296 | const date = new Date(); | 549 | const date = new Date(); |
297 | let year = date.getFullYear(); | 550 | let year = date.getFullYear(); |
@@ -329,17 +582,34 @@ | @@ -329,17 +582,34 @@ | ||
329 | } | 582 | } |
330 | }, | 583 | }, |
331 | onReachBottom() { | 584 | onReachBottom() { |
585 | + if(this.order==3){ | ||
332 | let newpage = this.page; | 586 | let newpage = this.page; |
333 | newpage++;; | 587 | newpage++;; |
334 | this.page = newpage; | 588 | this.page = newpage; |
335 | this.getpublish() | 589 | this.getpublish() |
590 | + }else if(this.order==1){ | ||
591 | + let newpage=this.pagezan | ||
592 | + newpage++; | ||
593 | + this.pagezan=newpage; | ||
594 | + this.zanlist=[]; | ||
595 | + this.getmayzan() | ||
596 | + }else{ | ||
597 | + let newpage=this.pagecoment | ||
598 | + newpage++; | ||
599 | + this.pagecoment=newpage; | ||
600 | + this.getmycomment() | ||
601 | + | ||
602 | + } | ||
603 | + | ||
336 | } | 604 | } |
337 | } | 605 | } |
338 | </script> | 606 | </script> |
339 | 607 | ||
340 | <style> | 608 | <style> |
341 | @import url('../../base/homepage'); | 609 | @import url('../../base/homepage'); |
342 | - | 610 | + .nodata{ |
611 | + margin-top:200rpx; | ||
612 | + } | ||
343 | .tapnav{ | 613 | .tapnav{ |
344 | padding: 20rpx 32rpx; | 614 | padding: 20rpx 32rpx; |
345 | box-sizing: border-box; | 615 | box-sizing: border-box; |
@@ -350,6 +620,8 @@ | @@ -350,6 +620,8 @@ | ||
350 | top:0; | 620 | top:0; |
351 | left:0; | 621 | left:0; |
352 | z-index:9; | 622 | z-index:9; |
623 | + | ||
624 | + | ||
353 | } | 625 | } |
354 | page { | 626 | page { |
355 | background: #F7F7F7; | 627 | background: #F7F7F7; |
@@ -463,6 +735,7 @@ | @@ -463,6 +735,7 @@ | ||
463 | -webkit-line-clamp: 3; | 735 | -webkit-line-clamp: 3; |
464 | overflow: hidden; | 736 | overflow: hidden; |
465 | height: auto; | 737 | height: auto; |
738 | + word-wrap: break-word; | ||
466 | } | 739 | } |
467 | 740 | ||
468 | .numbox { | 741 | .numbox { |
@@ -96,11 +96,19 @@ | @@ -96,11 +96,19 @@ | ||
96 | // 注册、 | 96 | // 注册、 |
97 | register(){ | 97 | register(){ |
98 | uni.navigateTo({ | 98 | uni.navigateTo({ |
99 | - url:'/pages/login/register' | 99 | + url:'/pages/usercenter/bindphone' |
100 | }) | 100 | }) |
101 | } | 101 | } |
102 | 102 | ||
103 | 103 | ||
104 | + }, | ||
105 | + onShow() { | ||
106 | + let that=this; | ||
107 | + console.log(3234344398) | ||
108 | + uni.$once('phone',function(data){ | ||
109 | + console.log(data) | ||
110 | + that.mobile=data | ||
111 | + }) | ||
104 | } | 112 | } |
105 | } | 113 | } |
106 | </script> | 114 | </script> |
1 | 1 | ||
2 | var isReady=false;var onReadyCallbacks=[]; | 2 | var isReady=false;var onReadyCallbacks=[]; |
3 | -var __uniConfig = {"pages":["pages/homepage/homepage","pages/login/loginindex","pages/homepage/choujiangrule","pages/guide/judge","pages/guide/guide","pages/luntan/video","pages/nearshop/jiankong","pages/usercenter/cardrenzheng","pages/homepage/map","pages/homepage/map","pages/usercenter/fenxiaomyteam","pages/usercenter/fenxiaotidetail","pages/usercenter/fenxiaodingdan","pages/usercenter/fenxiaoyongjin","pages/usercenter/myfenxiao","pages/nearshop/allprovince","pages/usercenter/orderdetail","pages/nearshop/selectcoupon","pages/nearshop/cartbox","pages/nearshop/cartlist","pages/homepage/collectshop","pages/luntan/examineresult","pages/luntan/examintext","pages/luntan/examine","pages/nearshop/sureorder","pages/login/accountpassword","pages/login/registercode","pages/homepage/mygift","pages/homepage/drawlottery","pages/login/finishregister","pages/homepage/miaosha","pages/luntan/luntan","pages/luntan/addcontract","pages/luntan/luntandetail","pages/luntan/luntandetailsecond","pages/luntan/luntanlist","pages/luntan/luntanpage","pages/nearshop/goodtail","pages/nearshop/shopdetail","pages/usercenter/companyshenhe","pages/usercenter/usercenter","pages/nearshop/nearshop","pages/homepage/goodkind","pages/homepage/jifenshop","pages/homepage/shoplist","pages/homepage/search","pages/login/xieyi","pages/login/setmima","pages/login/register","pages/login/forgetmima","pages/index/index","pages/usercenter/setPassword","pages/nearshop/shopcomment","pages/usercenter/accountDetails","pages/usercenter/recharge","pages/usercenter/transferAccounts","pages/usercenter/transferDetails","pages/usercenter/cashOut","pages/usercenter/account","pages/usercenter/withdrawalsRecord","pages/usercenter/addCard","pages/usercenter/editCard","pages/usercenter/myCredit","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/sales","pages/usercenter/myAchievement","pages/usercenter/myCustomer","pages/usercenter/my","pages/usercenter/wallet","pages/usercenter/setUp","pages/usercenter/setUp","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/sales","pages/usercenter/personalData","pages/usercenter/address","pages/usercenter/addAddress","pages/usercenter/myCredit","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/myAchievement","pages/usercenter/myCustomer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"tabBar":{"color":"#BDC4CE","selectedColor":"#EE8B27","borderStyle":"black","backgroundColor":"#ffffff","list":[{"pagePath":"pages/homepage/homepage","iconPath":"../../static/index.png","selectedIconPath":"../../static/indexactive.png","text":"首页"},{"pagePath":"pages/nearshop/nearshop","iconPath":"../../static/nearshop.png","selectedIconPath":"../../static/nearshopactive.png","text":"附近店铺"},{"pagePath":"pages/luntan/luntan","iconPath":"../../static/luntan.png","selectedIconPath":"../../static/luntanactive.png","text":"中面论坛"},{"pagePath":"pages/usercenter/my","iconPath":"../../static/user.png","selectedIconPath":"../../static/useractive.png","text":"个人中心"}]},"renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"zhongmian","compilerVersion":"2.6.16","entryPagePath":"pages/homepage/homepage","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; | ||
4 | -var __uniRoutes = [{"path":"/pages/homepage/homepage","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/login/loginindex","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/choujiangrule","meta":{},"window":{"navigationBarTitleText":"活动规则","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/guide/judge","meta":{},"window":{"enablePullDownRefresh":false,"onReachBottomDistance":100,"navigationStyle":"custom","contentAdjust":false,"bounce":"none"}},{"path":"/pages/guide/guide","meta":{},"window":{"enablePullDownRefresh":false,"onReachBottomDistance":100,"navigationStyle":"custom","contentAdjust":false,"bounce":"none"}},{"path":"/pages/luntan/video","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/jiankong","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cardrenzheng","meta":{},"window":{"navigationBarTitleText":"身份认证","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/map","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaomyteam","meta":{},"window":{"navigationBarTitleText":"我的团队","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaotidetail","meta":{},"window":{"navigationBarTitleText":"提现明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaodingdan","meta":{},"window":{"navigationBarTitleText":"分销订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaoyongjin","meta":{},"window":{"navigationBarTitleText":"分销佣金","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myfenxiao","meta":{},"window":{"navigationBarTitleText":"我的分销","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/allprovince","meta":{},"window":{"navigationBarTitleText":"全部省份","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/orderdetail","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/selectcoupon","meta":{},"window":{"navigationBarTitleText":"选择优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartbox","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartlist","meta":{},"window":{"navigationBarTitleText":"购物车","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/collectshop","meta":{},"window":{"navigationBarTitleText":"店铺收藏","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examineresult","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examintext","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examine","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/sureorder","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/accountpassword","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/registercode","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/mygift","meta":{},"window":{"navigationBarTitleText":"我的奖品","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/drawlottery","meta":{},"window":{"navigationBarTitleText":"抽奖专区","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/finishregister","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/miaosha","meta":{},"window":{"navigationBarTitleText":"秒杀商城","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","titleNView":{"titleSize":"12"}}},{"path":"/pages/luntan/luntan","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"论坛","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/luntan/addcontract","meta":{},"window":{"navigationBarTitleText":"发布帖子","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetail","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetailsecond","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanlist","meta":{},"window":{"navigationBarTitleText":"帖子列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanpage","meta":{},"window":{"navigationBarTitleText":"个人主页","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/goodtail","meta":{},"window":{"navigationBarTitleText":"商品详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopdetail","meta":{},"window":{"navigationBarTitleText":"店铺详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/companyshenhe","meta":{},"window":{"navigationBarTitleText":"企业会员申请","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/usercenter","meta":{},"window":{"navigationBarTitleText":"会员中心","navigationBarBackgroundColor":"#ECCB90","navigationBarTextStyle":"white"}},{"path":"/pages/nearshop/nearshop","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"附近店铺","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/goodkind","meta":{},"window":{"navigationBarTitleText":"商品分类","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/jifenshop","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/shoplist","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/search","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/login/xieyi","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/setmima","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/register","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/forgetmima","meta":{},"window":{"navigationBarTitleText":"重置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/usercenter/setPassword","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopcomment","meta":{},"window":{"navigationBarTitleText":"店铺评论","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/accountDetails","meta":{},"window":{"navigationBarTitleText":"账户明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/recharge","meta":{},"window":{"navigationBarTitleText":"充值","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferAccounts","meta":{},"window":{"navigationBarTitleText":"转账","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferDetails","meta":{},"window":{"navigationBarTitleText":"转账详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cashOut","meta":{},"window":{"navigationBarTitleText":"提现","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/account","meta":{},"window":{"navigationBarTitleText":"选择到账账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/withdrawalsRecord","meta":{},"window":{"navigationBarTitleText":"提现记录","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addCard","meta":{},"window":{"navigationBarTitleText":"添加账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/editCard","meta":{},"window":{"navigationBarTitleText":"编辑银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCredit","meta":{},"window":{"navigationBarTitleText":"我的赊吧","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myIntegral","meta":{},"window":{"navigationBarTitleText":"我的积分","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCoupon","meta":{},"window":{"navigationBarTitleText":"我的优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myPublish","meta":{},"window":{"navigationBarTitleText":"我的发布","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myOrder","meta":{},"window":{"navigationBarTitleText":"我的订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/shopEvaluate","meta":{},"window":{"navigationBarTitleText":"商品评价","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/sales","meta":{},"window":{"navigationBarTitleText":"销售管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myAchievement","meta":{},"window":{"navigationBarTitleText":"我的业绩","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCustomer","meta":{},"window":{"navigationBarTitleText":"我的客户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/my","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/wallet","meta":{},"window":{"navigationBarTitleText":"我的钱包","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white"}},{"path":"/pages/usercenter/setUp","meta":{},"window":{"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/personalData","meta":{},"window":{"navigationBarTitleText":"个人资料","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/address","meta":{},"window":{"navigationBarTitleText":"地址管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addAddress","meta":{},"window":{"navigationBarTitleText":"新增收货地址","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}}]; | 3 | +var __uniConfig = {"pages":["pages/homepage/homepage","pages/login/loginindex","pages/login/loginmine","pages/homepage/choujiangrule","pages/usercenter/bindphone","pages/usercenter/bindmima","pages/guide/judge","pages/guide/guide","pages/luntan/video","pages/nearshop/jiankong","pages/usercenter/cardrenzheng","pages/homepage/map","pages/homepage/map","pages/usercenter/fenxiaomyteam","pages/usercenter/fenxiaotidetail","pages/usercenter/fenxiaodingdan","pages/usercenter/fenxiaoyongjin","pages/usercenter/myfenxiao","pages/nearshop/allprovince","pages/usercenter/orderdetail","pages/nearshop/selectcoupon","pages/nearshop/cartbox","pages/nearshop/cartlist","pages/homepage/collectshop","pages/luntan/examineresult","pages/luntan/examintext","pages/luntan/examine","pages/nearshop/sureorder","pages/login/accountpassword","pages/login/registercode","pages/homepage/mygift","pages/homepage/drawlottery","pages/login/finishregister","pages/homepage/miaosha","pages/luntan/luntan","pages/luntan/addcontract","pages/luntan/luntandetail","pages/luntan/luntandetailsecond","pages/luntan/luntanlist","pages/luntan/luntanpage","pages/nearshop/goodtail","pages/nearshop/shopdetail","pages/usercenter/companyshenhe","pages/usercenter/usercenter","pages/nearshop/nearshop","pages/homepage/goodkind","pages/homepage/jifenshop","pages/homepage/shoplist","pages/homepage/search","pages/login/xieyi","pages/login/setmima","pages/login/register","pages/login/forgetmima","pages/index/index","pages/usercenter/setPassword","pages/nearshop/shopcomment","pages/usercenter/accountDetails","pages/usercenter/recharge","pages/usercenter/transferAccounts","pages/usercenter/transferDetails","pages/usercenter/cashOut","pages/usercenter/account","pages/usercenter/withdrawalsRecord","pages/usercenter/addCard","pages/usercenter/editCard","pages/usercenter/myCredit","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/sales","pages/usercenter/myAchievement","pages/usercenter/myCustomer","pages/usercenter/my","pages/usercenter/wallet","pages/usercenter/setUp","pages/usercenter/setUp","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/sales","pages/usercenter/personalData","pages/usercenter/address","pages/usercenter/addAddress","pages/usercenter/myCredit","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/myAchievement","pages/usercenter/myCustomer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"tabBar":{"color":"#BDC4CE","selectedColor":"#EE8B27","borderStyle":"black","backgroundColor":"#ffffff","list":[{"pagePath":"pages/homepage/homepage","iconPath":"../../static/index.png","selectedIconPath":"../../static/indexactive.png","text":"首页"},{"pagePath":"pages/nearshop/nearshop","iconPath":"../../static/nearshop.png","selectedIconPath":"../../static/nearshopactive.png","text":"附近店铺"},{"pagePath":"pages/luntan/luntan","iconPath":"../../static/luntan.png","selectedIconPath":"../../static/luntanactive.png","text":"中面论坛"},{"pagePath":"pages/usercenter/my","iconPath":"../../static/user.png","selectedIconPath":"../../static/useractive.png","text":"个人中心"}]},"renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"zhongmian","compilerVersion":"2.6.16","entryPagePath":"pages/homepage/homepage","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
4 | +var __uniRoutes = [{"path":"/pages/homepage/homepage","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/login/loginindex","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/loginmine","meta":{},"window":{"navigationBarTitleText":"活动规则","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/choujiangrule","meta":{},"window":{"navigationBarTitleText":"活动规则","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/bindphone","meta":{},"window":{"navigationBarTitleText":"绑定手机号","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/bindmima","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/guide/judge","meta":{},"window":{"enablePullDownRefresh":false,"onReachBottomDistance":100,"navigationStyle":"custom","contentAdjust":false,"bounce":"none"}},{"path":"/pages/guide/guide","meta":{},"window":{"enablePullDownRefresh":false,"onReachBottomDistance":100,"navigationStyle":"custom","contentAdjust":false,"bounce":"none"}},{"path":"/pages/luntan/video","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/jiankong","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cardrenzheng","meta":{},"window":{"navigationBarTitleText":"身份认证","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/map","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaomyteam","meta":{},"window":{"navigationBarTitleText":"我的团队","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaotidetail","meta":{},"window":{"navigationBarTitleText":"提现明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaodingdan","meta":{},"window":{"navigationBarTitleText":"分销订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/fenxiaoyongjin","meta":{},"window":{"navigationBarTitleText":"分销佣金","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myfenxiao","meta":{},"window":{"navigationBarTitleText":"我的分销","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/allprovince","meta":{},"window":{"navigationBarTitleText":"全部省份","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/orderdetail","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/selectcoupon","meta":{},"window":{"navigationBarTitleText":"选择优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartbox","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartlist","meta":{},"window":{"navigationBarTitleText":"购物车","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/collectshop","meta":{},"window":{"navigationBarTitleText":"店铺收藏","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examineresult","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examintext","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examine","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/sureorder","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/accountpassword","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/registercode","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/mygift","meta":{},"window":{"navigationBarTitleText":"我的奖品","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/drawlottery","meta":{},"window":{"navigationBarTitleText":"抽奖专区","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/finishregister","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/miaosha","meta":{},"window":{"navigationBarTitleText":"秒杀商城","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","titleNView":{"titleSize":"12"}}},{"path":"/pages/luntan/luntan","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"论坛","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/luntan/addcontract","meta":{},"window":{"navigationBarTitleText":"发布帖子","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetail","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetailsecond","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanlist","meta":{},"window":{"navigationBarTitleText":"帖子列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanpage","meta":{},"window":{"navigationBarTitleText":"个人主页","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/goodtail","meta":{},"window":{"navigationBarTitleText":"商品详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopdetail","meta":{},"window":{"navigationBarTitleText":"店铺详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/companyshenhe","meta":{},"window":{"navigationBarTitleText":"企业会员申请","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/usercenter","meta":{},"window":{"navigationBarTitleText":"会员中心","navigationBarBackgroundColor":"#ECCB90","navigationBarTextStyle":"white"}},{"path":"/pages/nearshop/nearshop","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"附近店铺","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/goodkind","meta":{},"window":{"navigationBarTitleText":"商品分类","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/jifenshop","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/shoplist","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/search","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/login/xieyi","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/setmima","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/register","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/forgetmima","meta":{},"window":{"navigationBarTitleText":"重置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/usercenter/setPassword","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopcomment","meta":{},"window":{"navigationBarTitleText":"店铺评论","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/accountDetails","meta":{},"window":{"navigationBarTitleText":"账户明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/recharge","meta":{},"window":{"navigationBarTitleText":"充值","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferAccounts","meta":{},"window":{"navigationBarTitleText":"转账","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferDetails","meta":{},"window":{"navigationBarTitleText":"转账详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cashOut","meta":{},"window":{"navigationBarTitleText":"提现","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/account","meta":{},"window":{"navigationBarTitleText":"选择到账账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/withdrawalsRecord","meta":{},"window":{"navigationBarTitleText":"提现记录","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addCard","meta":{},"window":{"navigationBarTitleText":"添加账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/editCard","meta":{},"window":{"navigationBarTitleText":"编辑银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCredit","meta":{},"window":{"navigationBarTitleText":"我的赊吧","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myIntegral","meta":{},"window":{"navigationBarTitleText":"我的积分","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCoupon","meta":{},"window":{"navigationBarTitleText":"我的优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myPublish","meta":{},"window":{"navigationBarTitleText":"我的发布","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myOrder","meta":{},"window":{"navigationBarTitleText":"我的订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/shopEvaluate","meta":{},"window":{"navigationBarTitleText":"商品评价","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/sales","meta":{},"window":{"navigationBarTitleText":"销售管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myAchievement","meta":{},"window":{"navigationBarTitleText":"我的业绩","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCustomer","meta":{},"window":{"navigationBarTitleText":"我的客户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/my","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/wallet","meta":{},"window":{"navigationBarTitleText":"我的钱包","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white"}},{"path":"/pages/usercenter/setUp","meta":{},"window":{"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/personalData","meta":{},"window":{"navigationBarTitleText":"个人资料","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/address","meta":{},"window":{"navigationBarTitleText":"地址管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addAddress","meta":{},"window":{"navigationBarTitleText":"新增收货地址","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}}]; | ||
5 | __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); | 5 | __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
6 | service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); | 6 | service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); |
此 diff 太大无法显示。
此 diff 太大无法显示。
3.3 KB
1002 字节
1.9 KB
1.9 KB
-
请 注册 或 登录 后发表评论