Browse Source

完善云菜窖小程序

master
myTest383 5 months ago
parent
commit
a81067eb23
  1. 4
      common/config.js
  2. 4
      custom-tab-bar/index.js
  3. 64
      custom-tab-bar/index.wxss
  4. 2
      manifest.json
  5. 341
      pages/SelectAddressActivity.vue
  6. 2
      pages/bind/bind_cloudCard.vue
  7. 190
      pages/bind/bind_enterpriseCard.vue
  8. 316
      pages/bind/bind_enterpriseCard2.vue
  9. 228
      pages/bind/bind_giftCard.vue
  10. 310
      pages/bind/bind_giftCard2.vue
  11. 234
      pages/bind/bind_personCard.vue
  12. 310
      pages/bind/bind_personCard2.vue
  13. 222
      pages/bind/bind_pickUpCard.vue
  14. 322
      pages/bind/bind_pickUpCard2.vue
  15. 448
      pages/card/card-2023-12-13.vue
  16. 16
      pages/card/card_detail.vue
  17. 16
      pages/card/card_detail2.vue
  18. 2
      pages/cloud/detail_cloudCard.vue
  19. 2
      pages/cloud/optionalCard.vue
  20. 16
      pages/detail/detail_affeection.vue
  21. 16
      pages/detail/detail_affeection2.vue
  22. 16
      pages/detail/detail_enterprise.vue
  23. 16
      pages/detail/detail_enterprise2.vue
  24. 16
      pages/detail/detail_family.vue
  25. 16
      pages/detail/detail_family2.vue
  26. 14
      pages/enterprise/corporate_card_detail.vue
  27. 14
      pages/enterprise/corporate_card_detail2.vue
  28. 14
      pages/enterprise/welfare_card_detail.vue
  29. 14
      pages/enterprise/welfare_card_detail2.vue
  30. 6
      pages/good/goodsDetail.vue
  31. 6
      pages/good/goodsDetail2.vue
  32. 4
      pages/good/reservation.vue
  33. 2
      pages/good/shoppCart.vue
  34. 4
      pages/good/transfer.vue
  35. 8
      pages/home/cloudCard.vue
  36. 54
      pages/home/cloudCard2.vue
  37. 14
      pages/home/corporateCard.vue
  38. 14
      pages/home/giftCard.vue
  39. 10
      pages/home/myCellar.vue
  40. 6
      pages/home/myHome.vue
  41. 14
      pages/home/personCard.vue
  42. 30
      pages/home/pickUpCard.vue
  43. 24
      pages/home/recordList.vue
  44. 24
      pages/home/recordList2.vue
  45. 5
      pages/login/login.vue
  46. 2
      pages/me/makeInvoice.vue
  47. 2
      pages/records/recommendRecords.vue
  48. 4
      pages/records/reservationRecords3.vue
  49. 4
      pages/records/reservationRecords4.vue
  50. 2
      pages/records/transferRecords.vue
  51. 2
      pages/records/transferRecords2.vue

4
common/config.js

@ -7,10 +7,10 @@
*/ */
module.exports = { module.exports = {
// baseUrl: 'http://uv32vz.natappfree.cc', // 本地 // baseUrl: 'http://uv32vz.natappfree.cc', // 本地
// baseUrl: 'http://192.168.0.105:7211', // 本地 baseUrl: 'http://192.168.0.105:7211', // 本地
// baseUrl: 'https://39.104.100.138/lpkapi', // 测试服务器 // baseUrl: 'https://39.104.100.138/lpkapi', // 测试服务器
// baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器 // baseUrl: 'https://lpk.yyundong.com/mallapi', // 测试服务器
baseUrl: 'https://supervise.yxtsoft.com/lpkapi', // 正式服务器 // baseUrl: 'https://ordermall.yxtsoft.com/ycjapi', // 正式服务器
// tokenName: "Authorization", // 请求头中token的名字,与服务器端对应 // tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码 loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
loginTimeoutPage: "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面 loginTimeoutPage: "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面

4
custom-tab-bar/index.js

@ -13,7 +13,7 @@ Component({
// }, // },
{ {
"pagePath": "/pages/home/cloudCard2", "pagePath": "/pages/home/cloudCard2",
"text": "产品分类", "text": "补充菜窖",
"iconPath": "/static/bomicon/bom_notCloudCard.png", "iconPath": "/static/bomicon/bom_notCloudCard.png",
"selectedIconPath": "/static/bomicon/bom_cloudCard.png" "selectedIconPath": "/static/bomicon/bom_cloudCard.png"
}, },
@ -25,7 +25,7 @@ Component({
// }, // },
{ {
"pagePath": "/pages/home/myCellar", "pagePath": "/pages/home/myCellar",
"text": "我的订单", "text": "我的菜窖",
"iconPath": "/static/bomicon/bom_notPickUp.png", "iconPath": "/static/bomicon/bom_notPickUp.png",
"selectedIconPath": "/static/bomicon/bom_pickUp.png" "selectedIconPath": "/static/bomicon/bom_pickUp.png"
}, },

64
custom-tab-bar/index.wxss

@ -1,46 +1,46 @@
.tab-bar { .tab-bar {
pointer-events: auto; pointer-events: auto;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
height: 50px; height: 50px;
/* background: #F69448; */ /* background: #F69448; */
display: flex; display: flex;
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/bom_navigation.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/bom_navigation.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
/* padding-bottom: env(safe-area-inset-bottom); */ /* padding-bottom: env(safe-area-inset-bottom); */
} }
.tab-bar-border { .tab-bar-border {
background-color: rgba(246, 148, 72, 0.3); background-color: rgba(246, 148, 72, 0.3);
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
height: 1px; height: 1px;
transform: scaleY(0.5); transform: scaleY(0.5);
} }
.tab-bar-item { .tab-bar-item {
flex: 1; flex: 1;
text-align: center; text-align: center;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
} }
.tab-bar-item cover-image { .tab-bar-item cover-image {
width: 27px; width: 27px;
height: 27px; height: 27px;
} }
.tab-bar-item cover-view { .tab-bar-item cover-view {
margin-top: 3px; margin-top: 3px;
font-size: 10px; font-size: 10px;
} }

2
manifest.json

@ -50,7 +50,7 @@
"quickapp" : {}, "quickapp" : {},
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
"appid" : "wx4724e3a3c27f36b5", "appid" : "wx11565021714ba796",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"postcss" : true, "postcss" : true,

341
pages/SelectAddressActivity.vue

@ -1,32 +1,33 @@
<template> <template>
<view> <view>
<view style="position: sticky;top: 0;background-color: #FE9039;"> <view style="position: sticky;top: 0;background-color: #FE9039;">
<view class="search-container"> <view class="search-container">
<!-- 搜索框 --> <!-- 搜索框 -->
<view class="search-container-bar"> <view class="search-container-bar">
<!-- :cancelText="keyBoardPopup ? '取消' : '搜索'" --> <!-- :cancelText="keyBoardPopup ? '取消' : '搜索'" -->
<uni-search-bar ref="searchBar" style="flex:1;margin-left: 20rpx;" radius="100" <uni-search-bar ref="searchBar" style="flex:1;margin-left: 20rpx;" radius="100"
v-model="associativeText" :focus="focus" :placeholder="hotWorld" clearButton="auto" v-model="associativeText" :focus="focus" :placeholder="hotWorld" clearButton="auto"
cancelButton="none" @clear="clear" /> cancelButton="none" @clear="clear" />
<view v-if="stringIsNotEmpty(associativeText) && associativeText!=page.key" @click="search" <view v-if="stringIsNotEmpty(associativeText) && associativeText!=page.key" @click="search"
style="margin-right: 10px; padding: 3px 8px; font-size: 18px; color: #fff;">搜索</view> style="margin-right: 10px; padding: 3px 8px; font-size: 18px; color: #fff;">搜索</view>
</view> </view>
</view> </view>
<!-- <view class="search-body"> <!-- <view class="search-body">
<view <view
style="font-size: 26rpx;padding-left: 50rpx;padding-right: 40rpx;padding-top: 10rpx;padding-bottom: 20rpx;color: #FED6B5;"> style="font-size: 26rpx;padding-left: 50rpx;padding-right: 40rpx;padding-top: 10rpx;padding-bottom: 20rpx;color: #FED6B5;">
输入关键字筛选提货点 输入关键字筛选提货点
</view> </view>
</view> --> </view> -->
</view> </view>
<loading-state ref="pageView" @request="request"> <loading-state ref="pageView" @request="request">
<!-- 搜索联想 --> <!-- 搜索联想 -->
<view style="display: flex;flex-direction: column;background: #FFFFFF; <view
style="display: flex;flex-direction: column;background: #FFFFFF;
border-top-left-radius: 30px;border-top-right-radius: 30px; padding:10px 20px;margin-top: 10px;box-sizing: border-box;padding-bottom: 0px;" border-top-left-radius: 30px;border-top-right-radius: 30px; padding:10px 20px;margin-top: 10px;box-sizing: border-box;padding-bottom: 0px;"
v-for="(item,index) in dataList" :key="index"> v-for="(item,index) in dataList" :key="index">
<!-- <!--
<view <view
style="display: flex;flex-direction: row;width: 100%;box-sizing: border-box;width: 100%;margin-top:10rpx ;align-items: center;"> style="display: flex;flex-direction: row;width: 100%;box-sizing: border-box;width: 100%;margin-top:10rpx ;align-items: center;">
<image src="../static/address_name.png" style="width: 50rpx;height: 50rpx;flex-shrink: 0;"> <image src="../static/address_name.png" style="width: 50rpx;height: 50rpx;flex-shrink: 0;">
@ -76,169 +77,173 @@
</view> </view>
</view> --> </view> -->
<text style="font-size: 18px;font-weight: 600;font-family: sans-serif;color: 333;">{{item.name}}</text> <text style="font-size: 18px;font-weight: 600;font-family: sans-serif;color: 333;">{{item.name}}</text>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png" style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">营业时间{{item.businessHours}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">营业时间{{item.businessHours}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
</image> style="width: 20px;height: 20px;">
<text style="margin-left: 5px;font-size: 12px; color: #999;flex: 1;">门店地址{{item.address}}</text> </image>
<!-- <image src="https://supervise.yxtsoft.com/lpk/image/navigation.png" <text style="margin-left: 5px;font-size: 12px; color: #999;flex: 1;">门店地址{{item.address}}</text>
<!-- <image src="https://ordermall.yxtsoft.com/lpkui/image/navigation.png"
style="width: 20px;height: 20px; margin-right: 20px;"></image> --> style="width: 20px;height: 20px; margin-right: 20px;"></image> -->
</view> </view>
<view style="display: flex;flex-direction: row;margin-top: 38rpx;border-top: 1rpx #f1f2f3 solid; justify-content: space-between; <view style="display: flex;flex-direction: row;margin-top: 38rpx;border-top: 1rpx #f1f2f3 solid; justify-content: space-between;
padding-left: 30px;padding-right:30px;"> padding-left: 30px;padding-right:30px;">
<view class="btn" @click.stop="phone(item.phone)"> <view class="btn" @click.stop="phone(item.phone)">
<image src="https://supervise.yxtsoft.com/lpk/image/phone.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/phone.png"
</image> style="width: 20px;height: 20px;">
<text style="margin-left: 5px;font-size: 14px; color: #666;">电话咨询</text> </image>
</view> <text style="margin-left: 5px;font-size: 14px; color: #666;">电话咨询</text>
</view>
<view class="btn" @click.stop="confirm(item)"> <view class="btn" @click.stop="confirm(item)">
<image src="https://supervise.yxtsoft.com/lpk/image/user.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/user.png"
</image> style="width: 20px;height: 20px;">
<text style="margin-left: 5px;font-size: 14px; color: #666;">预约自提</text> </image>
</view> <text style="margin-left: 5px;font-size: 14px; color: #666;">预约自提</text>
</view>
</view> </view>
</view> </view>
</loading-state> </loading-state>
<view style="height: 20px;"></view> <view style="height: 20px;"></view>
</view> </view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
page: { page: {
key: '' key: ''
}, },
associativeText: '', associativeText: '',
hotWorld: '输入关键字搜索提货点', // hotWorld: '输入关键字搜索提货点', //
focus: true, // focus: true, //
dataList: [] dataList: []
} }
}, },
created() { created() {
// //
this.request() this.request()
// #ifdef APP-PLUS // #ifdef APP-PLUS
uni.onKeyboardHeightChange((res) => { uni.onKeyboardHeightChange((res) => {
this.keyBoardPopup = res.height !== 0; this.keyBoardPopup = res.height !== 0;
}) })
// #endif // #endif
}, },
methods: { methods: {
search() { search() {
this.page.key = this.associativeText this.page.key = this.associativeText
this.request() this.request()
}, },
phone(num) { phone(num) {
uni.makePhoneCall({ uni.makePhoneCall({
phoneNumber: num phoneNumber: num
}); });
}, },
confirm(item) { confirm(item) {
uni.$emit('address', item) uni.$emit('address', item)
uni.navigateBack() uni.navigateBack()
}, },
request() { request() {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.pageView.setLoadState(0) this.$refs.pageView.setLoadState(0)
}) })
let _this = this let _this = this
_this.$api.address({ _this.$api.address({
'name': this.page.key 'name': this.page.key
}).then((resp) => { }).then((resp) => {
_this.dataList = resp _this.dataList = resp
if (resp.length == 0) { if (resp.length == 0) {
_this.$nextTick(() => { _this.$nextTick(() => {
_this.$refs.pageView.setLoadState(100) _this.$refs.pageView.setLoadState(100)
}) })
} else { } else {
_this.$nextTick(() => { _this.$nextTick(() => {
_this.$refs.pageView.setLoadState(2) _this.$refs.pageView.setLoadState(2)
}) })
} }
}).catch(e => { }).catch(e => {
_this.$nextTick(() => { _this.$nextTick(() => {
_this.$refs.pageView.setLoadState(1) _this.$refs.pageView.setLoadState(1)
}) })
}) })
}, },
clear(res) { clear(res) {
this.page.key = '' this.page.key = ''
this.request() this.request()
} }
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
uni-page-body, uni-page-body,
page { page {
background: #f3f4f6; background: #f3f4f6;
} }
.btn { .btn {
margin-top: 10px; margin-top: 10px;
border: 1px solid #FEA561; border: 1px solid #FEA561;
border-radius: 20px; border-radius: 20px;
display: flex;flex-direction: row; display: flex;
align-items: center; flex-direction: row;
justify-content: center; align-items: center;
padding: 5px 10px; justify-content: center;
margin-bottom: 10px; padding: 5px 10px;
} margin-bottom: 10px;
}
.search-body {
background-color: #FE9039; .search-body {
border-bottom-right-radius: 10px; background-color: #FE9039;
border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
} border-bottom-left-radius: 10px;
}
@mixin uni-flex {
/* #ifndef APP-NVUE */ @mixin uni-flex {
display: flex; /* #ifndef APP-NVUE */
/* #endif */ display: flex;
} /* #endif */
}
$search-bar-height: 52px;
$word-container_header-height: 72rpx; $search-bar-height: 52px;
$word-container_header-height: 72rpx;
.search-container {
height: $search-bar-height; .search-container {
@include uni-flex; height: $search-bar-height;
flex-direction: column; @include uni-flex;
justify-content: center; flex-direction: column;
align-items: center; justify-content: center;
position: relative; align-items: center;
background: white; position: relative;
background: white;
@at-root {
#{&}-bar { @at-root {
@include uni-flex; #{&}-bar {
flex-direction: row; @include uni-flex;
justify-content: center; flex-direction: row;
align-items: center; justify-content: center;
position: absolute; align-items: center;
top: 0; position: absolute;
left: 0; top: 0;
right: 0; left: 0;
background: #FE9039; right: 0;
} background: #FE9039;
} }
} }
}
</style> </style>

2
pages/bind/bind_cloudCard.vue

@ -6,7 +6,7 @@
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view> <view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj_new1.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj_new1.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image> style="width: 100%;height: 70vw"></image>
</view> </view>

190
pages/bind/bind_enterpriseCard.vue

@ -1,18 +1,18 @@
<template> <template>
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top"> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight" <NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view> <view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj3.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj3.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image> style="width: 100%;height: 70vw"></image>
</view> </view>
</view> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> <!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -37,106 +37,106 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #5C9EFD; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #5C9EFD; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #89DAFB; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #89DAFB; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定企业卡</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定企业卡</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#89DAFB,#5C9EFD); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#89DAFB,#5C9EFD); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
绑定</view> 绑定</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '', customerSid: '',
startHeight: 0, startHeight: 0,
endHeight: 0 endHeight: 0
} }
} }
}, },
onLoad() { onLoad() {
this.page.customerSid = getApp().globalData.sid this.page.customerSid = getApp().globalData.sid
let info = uni.getSystemInfoSync(); let info = uni.getSystemInfoSync();
this.page.startHeight = info.windowWidth * 0.6 this.page.startHeight = info.windowWidth * 0.6
this.page.endHeight = info.windowWidth * 0.8 this.page.endHeight = info.windowWidth * 0.8
}, },
methods: { methods: {
onKeyInput1(event) { onKeyInput1(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2(event) { onKeyInput2(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success(res) { success(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入或扫描20位提货编码') this.shortToast('请输入或扫描20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
_this.$api.empcardBind(this.page).then((resp) => { _this.$api.empcardBind(this.page).then((resp) => {
bus.$emit('order3', "监听回调"); bus.$emit('order3', "监听回调");
uni.navigateBack() uni.navigateBack()
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>
.top { .top {
width: 100vw; width: 100vw;
height: 70vw; height: 70vw;
} }
</style> </style>

316
pages/bind/bind_enterpriseCard2.vue

@ -1,21 +1,21 @@
<template> <template>
<!-- 扫码进入 携带参数 --> <!-- 扫码进入 携带参数 -->
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top"> <view class="top">
<NavBar ref="nav" navTitle="绑定企业卡" :showIcon="true" :start-change-height="page.startHeight" <NavBar ref="nav" navTitle="绑定企业卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view> <view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj3.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj3.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image> style="width: 100%;height: 70vw"></image>
</view> </view>
</view> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> <!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -40,164 +40,164 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #5C9EFD; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #5C9EFD; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #89DAFB; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #89DAFB; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定企业卡</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定企业卡</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#89DAFB,#5C9EFD); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#89DAFB,#5C9EFD); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
绑定</view> 绑定</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '' customerSid: ''
} }
} }
}, },
onUnload() { onUnload() {
let pages = getCurrentPages().length - 1; let pages = getCurrentPages().length - 1;
wx.navigateBack({ wx.navigateBack({
delta: pages delta: pages
}) })
}, },
onLoad(options) { onLoad(options) {
let _this = this; let _this = this;
wx.login({ wx.login({
success: function(res) { success: function(res) {
uni.request({ uni.request({
// //
url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code, url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code,
method: "GET", method: "GET",
header: { header: {
'content-type': "application/x-www-form-urlencoded" 'content-type': "application/x-www-form-urlencoded"
}, },
data: { data: {
"wxCode": res.code "wxCode": res.code
}, },
success: res => { success: res => {
if (res.statusCode == 200) { if (res.statusCode == 200) {
if (!res.data.success) { if (!res.data.success) {
if (res.data.code == "110") { if (res.data.code == "110") {
// //
uni.reLaunch({ uni.reLaunch({
url: '/pages/index/BindPhone?openid=' + url: '/pages/index/BindPhone?openid=' +
res.data.data.wxMpOpenid res.data.data.wxMpOpenid
}) })
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
} else { } else {
// //
getApp().globalData.sid = res.data.data.sid getApp().globalData.sid = res.data.data.sid
getApp().globalData.token = res.data.data.token getApp().globalData.token = res.data.data.token
uni.setStorageSync("satoken",res.data.data.token) uni.setStorageSync("satoken", res.data.data.token)
console.log("人员sid", res.data.data.sid); console.log("人员sid", res.data.data.sid);
console.log("token", res.data.data.token); console.log("token", res.data.data.token);
_this.page.customerSid = getApp().globalData.sid _this.page.customerSid = getApp().globalData.sid
} }
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
}, },
fail: (err) => { fail: (err) => {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
}, },
fail: function(res) { fail: function(res) {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
if (options) { if (options) {
console.log("options", options) console.log("options", options)
const q = decodeURIComponent(options.q) // const q = decodeURIComponent(options.q) //
console.log("二维码原始链接内容", q) console.log("二维码原始链接内容", q)
var code = q.split('=')[1] var code = q.split('=')[1]
// var code = this.getQueryString(q, 'code');// code // var code = this.getQueryString(q, 'code');// code
console.log("提货卡编码", code) console.log("提货卡编码", code)
this.page.code = code this.page.code = code
} }
}, },
methods: { methods: {
onKeyInput1: function(event) { onKeyInput1: function(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2: function(event) { onKeyInput2: function(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success: function(res) { success: function(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入或扫描20位提货编码') this.shortToast('请输入或扫描20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
_this.$api.empcardBind(this.page).then((resp) => { _this.$api.empcardBind(this.page).then((resp) => {
bus.$emit('order3', "监听回调"); bus.$emit('order3', "监听回调");
uni.switchTab({ uni.switchTab({
url: '/pages/home/corporateCard' url: '/pages/home/corporateCard'
}) })
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>

228
pages/bind/bind_giftCard.vue

@ -1,18 +1,18 @@
<template> <template>
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight">
</NavBar>
<view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj2.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image>
</view>
</view> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight">
</NavBar>
<view>
<image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj2.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image>
</view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -37,121 +37,121 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #FF3F22; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF3F22; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #FF8585; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF8585; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定福礼卡</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定福礼卡</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#FF8585,#FF3F22); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#FF8585,#FF3F22); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
绑定</view> 绑定</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '', customerSid: '',
startHeight: 0, startHeight: 0,
endHeight: 0 endHeight: 0
}, },
} }
}, },
onLoad(options) { onLoad(options) {
this.page.code = options.code this.page.code = options.code
this.page.codeKey = options.codeKey this.page.codeKey = options.codeKey
this.page.customerSid = getApp().globalData.sid this.page.customerSid = getApp().globalData.sid
let info = uni.getSystemInfoSync(); let info = uni.getSystemInfoSync();
this.page.startHeight = info.windowWidth * 0.6 this.page.startHeight = info.windowWidth * 0.6
this.page.endHeight = info.windowWidth * 0.8 this.page.endHeight = info.windowWidth * 0.8
}, },
methods: { methods: {
onKeyInput1(event) { onKeyInput1(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2(event) { onKeyInput2(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success(res) { success(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入或扫描20位提货编码') this.shortToast('请输入或扫描20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
_this.$api.cardBind(this.page).then((resp) => { _this.$api.cardBind(this.page).then((resp) => {
bus.$emit('order2', "监听回调"); bus.$emit('order2', "监听回调");
const pages = getCurrentPages() const pages = getCurrentPages()
// uni.navigateBack // uni.navigateBack
if (pages.length > 1) { if (pages.length > 1) {
uni.navigateBack(1) uni.navigateBack(1)
return; return;
} else { } else {
uni.switchTab({ uni.switchTab({
url: '/pages/home/giftCard' url: '/pages/home/giftCard'
}) })
} }
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>
.top { .top {
width: 100vw; width: 100vw;
height: 70vw; height: 70vw;
} }
</style> </style>

310
pages/bind/bind_giftCard2.vue

@ -1,21 +1,21 @@
<template> <template>
<!-- 扫码进入 携带参数 --> <!-- 扫码进入 携带参数 -->
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top"> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight" <NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view> <view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj2.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj2.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image> style="width: 100%;height: 70vw"></image>
</view> </view>
</view> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> <!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -40,161 +40,161 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #FF3F22; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF3F22; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #FF8585; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF8585; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定福礼卡</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定福礼卡</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#FF8585,#FF3F22); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#FF8585,#FF3F22); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
绑定</view> 绑定</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '' customerSid: ''
} }
} }
}, },
onUnload() { onUnload() {
let pages = getCurrentPages().length - 1; let pages = getCurrentPages().length - 1;
wx.navigateBack({ wx.navigateBack({
delta: pages delta: pages
}) })
}, },
onLoad(options) { onLoad(options) {
let _this = this; let _this = this;
wx.login({ wx.login({
success: function(res) { success: function(res) {
uni.request({ uni.request({
// //
url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code, url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code,
method: "GET", method: "GET",
header: { header: {
'content-type': "application/x-www-form-urlencoded" 'content-type': "application/x-www-form-urlencoded"
}, },
data: { data: {
"wxCode": res.code "wxCode": res.code
}, },
success: res => { success: res => {
if (res.statusCode == 200) { if (res.statusCode == 200) {
if (!res.data.success) { if (!res.data.success) {
if (res.data.code == "110") { if (res.data.code == "110") {
// //
uni.reLaunch({ uni.reLaunch({
url: '/pages/index/BindPhone?openid=' + url: '/pages/index/BindPhone?openid=' +
res.data.data.wxMpOpenid res.data.data.wxMpOpenid
}) })
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
} else { } else {
// //
getApp().globalData.sid = res.data.data.sid getApp().globalData.sid = res.data.data.sid
_this.page.customerSid = getApp().globalData.sid _this.page.customerSid = getApp().globalData.sid
console.log("用户sid", getApp().globalData.sid) console.log("用户sid", getApp().globalData.sid)
} }
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
}, },
fail: (err) => { fail: (err) => {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
}, },
fail: function(res) { fail: function(res) {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
if (options) { if (options) {
console.log("options", options) console.log("options", options)
const q = decodeURIComponent(options.q) // const q = decodeURIComponent(options.q) //
console.log("二维码原始链接内容", q) console.log("二维码原始链接内容", q)
var code = q.split('=')[1] var code = q.split('=')[1]
// var code = this.getQueryString(q, 'code');// code // var code = this.getQueryString(q, 'code');// code
console.log("提货卡编码", code) console.log("提货卡编码", code)
this.page.code = code this.page.code = code
} }
}, },
methods: { methods: {
onKeyInput1: function(event) { onKeyInput1: function(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2: function(event) { onKeyInput2: function(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success: function(res) { success: function(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入或扫描20位提货编码') this.shortToast('请输入或扫描20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
_this.$api.cardBind(this.page).then((resp) => { _this.$api.cardBind(this.page).then((resp) => {
bus.$emit('order2', "监听回调"); bus.$emit('order2', "监听回调");
uni.switchTab({ uni.switchTab({
url: '/pages/home/giftCard' url: '/pages/home/giftCard'
}) })
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>

234
pages/bind/bind_personCard.vue

@ -1,18 +1,18 @@
<template> <template>
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight">
</NavBar>
<view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj1.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image>
</view>
</view> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight">
</NavBar>
<view>
<image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj1.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image>
</view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -37,124 +37,124 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定个人卡</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定个人卡</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
绑定</view> 绑定</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '', customerSid: '',
startHeight: 0, startHeight: 0,
endHeight: 0 endHeight: 0
}, },
} }
}, },
onLoad(options) { onLoad(options) {
this.page.code = options.code this.page.code = options.code
this.page.codeKey = options.codeKey this.page.codeKey = options.codeKey
this.page.customerSid = getApp().globalData.sid this.page.customerSid = getApp().globalData.sid
let info = uni.getSystemInfoSync(); let info = uni.getSystemInfoSync();
this.page.startHeight = info.windowWidth * 0.6 this.page.startHeight = info.windowWidth * 0.6
this.page.endHeight = info.windowWidth * 0.8 this.page.endHeight = info.windowWidth * 0.8
}, },
methods: { methods: {
onKeyInput1(event) { onKeyInput1(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2(event) { onKeyInput2(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success(res) { success(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入或扫描20位提货编码') this.shortToast('请输入或扫描20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
_this.$api.cardBind(this.page).then((resp) => { _this.$api.cardBind(this.page).then((resp) => {
bus.$emit('order', "监听回调"); bus.$emit('order', "监听回调");
// setTimeout(() => { // setTimeout(() => {
// uni.$emit('order', "") // uni.$emit('order', "")
// }, 500) // }, 500)
const pages = getCurrentPages() const pages = getCurrentPages()
// uni.navigateBack // uni.navigateBack
if (pages.length > 1) { if (pages.length > 1) {
uni.navigateBack(1) uni.navigateBack(1)
return; return;
} else { } else {
uni.switchTab({ uni.switchTab({
url: '/pages/home/personCard' url: '/pages/home/personCard'
}) })
} }
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>
.top { .top {
width: 100vw; width: 100vw;
height: 70vw; height: 70vw;
} }
</style> </style>

310
pages/bind/bind_personCard2.vue

@ -1,21 +1,21 @@
<template> <template>
<!-- 扫码进入 携带参数 --> <!-- 扫码进入 携带参数 -->
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top"> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight" <NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view> <view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj1.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj1.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image> style="width: 100%;height: 70vw"></image>
</view> </view>
</view> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> <!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -40,161 +40,161 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定个人卡</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定个人卡</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
绑定</view> 绑定</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '' customerSid: ''
} }
} }
}, },
onUnload() { onUnload() {
let pages = getCurrentPages().length - 1; let pages = getCurrentPages().length - 1;
wx.navigateBack({ wx.navigateBack({
delta: pages delta: pages
}) })
}, },
onLoad(options) { onLoad(options) {
let _this = this; let _this = this;
wx.login({ wx.login({
success: function(res) { success: function(res) {
uni.request({ uni.request({
// //
url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code, url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code,
method: "GET", method: "GET",
header: { header: {
'content-type': "application/x-www-form-urlencoded" 'content-type': "application/x-www-form-urlencoded"
}, },
data: { data: {
"wxCode": res.code "wxCode": res.code
}, },
success: res => { success: res => {
if (res.statusCode == 200) { if (res.statusCode == 200) {
if (!res.data.success) { if (!res.data.success) {
if (res.data.code == "110") { if (res.data.code == "110") {
// //
uni.reLaunch({ uni.reLaunch({
url: '/pages/index/BindPhone?openid=' + url: '/pages/index/BindPhone?openid=' +
res.data.data.wxMpOpenid res.data.data.wxMpOpenid
}) })
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
} else { } else {
// //
getApp().globalData.sid = res.data.data.sid getApp().globalData.sid = res.data.data.sid
_this.page.customerSid = getApp().globalData.sid _this.page.customerSid = getApp().globalData.sid
console.log("用户sid", getApp().globalData.sid) console.log("用户sid", getApp().globalData.sid)
} }
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
}, },
fail: (err) => { fail: (err) => {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
}, },
fail: function(res) { fail: function(res) {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
if (options) { if (options) {
console.log("options", options) console.log("options", options)
const q = decodeURIComponent(options.q) // const q = decodeURIComponent(options.q) //
console.log("二维码原始链接内容", q) console.log("二维码原始链接内容", q)
var code = q.split('=')[1] var code = q.split('=')[1]
// var code = this.getQueryString(q, 'code');// code // var code = this.getQueryString(q, 'code');// code
console.log("提货卡编码", code) console.log("提货卡编码", code)
this.page.code = code this.page.code = code
} }
}, },
methods: { methods: {
onKeyInput1: function(event) { onKeyInput1: function(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2: function(event) { onKeyInput2: function(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success: function(res) { success: function(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入或扫描20位提货编码') this.shortToast('请输入或扫描20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
_this.$api.cardBind(this.page).then((resp) => { _this.$api.cardBind(this.page).then((resp) => {
bus.$emit('order', "监听回调"); bus.$emit('order', "监听回调");
uni.switchTab({ uni.switchTab({
url: '/pages/home/personCard' url: '/pages/home/personCard'
}) })
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>

222
pages/bind/bind_pickUpCard.vue

@ -1,18 +1,18 @@
<template> <template>
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight">
</NavBar>
<view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image>
</view>
</view> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight">
</NavBar>
<view>
<image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image>
</view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -37,26 +37,26 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定云菜窖</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定云菜窖</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<!-- <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <!-- <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> --> @click="scan" /> -->
</view> </view>
<!-- <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <!-- <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
@ -64,97 +64,97 @@
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> --> </view> -->
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
接收</view> 接收</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '', customerSid: '',
startHeight: 0, startHeight: 0,
endHeight: 0 endHeight: 0
}, },
} }
}, },
onLoad(options) { onLoad(options) {
this.page.code = options.code this.page.code = options.code
this.page.codeKey = options.codeKey this.page.codeKey = options.codeKey
this.page.customerSid = getApp().globalData.sid this.page.customerSid = getApp().globalData.sid
let info = uni.getSystemInfoSync(); let info = uni.getSystemInfoSync();
this.page.startHeight = info.windowWidth * 0.6 this.page.startHeight = info.windowWidth * 0.6
this.page.endHeight = info.windowWidth * 0.8 this.page.endHeight = info.windowWidth * 0.8
}, },
methods: { methods: {
onKeyInput1(event) { onKeyInput1(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2(event) { onKeyInput2(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success(res) { success(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入20位提货编码') this.shortToast('请输入20位提货编码')
return return
} }
// if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { // if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
// this.shortToast('6') // this.shortToast('6')
// return // return
// } // }
let _this = this let _this = this
_this.$api.bindAllCard(this.page).then((resp) => { _this.$api.bindAllCard(this.page).then((resp) => {
// bus.$emit('order', ""); // bus.$emit('order', "");
// setTimeout(() => { // setTimeout(() => {
// uni.$emit('order', "") // uni.$emit('order', "")
// }, 500) // }, 500)
const pages = getCurrentPages() const pages = getCurrentPages()
// uni.navigateBack // uni.navigateBack
if (pages.length > 1) { if (pages.length > 1) {
uni.navigateBack(1) uni.navigateBack(1)
return; return;
} else { } else {
uni.switchTab({ uni.switchTab({
url: '/pages/home/myCellar' url: '/pages/home/myCellar'
}) })
} }
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>
.top { .top {
width: 100vw; width: 100vw;
height: 70vw; height: 70vw;
} }
</style> </style>

322
pages/bind/bind_pickUpCard2.vue

@ -1,21 +1,21 @@
<template> <template>
<!-- 扫码进入 携带参数 --> <!-- 扫码进入 携带参数 -->
<view style="display: flex;flex-direction: column;background-color: #fff;"> <view style="display: flex;flex-direction: column;background-color: #fff;">
<view class="top"> <view class="top">
<NavBar ref="nav" navTitle="绑定云菜窖" :showIcon="true" :start-change-height="page.startHeight" <NavBar ref="nav" navTitle="绑定云菜窖" :showIcon="true" :start-change-height="page.startHeight"
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view> <view>
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/bind_bj.png" mode="scaleToFill"
style="width: 100%;height: 70vw"></image> style="width: 100%;height: 70vw"></image>
</view> </view>
</view> </view>
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;"> <!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
<view <view
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;"> style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
<view style="margin: 15px;">绑定云菜窖卡</view> <view style="margin: 15px;">绑定云菜窖卡</view>
@ -40,167 +40,167 @@
@click="save"> @click="save">
绑定</view> --> 绑定</view> -->
<view style="display: flex;flex-direction: column;padding:20px;"> <view style="display: flex;flex-direction: column;padding:20px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view>
<view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view> <view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view>
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定云菜窖</text> <text style="margin-left: 8px;font-size: 18px;color: #333;">绑定云菜窖</text>
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px;box-sizing: border-box; background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;"> width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
<input maxlength="20" placeholder="请输入/扫码" <input maxlength="20" placeholder="请输入/扫码"
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
:value="page.code" @input="onKeyInput1" /> :value="page.code" @input="onKeyInput1" />
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" <uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
@click="scan" /> @click="scan" />
</view> </view>
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
<view style="display: flex;flex-direction: row;justify-content: space-between; <view style="display: flex;flex-direction: row;justify-content: space-between;
background: #F8F8F8;border-radius: 5px; padding:10px 0px; background: #F8F8F8;border-radius: 5px; padding:10px 0px;
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" <input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
type="number" :value="page.codeKey" @input="onKeyInput2" /> type="number" :value="page.codeKey" @input="onKeyInput2" />
</view> </view>
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px; <view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save"> flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
接收</view> 接收</view>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
//bus //bus
import bus from '@/common/bus'; import bus from '@/common/bus';
export default { export default {
data() { data() {
return { return {
page: { page: {
code: '', code: '',
codeKey: '', codeKey: '',
customerSid: '' customerSid: ''
} }
} }
}, },
onUnload() { onUnload() {
let pages = getCurrentPages().length - 1; let pages = getCurrentPages().length - 1;
wx.navigateBack({ wx.navigateBack({
delta: pages delta: pages
}) })
}, },
onLoad(options) { onLoad(options) {
let _this = this; let _this = this;
wx.login({ wx.login({
success: function(res) { success: function(res) {
uni.request({ uni.request({
// //
url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code, url: getApp().globalData.wxSilentLoginURL + "?wxCode=" + res.code,
method: "GET", method: "GET",
header: { header: {
'content-type': "application/x-www-form-urlencoded" 'content-type': "application/x-www-form-urlencoded"
}, },
data: { data: {
"wxCode": res.code "wxCode": res.code
}, },
success: res => { success: res => {
if (res.statusCode == 200) { if (res.statusCode == 200) {
if (!res.data.success) { if (!res.data.success) {
if (res.data.code == "110") { if (res.data.code == "110") {
// //
uni.reLaunch({ uni.reLaunch({
url: '/pages/index/BindPhone?openid=' + url: '/pages/index/BindPhone?openid=' +
res.data.data.wxMpOpenid res.data.data.wxMpOpenid
}) })
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
} else { } else {
// //
getApp().globalData.sid = res.data.data.sid getApp().globalData.sid = res.data.data.sid
_this.page.customerSid = getApp().globalData.sid _this.page.customerSid = getApp().globalData.sid
console.log("用户sid", getApp().globalData.sid) console.log("用户sid", getApp().globalData.sid)
} }
} else { } else {
// _this.status = 'more' // _this.status = 'more'
} }
}, },
fail: (err) => { fail: (err) => {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
}, },
fail: function(res) { fail: function(res) {
// _this.status = 'more' // _this.status = 'more'
} }
}); });
if (options) { if (options) {
console.log("options", options) console.log("options", options)
const q = decodeURIComponent(options.q) // const q = decodeURIComponent(options.q) //
console.log("二维码原始链接内容", q) console.log("二维码原始链接内容", q)
var code = q.split('=')[1] var code = q.split('=')[1]
// var code = this.getQueryString(q, 'code');// code // var code = this.getQueryString(q, 'code');// code
console.log("提货卡编码", code) console.log("提货卡编码", code)
this.page.code = code this.page.code = code
} }
}, },
methods: { methods: {
onKeyInput1: function(event) { onKeyInput1: function(event) {
this.page.code = event.target.value this.page.code = event.target.value
}, },
onKeyInput2: function(event) { onKeyInput2: function(event) {
this.page.codeKey = event.target.value this.page.codeKey = event.target.value
}, },
scan() { scan() {
// //
let _this = this let _this = this
uni.scanCode({ uni.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success: function(res) { success: function(res) {
_this.page.code = res.result.substring(res.result.length - 20, res.result.length) _this.page.code = res.result.substring(res.result.length - 20, res.result.length)
} }
}); });
}, },
save() { save() {
this.page.customerSid = getApp().globalData.sid this.page.customerSid = getApp().globalData.sid
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
this.shortToast('请输入20位提货编码') this.shortToast('请输入20位提货编码')
return return
} }
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
this.shortToast('请输入6位提货密码') this.shortToast('请输入6位提货密码')
return return
} }
let _this = this let _this = this
console.log("+++++++++++", this.page); console.log("+++++++++++", this.page);
_this.$api.bindAllCard(this.page).then((resp) => { _this.$api.bindAllCard(this.page).then((resp) => {
// bus.$emit('order', ""); // bus.$emit('order', "");
uni.switchTab({ uni.switchTab({
url: '/pages/home/myCellar' url: '/pages/home/myCellar'
}) })
}).catch(e => { }).catch(e => {
_this.longToast(e.msg) _this.longToast(e.msg)
}) })
} }
} }
} }
</script> </script>
<style> <style>

448
pages/card/card-2023-12-13.vue

@ -1,241 +1,243 @@
<template> <template>
<view style="display: flex;flex-direction: column;"> <view style="display: flex;flex-direction: column;">
<view class="top"> <view class="top">
<NavBar ref="nav" navTitle="首页" :showIcon="false" :start-change-height="page.startHeight" <NavBar ref="nav" navTitle="首页" :showIcon="false" :start-change-height="page.startHeight"
:end-change-height="page.endHeight"> :end-change-height="page.endHeight">
</NavBar> </NavBar>
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view class="btn" @click="bind"> <view class="btn" @click="bind">
<image src="https://supervise.yxtsoft.com/lpk/image/binding.png" style="width: 15px;height: 15px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/binding.png"
</image> style="width: 15px;height: 15px;">
<text </image>
style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #FE6B00;margin-left: 11px;">绑定新卡</text> <text
</view> style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #FE6B00;margin-left: 11px;">绑定新卡</text>
</view> </view>
</view> </view>
</view>
<view
style="display: flex;flex-direction: column;background-color: #fff;height: 50vh; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> <view
style="display: flex;flex-direction: column;background-color: #fff;height: 50vh; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<z-paging ref="paging" use-page-scroll v-model="data" @query="queryList" :refresher-enabled="false">
<z-paging ref="paging" use-page-scroll v-model="data" @query="queryList" :refresher-enabled="false">
<view v-for="(item,index) in data" :key="index"
style="display: flex;flex-direction: column;align-items: center;margin-top: 14px;" <view v-for="(item,index) in data" :key="index"
:class="item.showBtn==true?'oragin':'gray'" @click="detail(item)"> style="display: flex;flex-direction: column;align-items: center;margin-top: 14px;"
:class="item.showBtn==true?'oragin':'gray'" @click="detail(item)">
<view class="item" :class="{ item2: !item.showBtn }">
<view class="item" :class="{ item2: !item.showBtn }">
<!-- 外边 18px 内边 32px = 50px -->
<view <!-- 外边 18px 内边 32px = 50px -->
style="padding: 16px;display: flex;flex-direction: row;width: 100%;box-sizing: border-box;"> <view
style="padding: 16px;display: flex;flex-direction: row;width: 100%;box-sizing: border-box;">
<!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <!-- 礼包图标 总60px -->
<image src="https://supervise.yxtsoft.com/lpk/image/pack.png" mode="aspectFill" <view style="flex-shrink: 0;">
v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> <image src="https://ordermall.yxtsoft.com/lpkui/image/pack.png" mode="aspectFill"
v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/pack2.png" mode="aspectFill"
v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> <image src="https://ordermall.yxtsoft.com/lpkui/image/pack2.png" mode="aspectFill"
</view> v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
</view>
<view
style="flex: 1;display: flex;flex-direction: column;box-sizing: border-box;flex-wrap: nowrap;"> <view
style="flex: 1;display: flex;flex-direction: column;box-sizing: border-box;flex-wrap: nowrap;">
<view style="width: 100%;display: flex;flex-direction: row;">
<view style="width: 100%;display: flex;flex-direction: row;">
<view style="flex: 1;display: flex;flex-direction: column;">
<text class="_ellipsis" <view style="flex: 1;display: flex;flex-direction: column;">
style="font-size: 13px;color: #333;width: calc(100vw - 190px);">卡号: {{item.serialNumber}}</text> <text class="_ellipsis"
<text class="_ellipsis" style="font-size: 13px;color: #333;width: calc(100vw - 190px);">卡号:
style="font-size: 12px;color: #999;margin-top: 5px;width: calc(100vw - 182px);"> {{item.serialNumber}}</text>
{{item.time}}</text> <text class="_ellipsis"
</view> style="font-size: 12px;color: #999;margin-top: 5px;width: calc(100vw - 182px);">
{{item.time}}</text>
<!-- 按钮 24 + 48 = 72px--> </view>
<view :class="{ showBtn: !item.showBtn }" style="font-size: 12px;color:#fff;flex-shrink: 0;
<!-- 按钮 24 + 48 = 72px-->
<view :class="{ showBtn: !item.showBtn }" style="font-size: 12px;color:#fff;flex-shrink: 0;
border-radius: 15px; height: 30px;padding: 0px 12px;line-height: 30px;box-sizing: border-box; border-radius: 15px; height: 30px;padding: 0px 12px;line-height: 30px;box-sizing: border-box;
background: -webkit-linear-gradient(left,#FF7405,#FFAD6D);">预约提货</view> background: -webkit-linear-gradient(left,#FF7405,#FFAD6D);">预约提货</view>
</view> </view>
<!-- 蔬菜礼包经典款+状态 --> <!-- 蔬菜礼包经典款+状态 -->
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<text style="font-size: 15px;color: #FF7100;"> {{item.pname}}</text> <text style="font-size: 15px;color: #FF7100;"> {{item.pname}}</text>
<text <text
style="border: 1px #FED4B3 solid;margin-left: 10px;border-radius: 15px;padding: 3px 10px; font-size: 12px; color: #FF6000;flex-shrink: 0;"> style="border: 1px #FED4B3 solid;margin-left: 10px;border-radius: 15px;padding: 3px 10px; font-size: 12px; color: #FF6000;flex-shrink: 0;">
{{item.state}}</text> {{item.state}}</text>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</z-paging> </z-paging>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
page: { page: {
remarks: '', remarks: '',
startHeight: 0, startHeight: 0,
endHeight: 0 endHeight: 0
}, },
data: [], data: [],
} }
}, },
onLoad() { onLoad() {
uni.$on("order", (e) => { uni.$on("order", (e) => {
// //
this.$refs.paging.reload(true); this.$refs.paging.reload(true);
}) })
let info = uni.getSystemInfoSync(); let info = uni.getSystemInfoSync();
this.page.startHeight = info.windowWidth * 0.6 this.page.startHeight = info.windowWidth * 0.6
this.page.endHeight = info.windowWidth * 0.8 this.page.endHeight = info.windowWidth * 0.8
}, },
onUnload() { onUnload() {
uni.$off('order'); uni.$off('order');
}, },
onPageScroll(res) { onPageScroll(res) {
// //
this.$refs.nav.defaultColorBgAlpha(res) this.$refs.nav.defaultColorBgAlpha(res)
}, },
methods: { methods: {
// //
queryList(pageNo, pageSize) { queryList(pageNo, pageSize) {
let _this = this let _this = this
_this.$api.cardList({ _this.$api.cardList({
"current": pageNo, "current": pageNo,
"size": pageSize, "size": pageSize,
"params": { "params": {
"customerSid": getApp().globalData.sid "customerSid": getApp().globalData.sid
} }
}).then((resp) => { }).then((resp) => {
// //
this.$refs.paging.complete(resp.records) this.$refs.paging.complete(resp.records)
}).catch(e => { }).catch(e => {
// //
_this.$refs.paging.complete(false); _this.$refs.paging.complete(false);
}) })
}, },
dialogInputConfirm(val) { dialogInputConfirm(val) {
// //
}, },
bind() { bind() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/card/card_bind' url: '/pages/card/card_bind'
}) })
}, },
detail(item) { detail(item) {
if (item.showBtn) { if (item.showBtn) {
// //
uni.navigateTo({ uni.navigateTo({
url: '/pages/card/card_detail?sid=' + item.sid url: '/pages/card/card_detail?sid=' + item.sid
}) })
} else { } else {
// //
uni.navigateTo({ uni.navigateTo({
url: '/pages/card/card_detail2?sid=' + item.sid url: '/pages/card/card_detail2?sid=' + item.sid
}) })
} }
}, },
booking(item) { booking(item) {
if (!item.notRese) { if (!item.notRese) {
this.shortToast("该卡商品已全部预约。") this.shortToast("该卡商品已全部预约。")
return return
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/card/card_booking?sid=' + item.sid url: '/pages/card/card_booking?sid=' + item.sid
}) })
} }
} }
} }
} }
</script> </script>
<style> <style>
._ellipsis { ._ellipsis {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
.top { .top {
width: 100vw; width: 100vw;
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 85vw; height: 85vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/hmoe_bj.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/hmoe_bj.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.btn { .btn {
/* margin-top: 97.86vw; */ /* margin-top: 97.86vw; */
margin-top: 60vw; margin-top: 60vw;
width: 83%; width: 83%;
background-color: #FFF; background-color: #FFF;
border-radius: 45px; border-radius: 45px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/card_item.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/card_item.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);
} }
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/card_item2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/card_item2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);
} }
.showBtn { .showBtn {
visibility: hidden; visibility: hidden;
} }
.use { .use {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
border-top-left-radius: 20rpx; border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx; border-top-right-radius: 20rpx;
color: #FFF; color: #FFF;
align-items: center; align-items: center;
background: linear-gradient(89.8deg, rgba(218, 51, 33, 1) -3.76%, rgba(237, 113, 53, 0) 300.05%); background: linear-gradient(89.8deg, rgba(218, 51, 33, 1) -3.76%, rgba(237, 113, 53, 0) 300.05%);
} }
.gray { .gray {
filter: grayscale(100%); filter: grayscale(100%);
-webkit-filter: grayscale(100%); -webkit-filter: grayscale(100%);
transition: filter 0.2s; transition: filter 0.2s;
} }
.oragin {} .oragin {}
uni-page-body, uni-page-body,
page { page {
background: #FFFFFF; background: #FFFFFF;
} }
</style> </style>

16
pages/card/card_detail.vue

@ -24,7 +24,7 @@
style="display: flex;flex-direction: row;justify-content: center; style="display: flex;flex-direction: row;justify-content: center;
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftpack.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftpack.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<text <text
@ -83,27 +83,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -134,7 +134,7 @@
border-bottom: 1px #F1F2F3 solid; padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftNormal.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftNormal.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -532,7 +532,7 @@
return { return {
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey, path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareGift.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareGift.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -608,7 +608,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/card/card_detail2.vue

@ -24,7 +24,7 @@
style="display: flex;flex-direction: row;justify-content: center; style="display: flex;flex-direction: row;justify-content: center;
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftpack.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftpack.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<text <text
@ -82,27 +82,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -133,7 +133,7 @@
border-bottom: 1px #F1F2F3 solid;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/welfare_Card.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/welfare_Card.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -246,7 +246,7 @@
return { return {
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey, path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareGift.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareGift.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -323,7 +323,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj4.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj4.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

2
pages/cloud/detail_cloudCard.vue

@ -277,7 +277,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 95vw; height: 95vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/home_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

2
pages/cloud/optionalCard.vue

@ -298,7 +298,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 95vw; height: 95vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/home_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/detail/detail_affeection.vue

@ -25,7 +25,7 @@
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/detail_affeection.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/detail_affeection.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<view style="width: 50%; margin-left: 20vw; <view style="width: 50%; margin-left: 20vw;
@ -94,27 +94,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -148,7 +148,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -613,7 +613,7 @@
title: '汇融农链ss-云菜窖', title: '汇融农链ss-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -689,7 +689,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/detail/detail_affeection2.vue

@ -25,7 +25,7 @@
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/detail_affeection.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/detail_affeection.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<view style="width: 55%; margin-left: 20vw; <view style="width: 55%; margin-left: 20vw;
@ -89,27 +89,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -143,7 +143,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -279,7 +279,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -356,7 +356,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj4.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj4.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/detail/detail_enterprise.vue

@ -25,7 +25,7 @@
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/detail_enterprise.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/detail_enterprise.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<view style="width: 55%; margin-left: 20vw; <view style="width: 55%; margin-left: 20vw;
@ -93,27 +93,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -146,7 +146,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -623,7 +623,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -707,7 +707,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/detail/detail_enterprise2.vue

@ -25,7 +25,7 @@
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/detail_enterprise.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/detail_enterprise.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<view style="width: 55%; margin-left: 20vw; <view style="width: 55%; margin-left: 20vw;
@ -88,27 +88,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -141,7 +141,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -275,7 +275,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -348,7 +348,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj4.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj4.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/detail/detail_family.vue

@ -24,7 +24,7 @@
style="display: flex;flex-direction: row;justify-content: center; style="display: flex;flex-direction: row;justify-content: center;
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/detail_family.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/detail_family.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<view style="width: 55%; margin-left: 20vw; <view style="width: 55%; margin-left: 20vw;
@ -92,27 +92,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -146,7 +146,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -616,7 +616,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -692,7 +692,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

16
pages/detail/detail_family2.vue

@ -24,7 +24,7 @@
style="display: flex;flex-direction: row;justify-content: center; style="display: flex;flex-direction: row;justify-content: center;
background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;"> background-color: #fff;height: 25vw; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/detail_family.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/detail_family.png" mode="aspectFit"
style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image> style="margin-left: 20px;margin-right: 20px; width: 80vw;height: 25vw;"></image>
<view style="width: 50%; margin-left: 20vw; <view style="width: 50%; margin-left: 20vw;
@ -89,27 +89,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/user2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/user2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/phone2.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/phone2.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -143,7 +143,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -279,7 +279,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -356,7 +356,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj4.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj4.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

14
pages/enterprise/corporate_card_detail.vue

@ -71,27 +71,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_loction.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_loction.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_user.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_user.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_phone.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_phone.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -124,7 +124,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftNormal.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftNormal.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -547,7 +547,7 @@
return { return {
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey, path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -631,7 +631,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj3.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj3.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

14
pages/enterprise/corporate_card_detail2.vue

@ -71,27 +71,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_loction.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_loction.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_user.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_user.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_phone.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_phone.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -124,7 +124,7 @@
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftNormal.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftNormal.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -233,7 +233,7 @@
return { return {
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey, path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -306,7 +306,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj6.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj6.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

14
pages/enterprise/welfare_card_detail.vue

@ -71,27 +71,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_loction.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_loction.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_user.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_user.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_phone.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_phone.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -122,7 +122,7 @@
border-bottom: 1px #F1F2F3 solid;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftNormal.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftNormal.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -515,7 +515,7 @@
return { return {
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey, path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareGift.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareGift.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -591,7 +591,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

14
pages/enterprise/welfare_card_detail2.vue

@ -72,27 +72,27 @@
<view style="display: flex;flex-direction: column;background-color: #fff; <view style="display: flex;flex-direction: column;background-color: #fff;
border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid; width: 100%;padding-left: 20px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_date.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_date.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">提货时间{{item.reserveDate}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_loction.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_loction.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">提货地点{{item.store}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_user.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_user.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text> style="margin-left: 5px;font-size: 12px; color: #999;">&ensp;&ensp;{{item.userName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/gift_phone.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/gift_phone.png" mode="aspectFill"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text> <text style="margin-left: 5px;font-size: 12px; color: #999;">联系电话{{item.userPhone}}</text>
@ -123,7 +123,7 @@
border-bottom: 1px #F1F2F3 solid;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> border-bottom: 1px #F1F2F3 solid;padding-left: 10px; padding-right: 10px; padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;"> <view style="display: flex;flex-direction: row;width: 100%;margin-top: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/welfare_Card.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/welfare_Card.png"
style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image> style="width: 50px;height: 50px;margin-right: 10px;flex-shrink: 0;"></image>
<view style="display: flex;flex-direction: column;width: 100%;"> <view style="display: flex;flex-direction: column;width: 100%;">
@ -235,7 +235,7 @@
return { return {
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey, path: '/pages/bind/bind_giftCard?code=' + data.code + '&codeKey=' + data.codeKey,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareGift.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareGift.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },
@ -312,7 +312,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/detail_bj5.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/detail_bj5.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

6
pages/good/goodsDetail.vue

@ -14,14 +14,14 @@
</view> </view>
<view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;"> <view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;">
<text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text> <text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text>
<text <text
style="font-size: 13px;color: #999;">{{data.weight}}{{data.specificationUnit}}/{{data.unitName}}</text> style="font-size: 13px;color: #999;">{{data.weight}}{{data.specificationUnit}}/{{data.unitName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;"> <!-- <view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;">
<text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text> <text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text>
<text style="font-size: 13px;color: #999;">{{data.remarks}}</text> <text style="font-size: 13px;color: #999;">{{data.remarks}}</text>
</view> </view> -->
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 20px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 20px;">

6
pages/good/goodsDetail2.vue

@ -14,14 +14,14 @@
</view> </view>
<view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;"> <view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;">
<text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text> <text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text>
<text <text
style="font-size: 13px;color: #999;">{{data.weight}}{{data.specificationUnit}}/{{data.unitName}}</text> style="font-size: 13px;color: #999;">{{data.weight}}{{data.specificationUnit}}/{{data.unitName}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;"> <!-- <view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;">
<text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text> <text style="font-size: 13px;color: #666;">&ensp;&ensp;&ensp;&ensp;</text>
<text style="font-size: 13px;color: #999;">{{data.remarks}}</text> <text style="font-size: 13px;color: #999;">{{data.remarks}}</text>
</view> </view> -->
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 20px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 20px;">

4
pages/good/reservation.vue

@ -44,7 +44,7 @@
<view v-if="info.storeSid!=''" <view v-if="info.storeSid!=''"
style="display: flex;flex-direction: row;align-items: center;margin-top: 15px;"> style="display: flex;flex-direction: row;align-items: center;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" style="width:20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/date.png" style="width:20px;height: 20px;">
</image> </image>
<text <text
style="margin-left: 5px;flex: 1;color: #666;font-size: 14px;">{{info.businessHours}}</text> style="margin-left: 5px;flex: 1;color: #666;font-size: 14px;">{{info.businessHours}}</text>
@ -53,7 +53,7 @@
<view v-if="info.storeSid!=''" <view v-if="info.storeSid!=''"
style="display: flex;flex-direction: row;align-items: center;margin-top: 15px;"> style="display: flex;flex-direction: row;align-items: center;margin-top: 15px;">
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/location.png"
style="width: 20px;height: 20px;"> style="width: 20px;height: 20px;">
</image> </image>
<text style="margin-left: 5px;flex: 1; color: #666;font-size: 14px;">{{info.address}}</text> <text style="margin-left: 5px;flex: 1; color: #666;font-size: 14px;">{{info.address}}</text>

2
pages/good/shoppCart.vue

@ -61,7 +61,7 @@
<view v-if="notData" style="display: flex;flex-direction: column;align-items: center;margin-top: -30vw;"> <view v-if="notData" style="display: flex;flex-direction: column;align-items: center;margin-top: -30vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/not_Cart.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/not_Cart.png" mode="aspectFit"
style="width: 50vw;height: 50vw;"></image> style="width: 50vw;height: 50vw;"></image>
<view style="display: flex;flex-direction: column;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: column;align-items: center;margin-top: 10px;">
<text style="font-size: 14px; color: #666;margin-right: 5px;">购菜车是空的</text> <text style="font-size: 14px; color: #666;margin-right: 5px;">购菜车是空的</text>

4
pages/good/transfer.vue

@ -74,7 +74,7 @@
<view v-if="transferNotData" <view v-if="transferNotData"
style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 5vw;"> style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 5vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/supplementing.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/supplementing.png" mode="aspectFit"
style="width: 50vw;height: 50vw;"></image> style="width: 50vw;height: 50vw;"></image>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;">
<text style=" border-radius: 8px; padding: 3px 8px; color: #999;">没有商品咯,请添加~</text> <text style=" border-radius: 8px; padding: 3px 8px; color: #999;">没有商品咯,请添加~</text>
@ -236,7 +236,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_transfer.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_transfer.png', // 5:4
}) })

8
pages/home/cloudCard.vue

@ -221,7 +221,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 75vw; height: 75vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/clound_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/clound_bj1.png);
/* background-image: url(../../static/clound_bj1.png); */ /* background-image: url(../../static/clound_bj1.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
@ -252,14 +252,14 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/bindBtn_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/bindBtn_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/carPerson.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/carPerson.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);
@ -267,7 +267,7 @@
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/caradLose.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/caradLose.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);

54
pages/home/cloudCard2.vue

@ -10,7 +10,7 @@
<swiper-item v-for="(item,index) in imgList" style="" @click="swiperClick(item)"> <swiper-item v-for="(item,index) in imgList" style="" @click="swiperClick(item)">
<image :src="item.bannerUrl" style="width: 100vw;height: 50vw; " mode="scaleToFill"> <image :src="item.bannerUrl" style="width: 100vw;height: 45vw; " mode="scaleToFill">
</image> </image>
</swiper-item> </swiper-item>
@ -63,7 +63,7 @@
style="display: flex;flex-direction: column; justify-content: center;align-items: center;margin-right: 10px; flex: 1;" style="display: flex;flex-direction: column; justify-content: center;align-items: center;margin-right: 10px; flex: 1;"
@click.stop="brandClick(index2)"> @click.stop="brandClick(index2)">
<image src="https://supervise.yxtsoft.com/lpk/image/family_icon.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/family_icon.png"
mode="aspectFill" :class="selectIndex2 == index2?'top_img1':'top_img2'" mode="aspectFill" :class="selectIndex2 == index2?'top_img1':'top_img2'"
style="width: 55px;height:55px;border-radius: 50%;padding:5px;"></image> style="width: 55px;height:55px;border-radius: 50%;padding:5px;"></image>
@ -99,8 +99,8 @@
style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;"> style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<text style="border: 1px #EE752F solid; border-radius: 5px; padding: 0px 8px; <text style="border: 1px #EE752F solid; border-radius: 5px; padding: 0px 8px;
font-size: 10px;color: #EE752F;">{{item.weight}}{{item.specificationUnit}}/{{item.unitName}}</text> font-size: 10px;color: #EE752F;">{{item.weight}}{{item.specificationUnit}}/{{item.unitName}}</text>
<text style="border: 1px #EE752F solid; border-radius: 5px; padding: 0px 8px; <!-- <text style="border: 1px #EE752F solid; border-radius: 5px; padding: 0px 8px;
font-size: 10px;color: #EE752F; margin-left: 10px; margin-right: 10px; ">{{item.remarks}}</text> font-size: 10px;color: #EE752F; margin-left: 10px; margin-right: 10px; ">{{item.remarks}}</text> -->
</view> </view>
@ -137,7 +137,7 @@
<view v-if="notData" <view v-if="notData"
style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 5vw;"> style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 5vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/supplementing.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/supplementing.png"
mode="aspectFill" style="width: 40vw;height: 40vw; "></image> mode="aspectFill" style="width: 40vw;height: 40vw; "></image>
<view <view
style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;"> style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;">
@ -169,9 +169,9 @@
</view> </view>
<view class="bottom" style="margin-top: 10px;"> <view class="bottom" style="margin-top: 10px;padding-bottom: 10px;">
<view style="display: flex;flex-direction: row;align-items: center;margin-left: 20px; "> <!-- <view style="display: flex;flex-direction: row;align-items: center;margin-left: 20px; ">
<view style=" display: flex;flex-direction: row;align-items: center; border: 1px #FF5006 solid;margin-left: 5px;margin-right: 5px;padding: 0px 5px;height: 42px;flex: 1; <view style=" display: flex;flex-direction: row;align-items: center; border: 1px #FF5006 solid;margin-left: 5px;margin-right: 5px;padding: 0px 5px;height: 42px;flex: 1;
display: flex;flex-direction: row;align-items: center;box-sizing: border-box;"> display: flex;flex-direction: row;align-items: center;box-sizing: border-box;">
@ -203,9 +203,9 @@
border: 1px #FF5006 solid; border-top-right-radius: 25px; border-bottom-right-radius: 25px;flex-shrink: 0;margin-right: 20px;" border: 1px #FF5006 solid; border-top-right-radius: 25px; border-bottom-right-radius: 25px;flex-shrink: 0;margin-right: 20px;"
@click="settlement()">去结算</text> @click="settlement()">去结算</text>
</view> </view> -->
<!-- <view style="display: flex;flex-direction: row;align-items: center; justify-content: center;"> <view style="display: flex;flex-direction: row;align-items: center; justify-content: center;">
<view id="bomView" style="display: flex;flex-direction: row;align-items: center;"> <view id="bomView" style="display: flex;flex-direction: row;align-items: center;">
<view <view
@ -213,7 +213,7 @@
温馨提示已订</view> 温馨提示已订</view>
<view <view
style="color: #FF5006;font-size: 15px;height: 15px;line-height: 15px;font-weight: bold;"> style="color: #FF5006;font-size: 15px;height: 15px;line-height: 15px;font-weight: bold;">
{{initWeight}} {{initWeight}}
</view> </view>
<view <view
@ -231,10 +231,10 @@
</view> </view>
</view> </view>
</view> --> </view>
<!-- <view <view
style="display: flex;flex-direction: row; justify-content: center;align-items: center;margin-top: 5px;padding: 0px 10px;"> style="display: flex;flex-direction: row; justify-content: center;align-items: center;margin-top: 5px;padding: 0px 10px;">
<button open-type="share">分享新人有礼</button> <button open-type="share">分享新人有礼</button>
@ -256,7 +256,7 @@
border: 1px #FF5006 solid; border-top-right-radius: 25px; border-bottom-right-radius: 25px;flex-shrink: 0;" border: 1px #FF5006 solid; border-top-right-radius: 25px; border-bottom-right-radius: 25px;flex-shrink: 0;"
@click="settlement()">结算</text> @click="settlement()">结算</text>
</view> --> </view>
</view> </view>
@ -284,10 +284,10 @@
<view class="model" catchtouchmove='preventTouchMove' v-if='showModal'></view> <view class="model" catchtouchmove='preventTouchMove' v-if='showModal'></view>
<view class="modalDlg" catchtouchmove='preventTouchMove' v-if='showModal'> <view class="modalDlg" catchtouchmove='preventTouchMove' v-if='showModal'>
<view style="display: flex;flex-direction: column;justify-content: center;align-items: center;"> <view style="display: flex;flex-direction: column;justify-content: center;align-items: center;">
<image src="https://supervise.yxtsoft.com/lpk/image/newpor_gift.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/newpor_gift.png" mode="aspectFill"
style="margin-left: 5vw;margin-right: 5vw;margin-top: -50px;"></image> style="margin-left: 5vw;margin-right: 5vw;margin-top: -50px;"></image>
<image src="https://supervise.yxtsoft.com/lpk/image/newpor_btn.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/newpor_btn.png" mode="aspectFill"
style="width: 180px;height: 50px;margin-top: 20px;" @click="showGift()"></image> style="width: 180px;height: 50px;margin-top: 20px;" @click="showGift()"></image>
<image src="../../static/close.png" mode="aspectFill" style="width: 28px;height: 28px;margin-top: 10px;" <image src="../../static/close.png" mode="aspectFill" style="width: 28px;height: 28px;margin-top: 10px;"
@ -301,7 +301,7 @@
<view style="display: flex;flex-direction: column; <view style="display: flex;flex-direction: column;
background: #fff; width: 80%; border-radius: 20px; height: 80vw;"> background: #fff; width: 80%; border-radius: 20px; height: 80vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/newpor_top.png" mode="scaleToFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/newpor_top.png" mode="scaleToFill"
style="width: 100%; height: 15vw; flex-shrink: 0;"></image> style="width: 100%; height: 15vw; flex-shrink: 0;"></image>
@ -981,13 +981,13 @@
settlement() { settlement() {
// //
// if (this.page.weight < parseInt(this.data.brandVos[this.selectIndex2].qssl)) { if (this.page.weight < parseInt(this.data.brandVos[this.selectIndex2].qssl)) {
// this.shortToast('' + this.data.brandVos[this.selectIndex2].qssl + '') this.shortToast('满' + this.data.brandVos[this.selectIndex2].qssl + '斤才可定制云菜窖哦,请继续选菜吧。')
// return return
// } }
// this.showPop() this.showPop()
this.saveGoods() // this.saveGoods()
}, },
showPop() { showPop() {
@ -1101,7 +1101,7 @@
// title: '-', // title: '-',
// // // //
// path: '/pages/login/login?data=' + value, // path: '/pages/login/login?data=' + value,
// imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_invite.png', // 5:4 // imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_invite.png', // 5:4
// success: function(res) { // success: function(res) {
// console.log('aaaa', "") // console.log('aaaa', "")
// }, // },
@ -1143,7 +1143,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_invite.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_invite.png', // 5:4
}) })
@ -1293,7 +1293,7 @@
.newpor_bom { .newpor_bom {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/newpor_bom.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/newpor_bom.png);
/* background-image: url(../../static/clound_bj1.png); */ /* background-image: url(../../static/clound_bj1.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
@ -1306,7 +1306,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 50vw; height: 50vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/banner.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/banner.png);
/* background-image: url(../../static/clound_bj1.png); */ /* background-image: url(../../static/clound_bj1.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
@ -1321,7 +1321,7 @@
position: relative; position: relative;
left: 50%; left: 50%;
/* 轮播图总高度 50vw-指示器点的大小12rxp-覆盖的高度15px - 覆盖的到指示器的高度5px */ /* 轮播图总高度 50vw-指示器点的大小12rxp-覆盖的高度15px - 覆盖的到指示器的高度5px */
top: calc(50vw - 20px - 12rpx); top: calc(45vw - 20px - 12rpx);
} }
.swiper /deep/ .wx-swiper-dot { .swiper /deep/ .wx-swiper-dot {

14
pages/home/corporateCard.vue

@ -7,7 +7,7 @@
</NavBar> </NavBar>
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view class="btn" @click="bind"> <view class="btn" @click="bind">
<image src="https://supervise.yxtsoft.com/lpk/image/binding2.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/binding2.png" style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #fff;margin-left: 11px;">绑定企业卡</text> style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #fff;margin-left: 11px;">绑定企业卡</text>
@ -31,10 +31,10 @@
<!-- 礼包图标 总60px --> <!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <view style="flex-shrink: 0;">
<image src="https://supervise.yxtsoft.com/lpk/image/enterpriseNormal.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/enterpriseNormal.png" mode="aspectFill"
v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/enterpriseLose.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/enterpriseLose.png" mode="aspectFill"
v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
</view> </view>
@ -169,7 +169,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 85vw; height: 85vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/home_bj3.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_bj3.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
@ -186,14 +186,14 @@
align-items: center; align-items: center;
height: 13vw; height: 13vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/bindBtn_bj3.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/bindBtn_bj3.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/cardEnterprise.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/cardEnterprise.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);
@ -201,7 +201,7 @@
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/caradLose.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/caradLose.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);

14
pages/home/giftCard.vue

@ -8,7 +8,7 @@
</NavBar> </NavBar>
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view class="btn" @click="bind"> <view class="btn" @click="bind">
<image src="https://supervise.yxtsoft.com/lpk/image/binding2.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/binding2.png" style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #fff;margin-left: 11px;">绑定福礼卡</text> style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #fff;margin-left: 11px;">绑定福礼卡</text>
@ -34,10 +34,10 @@
<!-- 礼包图标 总60px --> <!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <view style="flex-shrink: 0;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftNormal.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftNormal.png" mode="aspectFill"
v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/giftLose.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftLose.png" mode="aspectFill"
v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
</view> </view>
@ -174,7 +174,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 85vw; height: 85vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/home_bj2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_bj2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
@ -191,14 +191,14 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/bindBtn_bj2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/bindBtn_bj2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/cardGift.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/cardGift.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);
@ -206,7 +206,7 @@
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/caradLose.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/caradLose.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);

10
pages/home/myCellar.vue

@ -142,8 +142,8 @@
<view v-if="notData" <view v-if="notData"
style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 10vw;"> style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 10vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/buchongcaijiao.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/buchongcaijiao.png"
style="width: 50vw;height: 50vw;"></image> mode="aspectFit" style="width: 50vw;height: 50vw;"></image>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 15px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 15px;">
<text style="font-size: 14px; color: #666;margin-right: 5px;">您的订单为空,</text> <text style="font-size: 14px; color: #666;margin-right: 5px;">您的订单为空,</text>
<text <text
@ -267,7 +267,7 @@
<view v-if="transferNotData" <view v-if="transferNotData"
style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 5vw;"> style="display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 5vw;">
<image src="https://supervise.yxtsoft.com/lpk/image/supplementing.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/supplementing.png" mode="aspectFit"
style="width: 50vw;height: 50vw;"></image> style="width: 50vw;height: 50vw;"></image>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;">
<text <text
@ -872,7 +872,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_transfer.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_transfer.png', // 5:4
}) })
@ -984,7 +984,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/clound_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/clound_bj1.png);
/* background-image: url(../../static/clound_bj1.png); */ /* background-image: url(../../static/clound_bj1.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;

6
pages/home/myHome.vue

@ -370,7 +370,7 @@
// title: '-', // title: '-',
// // // //
// path: '/pages/login/login?data=' + value, // path: '/pages/login/login?data=' + value,
// imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_invite.png', // 5:4 // imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_invite.png', // 5:4
// success: function(res) { // success: function(res) {
// console.log('aaaa', "") // console.log('aaaa', "")
// }, // },
@ -413,7 +413,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_invite.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_invite.png', // 5:4
}) })
@ -517,7 +517,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 65vw; height: 65vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/my_bj.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/my_bj.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;

14
pages/home/personCard.vue

@ -8,7 +8,7 @@
</NavBar> </NavBar>
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view class="btn" @click="bind"> <view class="btn" @click="bind">
<image src="https://supervise.yxtsoft.com/lpk/image/binding2.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/binding2.png" style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #fff;margin-left: 11px;">绑定个人卡</text> style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #fff;margin-left: 11px;">绑定个人卡</text>
@ -32,10 +32,10 @@
<!-- 礼包图标 总60px --> <!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <view style="flex-shrink: 0;">
<image src="https://supervise.yxtsoft.com/lpk/image/personNormal.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/personNormal.png" mode="aspectFill"
v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/peronLose.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/peronLose.png" mode="aspectFill"
v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="!item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
</view> </view>
@ -174,7 +174,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 85vw; height: 85vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/home_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
@ -191,14 +191,14 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/bindBtn_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/bindBtn_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/carPerson.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/carPerson.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);
@ -206,7 +206,7 @@
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/caradLose.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/caradLose.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
width: calc(100% - 18px); width: calc(100% - 18px);

30
pages/home/pickUpCard.vue

@ -8,14 +8,14 @@
</NavBar> </NavBar>
<view style="display: flex;flex-direction: row;"> <view style="display: flex;flex-direction: row;">
<!-- <view class="btn" @click="bind"> <!-- <view class="btn" @click="bind">
<image src="https://supervise.yxtsoft.com/lpk/image/binding.png" style="width: 20px;height: 20px;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/binding.png" style="width: 20px;height: 20px;">
</image> </image>
<text <text
style="height: 45px;line-height: 45px;font-size: 17px;font-weight: 600; text-align: center;color: #FF7100;margin-left: 11px;">绑定新卡</text> style="height: 45px;line-height: 45px;font-size: 17px;font-weight: 600; text-align: center;color: #FF7100;margin-left: 11px;">绑定新卡</text>
</view> --> </view> -->
<view style="flex: 1;"></view> <view style="flex: 1;"></view>
<!-- <text style="color: #fff;margin-top: 60vw; margin-right: 25px;" @click="bind">绑定新卡</text> --> <!-- <text style="color: #fff;margin-top: 60vw; margin-right: 25px;" @click="bind">绑定新卡</text> -->
<image @click="bind" src="https://supervise.yxtsoft.com/lpk/image/bind2.png" <image @click="bind" src="https://ordermall.yxtsoft.com/lpkui/image/bind2.png"
style="margin-top: 60vw; margin-right: 25px;width: 20px;height: 20px;"> style="margin-top: 60vw; margin-right: 25px;width: 20px;height: 20px;">
</image> </image>
</view> </view>
@ -42,10 +42,10 @@
<!-- 礼包图标 总60px --> <!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <view style="flex-shrink: 0;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_family.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_family.png" mode="aspectFill"
v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" /> v-show="item.showBtn" style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/home_notFamily.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_notFamily.png"
mode="aspectFill" v-show="!item.showBtn" mode="aspectFill" v-show="!item.showBtn"
style="width: 50px;height: 50px;margin-right: 10px;" /> style="width: 50px;height: 50px;margin-right: 10px;" />
</view> </view>
@ -116,11 +116,11 @@
<!-- 礼包图标 总60px --> <!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <view style="flex-shrink: 0;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png"
mode="aspectFill" v-show="item.showBtn" mode="aspectFill" v-show="item.showBtn"
style="width: 50px;height: 50px;margin-right: 10px;" /> style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/home_notAffection.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_notAffection.png"
mode="aspectFill" v-show="!item.showBtn" mode="aspectFill" v-show="!item.showBtn"
style="width: 50px;height: 50px;margin-right: 10px;" /> style="width: 50px;height: 50px;margin-right: 10px;" />
</view> </view>
@ -193,11 +193,11 @@
<!-- 礼包图标 总60px --> <!-- 礼包图标 总60px -->
<view style="flex-shrink: 0;"> <view style="flex-shrink: 0;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_enterprise.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_enterprise.png"
mode="aspectFill" v-show="item.showBtn" mode="aspectFill" v-show="item.showBtn"
style="width: 50px;height: 50px;margin-right: 10px;" /> style="width: 50px;height: 50px;margin-right: 10px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/home_notEnterprise.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_notEnterprise.png"
mode="aspectFill" v-show="!item.showBtn" mode="aspectFill" v-show="!item.showBtn"
style="width: 50px;height: 50px;margin-right: 10px;" /> style="width: 50px;height: 50px;margin-right: 10px;" />
</view> </view>
@ -414,7 +414,7 @@
/* height: 126.66vw; */ /* height: 126.66vw; */
height: 85vw; height: 85vw;
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/home_bj1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_bj1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
@ -431,7 +431,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
/* 加载背景图 */ /* 加载背景图 */
/* background-image: url(https://supervise.yxtsoft.com/lpk/image/bindBtn_bj1.png); */ /* background-image: url(https://ordermall.yxtsoft.com/lpkui/image/bindBtn_bj1.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
/* background-size: 100% 100%; */ /* background-size: 100% 100%; */
} }
@ -446,7 +446,7 @@
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
/* background-image: url(https://supervise.yxtsoft.com/lpk/image/home_itemBj_lose.png); */ /* background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_itemBj_lose.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
/* background-size: 100% 100%; */ /* background-size: 100% 100%; */
/* width: calc(100% - 5px); */ /* width: calc(100% - 5px); */
@ -460,7 +460,7 @@
.item3 { .item3 {
/* 加载背景图 */ /* 加载背景图 */
/* background-image: url(https://supervise.yxtsoft.com/lpk/image/home_itemBj_affection.png); */ /* background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_itemBj_affection.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
/* background-size: 100% 100%; */ /* background-size: 100% 100%; */
/* width: calc(100% - 5px); */ /* width: calc(100% - 5px); */
@ -473,7 +473,7 @@
.item4 { .item4 {
/* 加载背景图 */ /* 加载背景图 */
/* background-image: url(https://supervise.yxtsoft.com/lpk/image/home_itemBj_lose.png); */ /* background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_itemBj_lose.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
/* background-size: 100% 100%; */ /* background-size: 100% 100%; */
/* width: calc(100% - 5px); */ /* width: calc(100% - 5px); */
@ -488,7 +488,7 @@
.item5 { .item5 {
/* 加载背景图 */ /* 加载背景图 */
/* background-image: url(https://supervise.yxtsoft.com/lpk/image/home_itemBj_enterprise.png); */ /* background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_itemBj_enterprise.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
/* background-size: 100% 100%; */ /* background-size: 100% 100%; */
/* width: calc(100% - 5px); */ /* width: calc(100% - 5px); */
@ -502,7 +502,7 @@
.item6 { .item6 {
/* 加载背景图 */ /* 加载背景图 */
/* background-image: url(https://supervise.yxtsoft.com/lpk/image/home_itemBj_lose.png); */ /* background-image: url(https://ordermall.yxtsoft.com/lpkui/image/home_itemBj_lose.png); */
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
/* background-size: 100% 100%; */ /* background-size: 100% 100%; */
/* width: calc(100% - 5px); */ /* width: calc(100% - 5px); */

24
pages/home/recordList.vue

@ -10,10 +10,10 @@
style="display: flex;flex-direction: row;padding: 25px 15px; "> style="display: flex;flex-direction: row;padding: 25px 15px; ">
<view style="margin-left: 10px; margin-right: 10px;"> <view style="margin-left: 10px; margin-right: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/personNormal.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/personNormal.png" mode="aspectFill"
v-show="item.state=='未提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='未提货'" style="width: 50px;height: 50px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/peronLose.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/peronLose.png" mode="aspectFill"
v-show="item.state=='已提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='已提货'" style="width: 50px;height: 50px;" />
</view> </view>
@ -67,10 +67,10 @@
<view style="margin-left: 10px; margin-right: 10px;"> <view style="margin-left: 10px; margin-right: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/giftNormal.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftNormal.png" mode="aspectFill"
v-show="item.state=='未提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='未提货'" style="width: 50px;height: 50px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/giftLose.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/giftLose.png" mode="aspectFill"
v-show="item.state=='已提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='已提货'" style="width: 50px;height: 50px;" />
</view> </view>
@ -121,10 +121,10 @@
<view style="margin-left: 10px; margin-right: 10px;"> <view style="margin-left: 10px; margin-right: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/enterpriseNormal.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/enterpriseNormal.png" mode="aspectFill"
v-show="item.state=='未提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='未提货'" style="width: 50px;height: 50px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/enterpriseLose.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/enterpriseLose.png" mode="aspectFill"
v-show="item.state=='已提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='已提货'" style="width: 50px;height: 50px;" />
</view> </view>
@ -226,42 +226,42 @@
<style> <style>
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_perosn_item1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_perosn_item1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_person_item2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_person_item2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item3 { .item3 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_gift_item3.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_gift_item3.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item4 { .item4 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_gift_item4.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_gift_item4.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item5 { .item5 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_enterprise_item5.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_enterprise_item5.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item6 { .item6 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_enterprise_item6.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_enterprise_item6.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

24
pages/home/recordList2.vue

@ -12,10 +12,10 @@
<view style="margin-left: 10px; margin-right: 10px;"> <view style="margin-left: 10px; margin-right: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_family.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_family.png" mode="aspectFill"
v-show="item.state=='未提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='未提货'" style="width: 50px;height: 50px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/home_notFamily.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_notFamily.png" mode="aspectFill"
v-show="item.state=='已提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='已提货'" style="width: 50px;height: 50px;" />
</view> </view>
@ -69,10 +69,10 @@
<view style="margin-left: 10px; margin-right: 10px;"> <view style="margin-left: 10px; margin-right: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_affection.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_affection.png" mode="aspectFill"
v-show="item.state=='未提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='未提货'" style="width: 50px;height: 50px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/home_notAffection.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_notAffection.png" mode="aspectFill"
v-show="item.state=='已提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='已提货'" style="width: 50px;height: 50px;" />
</view> </view>
@ -123,10 +123,10 @@
<view style="margin-left: 10px; margin-right: 10px;"> <view style="margin-left: 10px; margin-right: 10px;">
<image src="https://supervise.yxtsoft.com/lpk/image/home_enterprise.png" mode="aspectFill" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_enterprise.png" mode="aspectFill"
v-show="item.state=='未提货'" style="width: 50px;height: 50px;" /> v-show="item.state=='未提货'" style="width: 50px;height: 50px;" />
<image src="https://supervise.yxtsoft.com/lpk/image/home_notEnterprise.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/home_notEnterprise.png"
mode="aspectFill" v-show="item.state=='已提货'" style="width: 50px;height: 50px;" /> mode="aspectFill" v-show="item.state=='已提货'" style="width: 50px;height: 50px;" />
</view> </view>
@ -234,7 +234,7 @@
<style> <style>
.item { .item {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_family_item1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_family_item1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
@ -242,14 +242,14 @@
.item2 { .item2 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_family_item2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_family_item2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item3 { .item3 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_affection_item1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_affection_item1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
@ -257,21 +257,21 @@
.item4 { .item4 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_affection_item2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_affection_item2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item5 { .item5 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_enterprise_item1.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_enterprise_item1.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }
.item6 { .item6 {
/* 加载背景图 */ /* 加载背景图 */
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_enterprise_item2.png); background-image: url(https://ordermall.yxtsoft.com/lpkui/image/record_enterprise_item2.png);
/* 让背景图基于容器大小伸缩 */ /* 让背景图基于容器大小伸缩 */
background-size: 100% 100%; background-size: 100% 100%;
} }

5
pages/login/login.vue

@ -92,6 +92,9 @@
console.log("middleware>>>>>>>>>>>>", _this.middleware); console.log("middleware>>>>>>>>>>>>", _this.middleware);
if (_this.middleware != null) { if (_this.middleware != null) {
_this.middleware.params.customerSid = res.data.data
.sid
// //
if ('share' == _this.middleware.functionName) { if ('share' == _this.middleware.functionName) {
uni.reLaunch({ uni.reLaunch({
@ -103,8 +106,6 @@
uni.reLaunch({ uni.reLaunch({
url: _this.middleware.url url: _this.middleware.url
}); });
// _this.middleware.params.customerSid = res.data.data
// .sid
// _this.$api.pickUpCardBind(_this.middleware.params) // _this.$api.pickUpCardBind(_this.middleware.params)
// .then((resp) => { // .then((resp) => {

2
pages/me/makeInvoice.vue

@ -177,7 +177,7 @@
<view v-if="notData" style="display: flex;flex-direction: column;align-items: center;"> <view v-if="notData" style="display: flex;flex-direction: column;align-items: center;">
<image src="https://supervise.yxtsoft.com/lpk/image/notData.png" mode="aspectFit" <image src="https://ordermall.yxtsoft.com/lpkui/image/notData.png" mode="aspectFit"
style="width: 100px;height: 100px;"></image> style="width: 100px;height: 100px;"></image>
<view style="display: flex;flex-direction: column;align-items: center;margin-top: 10px;"> <view style="display: flex;flex-direction: column;align-items: center;margin-top: 10px;">
<text style="font-size: 14px; color: #999;margin-right: 5px;">暂无数据</text> <text style="font-size: 14px; color: #999;margin-right: 5px;">暂无数据</text>

2
pages/records/recommendRecords.vue

@ -4,7 +4,7 @@
<NavBar ref="nav" navTitle=" " :showIcon="true"> <NavBar ref="nav" navTitle=" " :showIcon="true">
</NavBar> </NavBar>
<image src="https://supervise.yxtsoft.com/lpk/image/recommend_icon.png" style="width: 100%;height: 60vw;"> <image src="https://ordermall.yxtsoft.com/lpkui/image/recommend_icon.png" style="width: 100%;height: 60vw;">
</image> </image>
<view style="margin-bottom: 50px; min-height: 70vh; background: #fff; margin-left: 15px;margin-right: 15px;margin-top: -20vw; <view style="margin-bottom: 50px; min-height: 70vh; background: #fff; margin-left: 15px;margin-right: 15px;margin-top: -20vw;

4
pages/records/reservationRecords3.vue

@ -62,7 +62,7 @@
<view class="item-bom_right"> <view class="item-bom_right">
<image src="https://supervise.yxtsoft.com/lpk/image/daiticai.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/daiticai.png"
style="width: 80px; height: 80px;z-index: 100;border-radius: 20px;"> style="width: 80px; height: 80px;z-index: 100;border-radius: 20px;">
</image> </image>
@ -93,7 +93,7 @@
<view style=" <view style="
height: 30px;margin-top: 5px;"> height: 30px;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/reservationRecords_icon1.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/reservationRecords_icon1.png"
style="width: 100%;height: 100%;" mode="scaleToFill"></image> style="width: 100%;height: 100%;" mode="scaleToFill"></image>
</view> </view>

4
pages/records/reservationRecords4.vue

@ -72,7 +72,7 @@
width: 104px; height: 104px;line-height: 104px; text-align: center; background: #666; width: 104px; height: 104px;line-height: 104px; text-align: center; background: #666;
position: absolute;border-radius: 20px;color: #fff;">已提货</text> position: absolute;border-radius: 20px;color: #fff;">已提货</text>
<image src="https://supervise.yxtsoft.com/lpk/image/daiticai.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/daiticai.png"
style="width: 104px; height: 104px;z-index: 100;border-radius: 20px;"> style="width: 104px; height: 104px;z-index: 100;border-radius: 20px;">
</image> </image>
@ -82,7 +82,7 @@
<view style=" <view style="
height: 30px;margin-top: 5px;"> height: 30px;margin-top: 5px;">
<image src="https://supervise.yxtsoft.com/lpk/image/reservationRecords_icon2.png" <image src="https://ordermall.yxtsoft.com/lpkui/image/reservationRecords_icon2.png"
style="width: 100%;height: 100%;" mode="scaleToFill"></image> style="width: 100%;height: 100%;" mode="scaleToFill"></image>
</view> </view>

2
pages/records/transferRecords.vue

@ -94,7 +94,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_transfer.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/share_transfer.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },

2
pages/records/transferRecords2.vue

@ -93,7 +93,7 @@
title: '汇融农链-云菜窖', title: '汇融农链-云菜窖',
// //
path: '/pages/login/login?data=' + value, path: '/pages/login/login?data=' + value,
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', // 5:4 imageUrl: 'https://ordermall.yxtsoft.com/lpkui/image/shareAffeection.png', // 5:4
success: function(res) { success: function(res) {
console.log('aaaa', "分享成功") console.log('aaaa', "分享成功")
}, },

Loading…
Cancel
Save