Commit 98f9177d authored by home's avatar home

zxh

parent 3d12313d
......@@ -5,18 +5,25 @@
<!-- @tap="demoaudio" -->
<view class="tit">店铺名称:{{ storeinfo.shop_name }}</view>
<!-- {{shop.shop_name}} -->
<view class="jiu">
<view class="jiu">
<view class="jiu_01">
<view @tap="saoma">
<view><image class="img" src="/static/icon/1.png" mode=""></image></view>
<view>扫码入库</view>
</view>
</view>
<view class="jiu_01">
<navigator url="/pages/notice/notice">
<view><image class="img" src="/static/icon/newsicon.png" mode=""></image></view>
<view>消息通知</view>
</navigator>
</view>
<view class="jiu_01">
<navigator url="/pages/user/tongji/tongji">
<view><image class="img" src="/static/icon/zijinicons.png" mode=""></image></view>
<view>商户资金管理</view>
</navigator>
<view class="jiu_01">
<navigator url="/pages/user/tongji/tongji">
<view><image class="img" src="/static/icon/zijinicons.png" mode=""></image></view>
<view>商户资金</view>
</navigator>
</view>
<view class="jiu_01 ">
<navigator url="/pages/user/mingxi/mingxi">
......@@ -213,7 +220,18 @@
<view>外卖配送费设置</view>
</view>
</navigator>
</view>
</view>
<view class="jiu_max " >
<navigator url="/pages/deliveryCost/deliveryCost">
<view class="jiu_min">
<view><image class="img" src="/static/icon/1.png" mode=""></image></view>
<view>扫一扫</view>
</view>
</navigator>
</view>
</view>
<view class="BH"></view>
......@@ -291,7 +309,33 @@
// #endif
}, 1000)
},
methods: {
methods: {
saoma(e){
uni.scanCode({
success:res => {
uni.request({
//app_id:qkkbptetyohxoiod app_secret:Wkp2a3NiNjAzTFJLRmwrZXN3QW1jZz09
url: 'https://www.mxnzp.com/api/barcode/goods/details', //仅为示例,并非真实接口地址。
data: {
barcode: res.result,
needImg: true,
app_id:'qkkbptetyohxoiod',
app_secret:'Wkp2a3NiNjAzTFJLRmwrZXN3QW1jZz09'
},
method:'GET',
success: (results) => {
let messageArr = []
console.log(results);
uni.navigateTo({
url: '/pages/addEditEleProduct/addEditEleProduct'
})
}
})
}
});
},
jump(){
uni.navigateTo({
url:'/pages/edit/pro_manage/pro_manage?money_type='+this.money_type + '&'+'activity_type='+this.activity_type
......@@ -424,7 +468,7 @@
}
.jiu_01 {
width: 33%;
width: 25%;
text-align: center;
padding: 30upx 20upx 30upx;
box-sizing: border-box;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment