pull/1/head
liudan 1 year ago
parent c9d28130c8
commit 39f8029d10
  1. 2
      common/auth.js
  2. 3
      pages/home/home.vue
  3. 21
      pages/warehouse/weituo.vue
  4. 2
      unpackage/dist/build/h5/index.html
  5. 1
      unpackage/dist/build/h5/static/js/index.33714825.js
  6. 1
      unpackage/dist/build/h5/static/js/index.4c7ae1af.js
  7. 1
      unpackage/dist/build/h5/static/js/pages-home-home.7c2d22d3.js
  8. 1
      unpackage/dist/build/h5/static/js/pages-home-home.a9e9ace3.js
  9. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-weituo.09d70a3c.js
  10. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-weituo.4dfb9969.js

@ -58,7 +58,7 @@ export function getAgentInfo() {
* 删除用户相关缓存信息
*/
export function removeAll() {
uni.clearStorageSync()
// uni.clearStorageSync()
uni.removeStorageSync(USER_TOKEN)
uni.removeStorageSync(USER_INFO)
uni.removeStorageSync(AGENT_INFO)

@ -216,8 +216,9 @@ export default {
},
H5Login(){
let pageUrl = window.location.href;
let code =this.getQueryString('code');
console.log(code,"lldd");
let appid="wx00776fef020b31d7"
let redirect_uri = encodeURIComponent(pageUrl);

@ -37,10 +37,17 @@
</view>
<view class="slide">
<slider :value="value" @changing="sliderChange" :min="min" :max="max" show-value />
<slider :value="value" @changing="sliderChange" :min="min" :max="max"/>
</view>
<view class="numContent">
<view class="">
{{min}}
</view>
<view class="">
{{max}}
</view>
</view>
</view>
<view class="order-info">
<view class="info-list">
@ -138,7 +145,7 @@
this.warehouse = res.data.warehouse
this.sxfRadio = res.data.entrustment_ratio
this.max = Number(this.min)*(1+(Number(res.data.entrusted_ratio)/100))
console.log(this.max)
let sxf = Number(res.data.order_amount)*(Number(this.sxfRadio)/100)
this.sxf = sxf.toFixed(2)
this.total = (Number(this.orderDetails.order_amount)+ Number(this.sxf) - Number(this.couponNum)).toFixed(2);
@ -199,4 +206,12 @@
<style scoped lang="scss">
@import 'weituo.scss';
.numContent{
display: flex;
width:100%;
justify-content: space-between;
align-items: center;
padding:0 24rpx 24rpx 24rpx;
color:gray;
}
</style>

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>商城</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.fd0c9014.js></script><script src=/static/js/index.33714825.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.fd0c9014.js></script><script src=/static/js/index.4c7ae1af.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save