Browse Source

v1.6.13 加单号改为后台配置;

feature/point
ZhaoTongYao 5 years ago
parent
commit
5ecfe5a841
  1. 4
      pages/heartNew/heartNew.js
  2. 5
      pages/heartNew/heartNew.wxml
  3. 15
      pages/heartNew/heartNew.wxss
  4. 2
      pages/toRegister/toRegister.js
  5. 3
      subpages/heart/pages/dropByList/dropByList.js
  6. 2
      subpages/heart/pages/dropByList/dropByList.json
  7. 2
      subpages/heart/pages/dropByPublish/dropByPublish.json
  8. 3
      subpages/heart/pages/groupBuyList/groupBuyList.js
  9. 2
      subpages/heart/pages/groupBuyList/groupBuyList.json
  10. 2
      subpages/heart/pages/groupBuyPublish/groupBuyPublish.json
  11. 2
      subpages/heart/pages/groupBuyPublish/groupBuyPublish.wxml

4
pages/heartNew/heartNew.js

@ -467,11 +467,11 @@ Page({
toJumpPage (e) { toJumpPage (e) {
if (e.currentTarget.dataset.code == 'ptg') { if (e.currentTarget.dataset.code == 'ptg') {
wx.navigateTo({ wx.navigateTo({
url: `/subpages/heart/pages/groupBuyList/groupBuyList` url: `/subpages/heart/pages/groupBuyList/groupBuyList?title=${e.currentTarget.dataset.title}`
}) })
} else if (e.currentTarget.dataset.code == 'sds') { } else if (e.currentTarget.dataset.code == 'sds') {
wx.navigateTo({ wx.navigateTo({
url: `/subpages/heart/pages/dropByList/dropByList` url: `/subpages/heart/pages/dropByList/dropByList?title=${e.currentTarget.dataset.title}`
}) })
} }
}, },

5
pages/heartNew/heartNew.wxml

@ -54,7 +54,10 @@
</view> </view>
</view> </view>
<view class="tab-right"> <view class="tab-right">
<image wx:for="{{tabRightList}}" wx:key="index" src="{{item.imgUrl}}" data-code="{{item.imgCode}}" bindtap="toJumpPage"/> <view class="tab" wx:for="{{tabRightList}}" wx:key="index" data-title="{{item.remark}}" data-code="{{item.imgCode}}" bindtap="toJumpPage">
<image src="{{item.imgUrl}}"/>
<view class="tab-text">{{item.remark}}</view>
</view>
</view> </view>
<view class="tab-all"> <view class="tab-all">
<view class="tab-bar {{tabFixed ? 'tab-bar-fixed' : ''}}" style="margin-top: {{tabFixed ? statusHeight + navigationHeight : '278r'}}px"> <view class="tab-bar {{tabFixed ? 'tab-bar-fixed' : ''}}" style="margin-top: {{tabFixed ? statusHeight + navigationHeight : '278r'}}px">

15
pages/heartNew/heartNew.wxss

@ -299,10 +299,19 @@ button:last-child {
flex-direction: column; flex-direction: column;
} }
.tab-right image { .tab-right image {
width: 234rpx; width: 160rpx;
height: 118rpx; height: 102rpx;
}
.tab-right .tab {
position: relative;
}
.tab-right .tab .tab-text {
position: absolute;
left: 40rpx;
top: 26rpx;
color: white;
font-size: 34rpx;
} }
.tab-all { .tab-all {
position: absolute; position: absolute;
width: 100%; width: 100%;

2
pages/toRegister/toRegister.js

@ -21,7 +21,7 @@ Page({
// } // }
// }) // })
let that = this let that = this
const versionNum = "1.6.12" const versionNum = "1.6.13"
api.getScanSwitch(versionNum).then(function (res) { api.getScanSwitch(versionNum).then(function (res) {
console.log(res.data) console.log(res.data)
let state = res.data.scanFlag let state = res.data.scanFlag

3
subpages/heart/pages/dropByList/dropByList.js

@ -26,6 +26,9 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
wx.setNavigationBarTitle({
title: options.title
})
// this.getSdsList() // this.getSdsList()
}, },

2
subpages/heart/pages/dropByList/dropByList.json

@ -1,5 +1,5 @@
{ {
"navigationBarTitleText": "顺道捎", "navigationBarTitleText": "",
"usingComponents": { "usingComponents": {
"notice": "../../components/noticeNew/noticeNew", "notice": "../../components/noticeNew/noticeNew",
"coverview-dialog": "../../components/coverViewDialog/coverViewDialog", "coverview-dialog": "../../components/coverViewDialog/coverViewDialog",

2
subpages/heart/pages/dropByPublish/dropByPublish.json

@ -1,5 +1,5 @@
{ {
"navigationBarTitleText": "顺道捎", "navigationBarTitleText": "发布",
"usingComponents": { "usingComponents": {
"date-time-picker": "../../../../components/DateTimePicker/index", "date-time-picker": "../../../../components/DateTimePicker/index",
"notice": "../../components/notice/notice" "notice": "../../components/notice/notice"

3
subpages/heart/pages/groupBuyList/groupBuyList.js

@ -24,6 +24,9 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
wx.setNavigationBarTitle({
title: options.title
})
// this.getGroupBuyList() // this.getGroupBuyList()
}, },

2
subpages/heart/pages/groupBuyList/groupBuyList.json

@ -1,5 +1,5 @@
{ {
"navigationBarTitleText": "加单号", "navigationBarTitleText": "",
"usingComponents": { "usingComponents": {
"notice": "../../components/noticeNew/noticeNew", "notice": "../../components/noticeNew/noticeNew",
"coverview-dialog": "../../components/coverViewDialog/coverViewDialog", "coverview-dialog": "../../components/coverViewDialog/coverViewDialog",

2
subpages/heart/pages/groupBuyPublish/groupBuyPublish.json

@ -1,5 +1,5 @@
{ {
"navigationBarTitleText": "拼团购发布", "navigationBarTitleText": "发布",
"usingComponents": { "usingComponents": {
"date-time-picker": "../../../../components/DateTimePicker/index", "date-time-picker": "../../../../components/DateTimePicker/index",
"notice": "../../components/notice/notice" "notice": "../../components/notice/notice"

2
subpages/heart/pages/groupBuyPublish/groupBuyPublish.wxml

@ -11,7 +11,7 @@
</view> </view>
<view class="apply-item"> <view class="apply-item">
<view class="item-title" style="margin-top:20rpx">内容</view> <view class="item-title" style="margin-top:20rpx">内容</view>
<textarea class="item-content text-content" maxlength="500" placeholder="请描述团购内容" value="{{dataForm.groupBuyContent}}" bindinput="onInputContent"><span class="text-length">{{dataForm.groupBuyContent.length}}/500</span></textarea> <textarea class="item-content text-content" maxlength="500" placeholder="请输入内容" value="{{dataForm.groupBuyContent}}" bindinput="onInputContent"><span class="text-length">{{dataForm.groupBuyContent.length}}/500</span></textarea>
</view> </view>
<view class="apply-item"> <view class="apply-item">
<view class="item-title">联系电话</view> <view class="item-title">联系电话</view>

Loading…
Cancel
Save