Browse Source

no message

feature/v1.0
xpz2018 5 years ago
parent
commit
b13ad6cbcd
8 changed files with 20 additions and 24 deletions
  1. 9
      pages/home/index/index.wxml
  2. 4
      pages/htmls/auths/index.wxml
  3. 6
      pages/htmls/auths/index.wxss
  4. 2
      pages/process/check-list/index.js
  5. 17
      pages/process/index/index.wxml
  6. 2
      pages/process/order-list/index.js
  7. 2
      pages/process/payment/index.js
  8. 2
      project.config.json

9
pages/home/index/index.wxml

@ -29,7 +29,7 @@
<text class="cuIcon-right text-gray" style="font-size:18px"></text>
</view>
<!-- 授信信息 -->
<view class="bg-white" style="margin-top: 16rpx">
<!-- <view class="bg-white" style="margin-top: 16rpx">
<view class="flex" style="padding: 20rpx 32rpx">
<text class="text-lg text-bold">千鸟代付额度</text>
<text class="text-df text-gray" style="padding-top:6rpx;margin-left:8rpx"></text>
@ -47,7 +47,7 @@
<view class="text-gray text-sm">查看订单明细</view>
</view>
</view>
</view>
</view> -->
<!-- 企业信息 -->
<view style="height:16rpx"></view>
<van-cell-group>
@ -60,16 +60,15 @@
<van-cell is-link link-type="navigateTo" url="/pages/home/customer-list/index">
<view class="flex" slot="title" style="align-items: center">
<van-icon name="user-circle-o" size="20"/>
<!-- <van-icon name="https://b.yzcdn.cn/vant/icon-demo-1126.png" size="18"/> -->
<text class="text-sg" style="margin-left:12rpx">客户管理</text>
</view>
</van-cell>
<van-cell is-link link-type="navigateTo" url="/pages/home/qrcode/index">
<!-- <van-cell is-link link-type="navigateTo" url="/pages/home/qrcode/index">
<view class="flex" slot="title" style="align-items: center">
<van-icon name="qr" size="18"/>
<text class="text-sg" style="margin-left:12rpx">二维码名片</text>
</view>
</van-cell>
</van-cell> -->
</van-cell-group>
<view style="height:16rpx"></view>
<van-cell-group>

4
pages/htmls/auths/index.wxml

@ -43,7 +43,7 @@
</view>
</view>
<van-dialog use-slot title="代收额度" show="{{ show }}" bind:close="onClose" bind:confirm="onConfirm">
<input id="amount" type="number" style="padding:0rpx 16rpx;border:1rpx solid #eee;height:80rpx;margin:64rpx" placeholder-style="color:#aaa"
<van-dialog use-slot title="代收额度" show="{{ show }}" transition="fade" bind:close="onClose" bind:confirm="onConfirm">
<input id="amount" type="number" class="dialog-input" placeholder-style="color:#aaa;"
maxlength="8" placeholder="请输入您需要的额度,单位(万元)" bindinput="bindInput" />
</van-dialog>

6
pages/htmls/auths/index.wxss

@ -19,4 +19,8 @@
position: absolute;
left: 0rpx;
top: 0rpx;
}
}
.dialog-input {
padding:0rpx 16rpx;border:1rpx solid #eee;height:80rpx;margin:64rpx
}

2
pages/process/check-list/index.js

@ -34,6 +34,8 @@ Page({
this.data.title = '待付款订单'
} else if(this.data.form.funcType == 4){
this.data.title = '已完成订单'
this.data.form.funcType = 6
this.data.form.status = 5
} else if(this.data.form.funcType == 5){
this.data.title = '已关闭订单'
}

17
pages/process/index/index.wxml

@ -79,20 +79,9 @@
</view>
</view>
</view>
</view>
<view style="padding: 0rpx 28rpx;margin-top:24rpx">
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx">
<view class="text-black text-sg text-bold" style="padding: 0rpx 28rpx 12rpx 28rpx">收货订单</view>
<van-grid column-num="5" border="{{fasle}}">
<van-grid-item wx:for="{{ tabList }}" wx:key="index" data-status="{{item.status}}" bind:click="toOrderList" text="{{item.name}}">
<van-icon slot="icon" name="{{ item.icon }}" size="68rpx" info="{{item.badge}}" />
</van-grid-item>
</van-grid>
</view>
</view> -->
<view style="padding: 0rpx 28rpx;margin-top:24rpx">
<!-- <view style="padding: 0rpx 28rpx;margin-top:24rpx">
<view class="bg-white" style="border-radius: 20rpx;padding: 24rpx 0rpx">
<view class="text-black text-sg text-bold" style="padding: 0rpx 28rpx 12rpx 28rpx">库存管理</view>
<van-grid column-num="4" border="{{fasle}}">
@ -105,10 +94,10 @@
<view style="padding: 0rpx 28rpx;margin-top:24rpx">
<image style="width:694rpx;height:250rpx" src="/assets/image/icon-banner.png" bindtap="toAuths"></image>
</view>
</view> -->
<view style="height:24rpx;"></view>
</scroll-view>
<van-action-sheet show="{{ show }}" actions="{{ actions }}" bind:close="onClose" bind:select="onSelect" z-index="22"/>

2
pages/process/order-list/index.js

@ -34,6 +34,8 @@ Page({
this.data.title = '待付款订单'
} else if(this.data.form.funcType == 4){
this.data.title = '已完成订单'
this.data.form.funcType = 6
this.data.form.status = 5
} else if(this.data.form.funcType == 5){
this.data.title = '已关闭订单'
}

2
pages/process/payment/index.js

@ -82,7 +82,7 @@ Page({
paymentOrder(this.data.params).then(result => {
wx.hideLoading()
util.showBackToast('订单已经付款')
event.emit('OrderMessage', { what: 12, desc: 'cancelOrder' })
event.emit('OrderMessage', { what: 12, desc: 'PaymentOrder' })
}).catch(err => {
wx.hideLoading()
this.data.requesting = false

2
project.config.json

@ -12,7 +12,7 @@
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"nodeModules": true,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,

Loading…
Cancel
Save