Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founderserver
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曹鹏
founderserver
Commits
65ae9605
Commit
65ae9605
authored
Mar 11, 2019
by
caojingji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改安卓机上定位的bug问题
修改安卓机上定位的bug问题
parent
0e74d619
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
165 additions
and
292 deletions
+165
-292
founderserver.iml
+0
-10
miniprogram/app.json
+0
-6
miniprogram/pages/about/about.js
+0
-5
miniprogram/pages/about/about.wxml
+0
-6
miniprogram/pages/about/about.wxss
+2
-3
miniprogram/pages/about/proposal/proposal.js
+0
-66
miniprogram/pages/about/proposal/proposal.json
+0
-4
miniprogram/pages/about/proposal/proposal.wxml
+0
-21
miniprogram/pages/about/proposal/proposal.wxss
+0
-9
miniprogram/pages/index/index.js
+78
-77
miniprogram/pages/index/index.wxml
+47
-47
miniprogram/pages/index/index.wxss
+37
-37
project.config.json
+1
-1
No files found.
founderserver.iml
deleted
100644 → 0
View file @
0e74d619
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"WEB_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
miniprogram/app.json
View file @
65ae9605
...
@@ -4,16 +4,10 @@
...
@@ -4,16 +4,10 @@
"pages/index/index"
,
"pages/index/index"
,
"pages/about/about"
,
"pages/about/about"
,
"pages/about/call/call"
,
"pages/about/call/call"
,
"pages/about/proposal/proposal"
,
"pages/about/privacy/privacy"
,
"pages/about/privacy/privacy"
,
"pages/about/useragree/useragree"
,
"pages/about/useragree/useragree"
,
"pages/reply/reply"
"pages/reply/reply"
],
],
"permission"
:
{
"scope.userLocation"
:
{
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
}
},
"window"
:
{
"window"
:
{
"backgroundColor"
:
"#F6F6F6"
,
"backgroundColor"
:
"#F6F6F6"
,
"backgroundTextStyle"
:
"light"
,
"backgroundTextStyle"
:
"light"
,
...
...
miniprogram/pages/about/about.js
View file @
65ae9605
...
@@ -10,11 +10,6 @@ Page({
...
@@ -10,11 +10,6 @@ Page({
url
:
'call/call'
url
:
'call/call'
})
})
},
},
toProposalJsp
:
function
()
{
wx
.
navigateTo
({
url
:
'proposal/proposal'
})
},
toUseragree
:
function
(){
toUseragree
:
function
(){
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'useragree/useragree'
url
:
'useragree/useragree'
...
...
miniprogram/pages/about/about.wxml
View file @
65ae9605
...
@@ -9,12 +9,6 @@
...
@@ -9,12 +9,6 @@
<text class='news'>联系我们</text>
<text class='news'>联系我们</text>
<icon class="fa fa-angle-right right"></icon>
<icon class="fa fa-angle-right right"></icon>
</view>
</view>
<button class="zdy-btn-j" open-type="contact" session-from='{"kefu":["{{3045}}"],"nickName":"{{userInfo.nickName}}","avatarUrl":"{{userInfo.avatarUrl}}"}'>
<view class="cnxw pd">
<text class='news'>建议投诉</text>
<icon class="fa fa-angle-right right"></icon>
</view>
</button>
<view class="cnxw pd" bindtap="toUseragree">
<view class="cnxw pd" bindtap="toUseragree">
<text class='news'>用户协议</text>
<text class='news'>用户协议</text>
<icon class="fa fa-angle-right right"></icon>
<icon class="fa fa-angle-right right"></icon>
...
...
miniprogram/pages/about/about.wxss
View file @
65ae9605
...
@@ -12,5 +12,4 @@ page { background-color: #F6F6F6; }
...
@@ -12,5 +12,4 @@ page { background-color: #F6F6F6; }
.cnxw .right {
.cnxw .right {
line-height: 50px;
line-height: 50px;
}
}
.zdybtn{width:100%;height:36px;line-height:36px;position: fixed;bottom: 10px;background: red;}
.zdybtn{width:100%;height:36px;line-height:36px;position: fixed;bottom: 10px;background: red;}
.zdy-btn-j{padding:0;text-align: left;}
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/about/proposal/proposal.js
deleted
100644 → 0
View file @
0e74d619
Page
({
/**
* 页面的初始数据
*/
data
:
{
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
:
function
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
:
function
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
:
function
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
:
function
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
})
\ No newline at end of file
miniprogram/pages/about/proposal/proposal.json
deleted
100644 → 0
View file @
0e74d619
{
"navigationBarTitleText"
:
"建议投诉"
}
\ No newline at end of file
miniprogram/pages/about/proposal/proposal.wxml
deleted
100644 → 0
View file @
0e74d619
<view class="call">
<view class="call-line">
<view class="call-icon">
<icon class="fa fa-qq relative"></icon>
</view>
<text class='call-text' selectable="true">736072668</text>
</view>
<view class="call-line">
<view class="call-icon">
<icon class="fa fa-envelope-o relative"></icon>
</view>
<text class='call-text' selectable="true">cao_peng@FOUNDER.COM.CN</text>
</view>
<view class="call-line">
<view class="call-icon">
<icon class="fa fa-phone relative"></icon>
</view>
<text class='call-text' selectable="true">15129457465</text>
</view>
</view>
\ No newline at end of file
miniprogram/pages/about/proposal/proposal.wxss
deleted
100644 → 0
View file @
0e74d619
@import '../../wxss/font-awesome.min.wxss';
@import '../../wxss/fontclass.wxss';
page { background-color: #F6F6F6; }
.call{background:#fff;width:95%;margin:5px auto;box-shadow: 0px 5px 5px #ccc;}
.call-line{height:60px;line-height:60px;border-bottom:1px solid #F6F6F6;}
.call-icon{width:35px;height:35px;border-radius: 50%;display:inline-block;border:1px solid #f6f6f6;text-align: center;line-height:30px;margin:5px;color:#0E75C1;}
.relative{position: relative;top:-2px;}
.call-text{float:right;display: inline-block;width:72%;padding-right:10px;text-align: right;font-size:14px;}
\ No newline at end of file
miniprogram/pages/index/index.js
View file @
65ae9605
var
app
=
getApp
();
var
app
=
getApp
();
var
localData
=
require
(
'../../data/data.js'
);
var
localData
=
require
(
'../../data/data.js'
);
Page
({
Page
({
/**
/**
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
KFID
:
""
,
KFID
:
""
,
userInfo
:
null
,
userInfo
:
null
,
mode
:
"scaleToFill"
,
mode
:
"scaleToFill"
,
arr
:
[],
arr
:
[],
moduleArr
:[],
moduleArr
:[],
questionsArr
:
[],
questionsArr
:
[],
swiperHeight
:
''
,
swiperHeight
:
''
,
indicatorDots
:
true
,
indicatorDots
:
true
,
autoplay
:
true
,
autoplay
:
true
,
interval
:
2000
,
interval
:
2000
,
duration
:
1000
duration
:
1000
},
},
//根据图片高度动态设置swiper的高度
//根据图片高度动态设置swiper的高度
getImageHeigth
:
function
(
e
)
{
getImageHeigth
:
function
(
e
)
{
this
.
setData
({
"swiperHeight"
:
app
.
getImageHeigth
(
e
)
});
this
.
setData
({
"swiperHeight"
:
app
.
getImageHeigth
(
e
)
});
},
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
//加载图片数据和客服id 以及获取用户信息
//加载图片数据和客服id 以及获取用户信息
var
KFID
=
app
.
globalData
.
KFID
;
var
KFID
=
app
.
globalData
.
KFID
;
var
userInfo
=
app
.
globalData
.
userInfo
;
var
userInfo
=
app
.
globalData
.
userInfo
;
this
.
data
.
userInfo
=
userInfo
;
this
.
data
.
userInfo
=
userInfo
;
this
.
data
.
KFID
=
KFID
;
this
.
data
.
KFID
=
KFID
;
this
.
data
.
arr
=
app
.
getSwiperImages
();
this
.
data
.
arr
=
app
.
getSwiperImages
();
this
.
data
.
moduleArr
=
localData
.
moduleArr
;
this
.
data
.
moduleArr
=
localData
.
moduleArr
;
this
.
setData
(
this
.
data
);
this
.
setData
(
this
.
data
);
this
.
doChangeQue
();
this
.
doChangeQue
();
},
},
//跳转到问题中心界面
//跳转到问题中心界面
toReplyJsp
:
function
(
e
){
toReplyJsp
:
function
(
e
){
var
qid
=
e
.
currentTarget
.
dataset
.
qid
;
var
qid
=
e
.
currentTarget
.
dataset
.
qid
;
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
'../reply/reply?qid='
+
qid
url
:
'../reply/reply?qid='
+
qid
})
})
},
},
//更换问题方法
//更换问题方法
doChangeQue
:
function
(){
doChangeQue
:
function
(){
var
indexArr
=
[];
var
indexArr
=
[];
var
questions
=
[];
var
questions
=
[];
for
(
var
i
=
0
;
i
<
localData
.
questionsArr
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
localData
.
questionsArr
.
length
;
i
++
)
{
indexArr
.
push
(
i
);
indexArr
.
push
(
i
);
}
}
indexArr
.
sort
(
function
()
{
return
0.5
-
Math
.
random
()
});
indexArr
.
sort
(
function
()
{
return
0.5
-
Math
.
random
()
});
indexArr
.
length
=
3
;
indexArr
.
length
=
3
;
//通过得到的随机数提取问题数组
//通过得到的随机数提取问题数组
for
(
var
i
=
0
;
i
<
indexArr
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
indexArr
.
length
;
i
++
){
for
(
var
j
=
0
;
j
<
localData
.
questionsArr
.
length
;
j
++
){
for
(
var
j
=
0
;
j
<
localData
.
questionsArr
.
length
;
j
++
){
if
(
indexArr
[
i
]
==
localData
.
questionsArr
[
j
].
qid
){
if
(
indexArr
[
i
]
==
localData
.
questionsArr
[
j
].
qid
){
questions
.
push
(
localData
.
questionsArr
[
j
]);
questions
.
push
(
localData
.
questionsArr
[
j
]);
}
}
}
}
}
}
this
.
setData
({
questionsArr
:
questions
});
this
.
setData
({
questionsArr
:
questions
});
},
},
//右上角分享功能
//右上角分享功能
onShareAppMessage
:
function
(
res
)
{
onShareAppMessage
:
function
(
res
)
{
var
that
=
this
;
var
that
=
this
;
return
{
return
{
title
:
'方正服务'
,
title
:
'方正服务'
,
path
:
'/pages/currlocation/currlocation'
,
path
:
'/pages/currlocation/currlocation'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
that
.
shareClick
();
that
.
shareClick
();
},
},
fail
:
function
(
res
)
{
fail
:
function
(
res
)
{
}
}
}
}
}
}
})
})
\ No newline at end of file
miniprogram/pages/index/index.wxml
View file @
65ae9605
<!--index.wxml-->
<!--index.wxml-->
<view class="container">
<view class="container">
<view class = "banner">
<view class = "banner">
<swiper indicator-dots="{{indicatorDots}}"
<swiper indicator-dots="{{indicatorDots}}"
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="true" style='height:{{swiperHeight}}'>
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular="true" style='height:{{swiperHeight}}'>
<block wx:for="{{arr}}">
<block wx:for="{{arr}}">
<swiper-item>
<swiper-item>
<image src="{{item}}" class="slide-image" width="100%" mode='widthFix' bindload='getImageHeigth'/>
<image src="{{item}}" class="slide-image" width="100%" mode='widthFix' bindload='getImageHeigth'/>
</swiper-item>
</swiper-item>
</block>
</block>
</swiper>
</swiper>
</view>
</view>
</view>
</view>
<view class="section">
<view class="section">
<view class="flex-wrp" style="flex-direction:row;">
<view class="flex-wrp" style="flex-direction:row;">
<view class="flex-card">
<view class="flex-card">
<view class="border inline"></view>
<view class="border inline"></view>
<view class="fontsize inline xtgn bold">业务模块</view>
<view class="fontsize inline xtgn bold">业务模块</view>
</view>
</view>
<block wx:for="{{moduleArr}}">
<block wx:for="{{moduleArr}}">
<button open-type="contact" class="contacButton"
<button open-type="contact" class="contacButton"
session-from='{"kefu":["{{KFID}}"],"nickName":"{{userInfo.nickName}}","avatarUrl":"{{userInfo.avatarUrl}}"}'>
session-from='{"kefu":["{{KFID}}"],"nickName":"{{userInfo.nickName}}","avatarUrl":"{{userInfo.avatarUrl}}"}'>
<view class="flex-item bc_green">
<view class="flex-item bc_green">
<view class="icon">
<view class="icon">
<icon class="fa {{item.iconClass}} icon-style"></icon>
<icon class="fa {{item.iconClass}} icon-style"></icon>
</view>
</view>
<view class="fontsize">{{item.name}}</view>
<view class="fontsize">{{item.name}}</view>
</view>
</view>
</button>
</button>
</block>
</block>
</view>
</view>
<!-- 猜你想问 -->
<!-- 猜你想问 -->
<view class="cnxw" style='font-family:"楷体","楷体_GB2312";' bindtap='doChangeQue'>
<view class="cnxw" style='font-family:"楷体","楷体_GB2312";' bindtap='doChangeQue'>
<icon class="fa fa-question-circle question" style='float:left;position:relative;top:-3px;'></icon>
<icon class="fa fa-question-circle question" style='float:left;position:relative;top:-3px;'></icon>
<text class="bold" style='font-family:"楷体","楷体_GB2312";float:left;'>猜你想问</text>
<text class="bold" style='font-family:"楷体","楷体_GB2312";float:left;'>猜你想问</text>
<view style='float:right;margin-right:10px;' class="cnxw">
<view style='float:right;margin-right:10px;' class="cnxw">
<text style='color:#87CEFA;'>换一批</text>
<text style='color:#87CEFA;'>换一批</text>
<i class="fa fa-refresh" style="color:#87CEFA;" aria-hidden="true"></i>
<i class="fa fa-refresh" style="color:#87CEFA;" aria-hidden="true"></i>
</view>
</view>
</view>
</view>
<block wx:for="{{questionsArr}}">
<block wx:for="{{questionsArr}}">
<view class="cnxw pd" bindtap="toReplyJsp" data-qid="{{item.qid}}" style='font-family:"楷体","楷体_GB2312";'>
<view class="cnxw pd" bindtap="toReplyJsp" data-qid="{{item.qid}}" style='font-family:"楷体","楷体_GB2312";'>
<text class='news'>{{item.qname}}</text>
<text class='news'>{{item.qname}}</text>
<icon class="fa fa-angle-right right"></icon>
<icon class="fa fa-angle-right right"></icon>
</view>
</view>
</block>
</block>
</view>
</view>
miniprogram/pages/index/index.wxss
View file @
65ae9605
@import '../wxss/font-awesome.min.wxss';
@import '../wxss/font-awesome.min.wxss';
@import '../wxss/fontclass.wxss';
@import '../wxss/fontclass.wxss';
/**index.wxss**/
/**index.wxss**/
text,view{font-family: "楷体","楷体_GB2312";font-size: 12px;}
text,view{font-family: "楷体","楷体_GB2312";font-size: 12px;}
.bold{font-weight: 600;}
.bold{font-weight: 600;}
.container{
.container{
width: 100%;
width: 100%;
height: 100%;
height: 100%;
margin:0 auto;
margin:0 auto;
}
}
.contacButton{margin:10px 1.5% !important;padding:5px 0 !important;
.contacButton{margin:10px 1.5% !important;padding:5px 0 !important;
width:30%;padding:15px 1.5%;text-align: center;float: left;}
width:30%;padding:15px 1.5%;text-align: center;float: left;}
/*业务模块*/
/*业务模块*/
.flex-item .icon{width:80px;height:80px;border-radius:50%;background:#ff540e
.flex-item .icon{width:80px;height:80px;border-radius:50%;background:#ff540e
;position: relative;left:50%;margin-left: -40px;font-size:32px;}
;position: relative;left:50%;margin-left: -40px;font-size:32px;}
.fontsize{font-size: 12px;line-height: 20px;}
.fontsize{font-size: 12px;line-height: 20px;}
.border{width:4px;height:24px;background:#ff540e
.border{width:4px;height:24px;background:#ff540e
;display:inline-block;float:left;margin:0 4px;}
;display:inline-block;float:left;margin:0 4px;}
.inline{display:inline-block;}
.inline{display:inline-block;}
.xtgn{line-height:24px;float:left;}
.xtgn{line-height:24px;float:left;}
.flex-card{height:24px;line-height:24px;padding:5px 0;}
.flex-card{height:24px;line-height:24px;padding:5px 0;}
.icon-style{line-height: 80px;color:#fff;}
.icon-style{line-height: 80px;color:#fff;}
.contacButton{
.contacButton{
background-color: #FFF;
background-color: #FFF;
padding: 0;
padding: 0;
margin: 0;
margin: 0;
font-size: inherit;
font-size: inherit;
}
}
.contacButton::after {
.contacButton::after {
border: #FFF solid;
border: #FFF solid;
}
}
.flex-wrp{overflow: hidden;}
.flex-wrp{overflow: hidden;}
/*猜你想问*/
/*猜你想问*/
.news{float:left;color:#000;}
.news{float:left;color:#000;}
.title{color:#363636;}
.title{color:#363636;}
.question{font-size:14px;}
.question{font-size:14px;}
project.config.json
View file @
65ae9605
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
"minified"
:
true
,
"minified"
:
true
,
"newFeature"
:
true
"newFeature"
:
true
},
},
"appid"
:
"wx
94dc3e3ee4aede25
"
,
"appid"
:
"wx
fae61fbdc50696a7
"
,
"projectname"
:
"%E6%96%B9%E6%AD%A3%E5%9C%A8%E7%BA%BF%E6%9C%8D%E5%8A%A1"
,
"projectname"
:
"%E6%96%B9%E6%AD%A3%E5%9C%A8%E7%BA%BF%E6%9C%8D%E5%8A%A1"
,
"libVersion"
:
"2.2.5"
,
"libVersion"
:
"2.2.5"
,
"condition"
:
{
"condition"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment