Skip to content

Commit

Permalink
翻修
Browse files Browse the repository at this point in the history
  • Loading branch information
lixin committed Nov 23, 2018
1 parent a959f9d commit 2664b4c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ App({
var logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
wx.setStorageSync('user', { "userId": 129, "name": "", "phone": "18616236045", "role": 18, "type": 1})
// wx.setStorageSync('user', { "userId": 129, "name": "", "phone": "18616236045", "role": 18, "type": 1})

wx.getSystemInfo({
success: function(res) {wx.setStorageSync('systemInfo', res)},
Expand Down
3 changes: 1 addition & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "洁先服务",
"navigationBarTextStyle": "black",
"backgroundColor": "#F2f2f2",
"enablePullDownRefresh": true
"backgroundColor": "#F2f2f2"
},
"tabBar": {
"color": "#929292",
Expand Down
7 changes: 7 additions & 0 deletions pages/launchDetail/jqbg/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,13 @@ Page({
onShareAppMessage: function () {

},

previewImage: function (e) {
wx.previewImage({
current: e.currentTarget.id, // 当前显示图片的http链接
urls: this.data.files // 需要预览的图片http链接列表
})
},
toCommit: function (options) {
this.setData({
showPopup: true
Expand Down
5 changes: 3 additions & 2 deletions pages/launchDetail/jqbg/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- <view class="border-bottom-gainsboro"> -->

<!-- </view> -->

<block wx:if="{{orderDetail.change.links.subStatus != 0}}">
<view class=" weui-cells_after-title border-bottom-gainsboro">
<view class=" weui-cell_switch">
<view class="weui-cell__bd"></view>
Expand Down Expand Up @@ -79,8 +79,9 @@
</view>
</view>
</block>
</view>
</block>

</view>


<comment-view comments="{{orderDetail.comments}}"></comment-view>
Expand Down
2 changes: 1 addition & 1 deletion pages/launchDetail/patch/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</view>
</block>

<view class=" weui-cells_after-title border-bottom-gainsboro">
<view class=" weui-cells_after-title ">
<view class=" weui-cell_switch">
<view class="weui-cell__bd"></view>
</view>
Expand Down
4 changes: 2 additions & 2 deletions utils/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ var QQMapWX = require('qqmap-wx-jssdk.js');
var qqmapsdk;
// api 路径
//测试
// const HOST = 'https://test.tianchu.linkitchen.com/CServer';
const HOST = 'https://test.tianchu.linkitchen.com/CServer';
//正式
// const HOST = 'https://www.jiexianchina.com';

const HOST = 'http://192.168.0.120:8080/CServer';
// const HOST = 'http://192.168.0.120:8080/CServer';
const p_positiveNum = /^\+?[1-9][0-9]*$/;
const Constant={
HOST:HOST
Expand Down

0 comments on commit 2664b4c

Please sign in to comment.