Commit 066faa9f sunneyouyang

update

1 个父辈 e7e06cdb
...@@ -27,7 +27,39 @@ ...@@ -27,7 +27,39 @@
</view> </view>
</view> </view>
<view style="background-color: white; border-radius: 10rpx;
margin-left: 34rpx; margin-right: 34rpx;
padding-left: 20rpx ; padding-right: 20rpx; margin-top: 10%; align-self: center;">
<view class="qh-list-c" @click="gotoSuggest()">
<view style="display: flex;">
<image src="../../static/mine_icons/mine_feedback_icon.png" style="width: 50rpx; height: 50rpx;" />
<text class="list-text">提建议/问题反馈</text>
</view>
<image src="../../static/mine_icons/mine_right_arrow.png" style="width: 40rpx; height: 40rpx;" />
</view>
<view class="qh-list-c" @tap="share">
<view style="display: flex;">
<image src="../../static/mine_icons/mine_share_icon.png" style="width: 50rpx; height: 50rpx;" />
<text class="list-text">分享给好友</text>
</view>
<image src="../../static/mine_icons/mine_right_arrow.png" style="width: 40rpx; height: 40rpx;" />
</view>
<view class="qh-list-c" @click="gotoSettings()">
<view style="display: flex;">
<image src="../../static/mine_icons/mine_settings_icon.png" style="width: 50rpx; height: 50rpx;" />
<text class="list-text">设置</text>
</view>
<image src="../../static/mine_icons/mine_right_arrow.png" style="width: 40rpx; height: 40rpx;" />
</view>
</view>
<view style="display: flex; justify-self: center; width: 100%; margin-top: 30rpx; justify-content: center;">
<view class="tip-text">在使用过程如遇问题,请咨询客服微信</view>
<view class="tip-text2" @click="copyweixin()">{{weixin}}</view>
</view>
</view> </view>
</template> </template>
...@@ -72,16 +104,16 @@ ...@@ -72,16 +104,16 @@
url: '/pages/suggest/suggest' url: '/pages/suggest/suggest'
}) })
} else { } else {
let systemInfo = uni.getSystemInfoSync(); let systemInfo = uni.getSystemInfoSync();
if (systemInfo.platform === 'ios') { if (systemInfo.platform === 'ios') {
// 在iOS操作系统中 // 在iOS操作系统中
uni.navigateTo({ uni.navigateTo({
url: "/pages/login_apple/login_apple", url: "/pages/login_apple/login_apple",
}); });
}else{ }else{
uni.navigateTo({ uni.navigateTo({
url: "/pages/login_pwd/login_pwd", url: "/pages/login_pwd/login_pwd",
}); });
} }
} }
}, },
...@@ -102,16 +134,16 @@ ...@@ -102,16 +134,16 @@
url: `/pages/notitle_webview/notitle_webview?info=${encodeURIComponent(JSON.stringify(tempData))}` url: `/pages/notitle_webview/notitle_webview?info=${encodeURIComponent(JSON.stringify(tempData))}`
}) })
} else { } else {
let systemInfo = uni.getSystemInfoSync(); let systemInfo = uni.getSystemInfoSync();
if (systemInfo.platform === 'ios') { if (systemInfo.platform === 'ios') {
// 在iOS操作系统中 // 在iOS操作系统中
uni.navigateTo({ uni.navigateTo({
url: "/pages/login_apple/login_apple", url: "/pages/login_apple/login_apple",
}); });
}else{ }else{
uni.navigateTo({ uni.navigateTo({
url: "/pages/login_pwd/login_pwd", url: "/pages/login_pwd/login_pwd",
}); });
} }
} }
}, },
...@@ -124,16 +156,16 @@ ...@@ -124,16 +156,16 @@
url: `/pages/notitle_webview/notitle_webview?info=${encodeURIComponent(JSON.stringify(tempData))}` url: `/pages/notitle_webview/notitle_webview?info=${encodeURIComponent(JSON.stringify(tempData))}`
}) })
} else { } else {
let systemInfo = uni.getSystemInfoSync(); let systemInfo = uni.getSystemInfoSync();
if (systemInfo.platform === 'ios') { if (systemInfo.platform === 'ios') {
// 在iOS操作系统中 // 在iOS操作系统中
uni.navigateTo({ uni.navigateTo({
url: "/pages/login_apple/login_apple", url: "/pages/login_apple/login_apple",
}); });
}else{ }else{
uni.navigateTo({ uni.navigateTo({
url: "/pages/login_pwd/login_pwd", url: "/pages/login_pwd/login_pwd",
}); });
} }
} }
}, },
...@@ -181,12 +213,12 @@ ...@@ -181,12 +213,12 @@
}, },
onShow: function() { onShow: function() {
var userInfo = loginHelper.getUserInfo() var userInfo = loginHelper.getUserInfo();
if (userInfo) { if (userInfo) {
this.headIcon = userInfo.FaceImageCode this.headIcon = userInfo.FaceImageCode || loginHelper.getDefaultHeadIcon();
this.userName = userInfo.NickName this.userName = userInfo.NickName;
} else { } else {
this.headIcon = loginHelper.getDefaultHeadIcon() this.headIcon = loginHelper.getDefaultHeadIcon();
loginHelper.logout(); loginHelper.logout();
} }
this.hasLogin = loginHelper.hasLogin() this.hasLogin = loginHelper.hasLogin()
......
...@@ -5,8 +5,8 @@ if (uni) { ...@@ -5,8 +5,8 @@ if (uni) {
export default { export default {
app: "150414001", app: "150414001",
ppolicy_app : 'http://www.qianhaiyilan.cn/ppolicy_jqty.html' ,// 隐私政策 ppolicy_app : 'https://img-1252711425.cos.ap-guangzhou.myqcloud.com/app/ppolicy_jqty.html' ,// 隐私政策
ppolicy_user : 'http://www.qianhaiyilan.cn/ppolicy_jqty.html' , // 用户协议 ppolicy_user : 'https://img-1252711425.cos.ap-guangzhou.myqcloud.com/app/ppolicy_jqty.html' , // 用户协议
server_url: { server_url: {
// app_host: "http://192.168.2.146:3000/", // app_host: "http://192.168.2.146:3000/",
// app_host: "https://m.caiminbao.com/", // app_host: "https://m.caiminbao.com/",
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!