Browse Source

no message

feature/v1.4
xpz2018 5 years ago
parent
commit
35b784bffc
6 changed files with 7 additions and 8 deletions
  1. 2
      app.js
  2. 2
      pages/agent/ability-item/index.js
  3. 2
      pages/agent/ability-item/index.wxml
  4. 2
      pages/agent/appointment/index.js
  5. 1
      pages/client/factory-list/index.js
  6. 6
      pages/client/index/index.js

2
app.js

@ -1,7 +1,7 @@
//app.js
App({
evn: 0, // 0: 开发版本;1:测试版本;2:生产版本
tmplIds: [''],
tmplIds: ['AFoM5TOfsgERsfcetNSB0UlmEixnLF1ySXr54Bqno2M', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'],
version: '1.4.1',
xAppId: '503258978847953926',
userInfo: null,

2
pages/agent/ability-item/index.js

@ -53,7 +53,7 @@ Component({
}
var categoryId = this.data.item.paperCategoryList[this.data.cateIndex].categoryId
var activityId = this.data.item.activityId
var unitPrice = this.data.item.paperCategoryList[this.data.item.cateIndex].unitPrice
var unitPrice = this.data.item.paperCategoryList[this.data.cateIndex].unitPrice
wx.navigateTo({ url: `/pages/agent/appointment/index?id=${this.data.item.paperMillId}&categoryId=${categoryId}&activityId=${activityId}&unitPrice=${unitPrice}` })
}
}

2
pages/agent/ability-item/index.wxml

@ -15,7 +15,7 @@
</view>
<view class="bg-white" style="padding:0rpx 32rpx 10rpx 32rpx">
<view class="flex" wx:for-item="cateItem" wx:for-index="ck" wx:for="{{item.paperCategoryList}}" wx:key="ck" wx:if="{{item.fold || ck < 3}}" style="margin-bottom: 20rpx">
<view class="item-cate {{item.cateIndex == ck ? 'cate-tag' : ''}}" data-page="{{pageIndex}}" data-index="{{index}}" data-ck="{{ck}}" catchtap="checkTag">
<view class="item-cate {{cateIndex == ck ? 'cate-tag' : ''}}" data-page="{{pageIndex}}" data-index="{{index}}" data-ck="{{ck}}" catchtap="checkTag">
<view class="flex flex-justify" style="padding: 8rpx 0rpx">
<view class="text-sg text-black">{{cateItem.categoryName}}</view>
<text class="text-sg text-black" wx:if="{{cateItem.unitPrice}}">{{formate.formatePrice(cateItem.unitPrice)}}元/吨</text>

2
pages/agent/appointment/index.js

@ -238,7 +238,7 @@ Scene({
this.data.form.carInfos = vehicleList
var that = this
wx.requestSubscribeMessage({
tmplIds: app.agentMsgIds,
tmplIds: app.tmplIds,
complete(res) {
that.submitOrder()
}

1
pages/client/factory-list/index.js

@ -12,7 +12,6 @@ Page({
loading: true,
requesting: false,
finished: false,
top: 0,
orderList: [],
form: {
funcType: 0,

6
pages/client/index/index.js

@ -10,9 +10,9 @@ Page({
safeBottom: app.globalData.safeBottom,
fragment: app.globalData.safeFragmentHeight,
tabList: [
{ index: 0, value: 'message', badge: 0, name: '消息', blue: '/assets/image/tabbar/mall-blue.png', gray: '/assets/image/tabbar/mall-gray.png' },
{ index: 1, value: 'work', badge: 0, name: '工作台', blue: '/assets/image/tabbar/process-blue.png', gray: '/assets/image/tabbar/process-gray.png' },
{ index: 2, value: 'home', badge: 0, name: '我的', blue: '/assets/image/tabbar/home-blue.png', gray: '/assets/image/tabbar/home-gray.png' }
{ index: 0, value: 'message', badge: 0, name: '消息', blue: '/assets/tabbar/mall-blue.png', gray: '/assets/tabbar/mall-gray.png' },
{ index: 1, value: 'work', badge: 0, name: '工作台', blue: '/assets/tabbar/process-blue.png', gray: '/assets/tabbar/process-gray.png' },
{ index: 2, value: 'home', badge: 0, name: '我的', blue: '/assets/tabbar/home-blue.png', gray: '/assets/tabbar/home-gray.png' }
],
tabIndex: 1,
visiable: true

Loading…
Cancel
Save