Browse Source

11111

master
guoxing 1 year ago
parent
commit
0fe154778d
  1. 9
      pages/good/transfer.vue
  2. 15
      pages/home/myCellar.vue
  3. 48
      pages/records/reservationRecords3.vue
  4. 36
      pages/records/reservationRecords4.vue
  5. BIN
      static/dingwei.png

9
pages/good/transfer.vue

@ -1,7 +1,7 @@
<template> <template>
<view style="width: 100%;height: 100%;background: #FFA35A;display: flex;flex-direction: column;"> <view style="width: 100%;height: 100%;background: #FFA35A;display: flex;flex-direction: column;">
<!-- <NavBar ref="nav" navTitle="转赠亲友" :showIcon="true" :supportChange="false"> <!-- <NavBar ref="nav" navTitle="转赠亲友" :showIcon="true" :supportChange="false">
</NavBar> --> </NavBar> -->
<view <view
@ -45,7 +45,7 @@
<view style="display: flex;flex-direction: row;align-items: center;justify-content: space-between; margin-top: 15px; <view style="display: flex;flex-direction: row;align-items: center;justify-content: space-between; margin-top: 15px;
margin-right: 15px;"> margin-right: 15px;">
<view style="display: flex;flex-direction: row;align-items: center;"> <view style="display: flex;flex-direction: row;align-items: center;">
<text style="font-size: 10px;color: #FF5006;">剩余</text> <text style="font-size: 10px;color: #FF5006;">存量</text>
<text <text
style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}{{item.unitName}}</text> style="font-size: 14px;color: #FF5006;">{{item.goodsNumber}}{{item.unitName}}</text>
</view> </view>
@ -96,7 +96,7 @@
<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;
padding-left: 15px;padding-right: 15px;"> padding-left: 15px;padding-right: 15px;">
<text style="font-size: 14px;margin-right: 10px;font-weight: 600;">转赠留言</text> <text style="font-size: 14px;margin-right: 10px;font-weight: 600;">转赠留言</text>
<input placeholder="可以写下您对亲友的祝福" <input placeholder="可以写下您对亲友的祝福"
style="font-size: 30rpx;flex: 1;background: #F2F2F2;border-radius: 5px;height: 40px;line-height: 40px;padding-left: 10px;padding-right: 10px;" style="font-size: 30rpx;flex: 1;background: #F2F2F2;border-radius: 5px;height: 40px;line-height: 40px;padding-left: 10px;padding-right: 10px;"
:value="transferInfo.remarks" @input="onKeyInput" /> :value="transferInfo.remarks" @input="onKeyInput" />
</view> </view>
@ -208,9 +208,8 @@
// console.log("=========0", params); // console.log("=========0", params);
_this.$api.transSubmission(params).then((resp) => { _this.$api.transSubmission(params).then((resp) => {
uni.navigateBack()
// console.log("=========", resp); // console.log("=========", resp);
_this.showModal3 = false
let shareData = JSON.stringify({ let shareData = JSON.stringify({
params: { params: {

15
pages/home/myCellar.vue

@ -165,7 +165,7 @@
</loading-state> </loading-state>
<!-- 转赠弹框 --> <!-- 转赠弹框 -->
<view class="model" catchtouchmove='preventTouchMove' v-if='showModal3' @click="colseDialog3()"></view> <view class="model" catchtouchmove='preventTouchMove' v-if='showModal3' @click="colseDialog3()"></view>
<view class="modalDlg3" catchtouchmove='preventTouchMove' v-if='showModal3'> <view class="modalDlg3" catchtouchmove='preventTouchMove' v-if='showModal3'>
@ -292,7 +292,8 @@
</view> </view>
<text style="color: #666; font-size: 13px; width: 95%;text-align:right;margin-top: 20px;">{{noticeInfo.releaseTime}}</text> <text
style="color: #666; font-size: 13px; width: 95%;text-align:right;margin-top: 20px;">{{noticeInfo.releaseTime}}</text>
<view <view
style="flex-shrink: 0;display: flex;flex-direction: row;align-items: center;justify-content: center;margin-top: 20px;"> style="flex-shrink: 0;display: flex;flex-direction: row;align-items: center;justify-content: center;margin-top: 20px;">
@ -374,7 +375,7 @@
created() { created() {
// console.log("==========", getApp().globalData.isNewUser); // console.log("==========", getApp().globalData.isNewUser);
}, },
onShow() { onShow() {
if (typeof this.$mp.page.getTabBar === 'function' && this.$mp.page.getTabBar()) { if (typeof this.$mp.page.getTabBar === 'function' && this.$mp.page.getTabBar()) {
@ -620,7 +621,7 @@
} }
}, },
colseDialog3() { colseDialog3() {
this.showModal3 = false this.showModal3 = false
}, },
@ -629,6 +630,8 @@
}, },
onShareAppMessage: function(res) { onShareAppMessage: function(res) {
_this.showModal3 = false
let _this = this let _this = this
const promise = new Promise(resolve => { const promise = new Promise(resolve => {
// //
@ -659,7 +662,6 @@
_this.$api.transSubmission(params).then((resp) => { _this.$api.transSubmission(params).then((resp) => {
// console.log("=========", resp); // console.log("=========", resp);
_this.showModal3 = false
let shareData = JSON.stringify({ let shareData = JSON.stringify({
params: { params: {
@ -702,7 +704,6 @@
</script> </script>
<style> <style>
.swiper-box { .swiper-box {
margin-top: -55px; margin-top: -55px;
height: 50rpx; height: 50rpx;
@ -722,7 +723,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
color: #E26040; color: #E26040;
font-size: 10px; font-size: 10px;
} }
button { button {

48
pages/records/reservationRecords3.vue

@ -20,28 +20,36 @@
<text class="item-top-state">{{item.stateValue}}</text> <text class="item-top-state">{{item.stateValue}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-left: 16px;margin-right: 16px;margin-top: 15px;"> <view
<text style="font-size: 16px;margin-right: 8px;flex: 1;margin-right: 10px;">{{item.storeName}}</text> style="display: flex;flex-direction: row;align-items: center;margin-left: 16px;margin-right: 16px;margin-top: 15px;">
<text
style="font-size: 16px;margin-right: 8px;flex: 1;margin-right: 15px;">{{item.storeName}}</text>
<view style="display: flex;flex-direction: row;align-items: center;"
@click="makePhoneCall(item.linkPhone)">
<image src="../../static/phone-2.png" style="width: 20px;height: 20px;margin-right: 5px;">
</image>
<text>咨询电话</text>
</view>
</view> </view>
<view class="item-bom" style="margin-left: 16px;margin-right: 16px;">
<view
style="display: flex;flex-direction: row;align-items: center;margin-left: 16px;margin-right: 16px;margin-top: 6px;">
<image src="../../static/dingwei.png" style="width: 20px;height: 20px;margin-right: 5px;" mode="aspectFit">
</image>
<text style="font-size: 12px;color: #333;">{{item.address}}</text>
</view>
<view class="item-bom" style="margin-left: 16px;margin-right: 16px;margin-top: 10px;">
<view class="item-bom-left"> <view class="item-bom-left">
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<view style="display: flex;flex-direction: row;align-items: center;" @click="makePhoneCall(item.linkPhone)">
<image src="../../static/phone-2.png" style="width: 20px;height: 20px;margin-right: 5px;"></image>
<text>咨询电话</text>
</view>
<!-- <view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<image src="../../static/logo.png" style="width: 15px;height: 15px;margin-right: 5px;">
</image>
<text style="font-size: 12px;color: #999; margin-right: 5px;">提菜日期</text> <text style="font-size: 12px;color: #999; margin-right: 5px;">提菜日期</text>
<text style="font-size: 12px;color: #FF5006;">{{item.date}}</text> <text style="font-size: 12px;color: #FD6D2B;">{{item.reserveDate}}</text>
</view> --> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 16px;"> <view style="display: flex;flex-direction: row;align-items: center;margin-top: 16px;">
<text style="font-size: 12px;color: #999; margin-right: 5px;">提菜人</text> <text style="font-size: 12px;color: #999; margin-right: 5px;">提菜人</text>
@ -49,12 +57,6 @@
<text style="font-size: 12px;color: #333; ">{{item.userPhone}}</text> <text style="font-size: 12px;color: #333; ">{{item.userPhone}}</text>
</view> </view>
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
<text style="font-size: 12px;color: #999; margin-right: 5px;">预约日期</text>
<text style="font-size: 12px;color: #333;">{{item.reserveDate}}</text>
</view>
</view> </view>
<view class="item-bom_right"> <view class="item-bom_right">

36
pages/records/reservationRecords4.vue

@ -22,29 +22,27 @@
<view <view
style="display: flex;flex-direction: row;align-items: center;margin-left: 16px;margin-right: 16px;margin-top: 15px;"> style="display: flex;flex-direction: row;align-items: center;margin-left: 16px;margin-right: 16px;margin-top: 15px;">
<text <text
style="font-size: 16px;margin-right: 8px;color: #bbb;flex: 1;margin-right: 10px;">{{item.storeName}}</text> style="font-size: 16px;margin-right: 8px;color: #bbb;flex: 1;margin-right: 15px;">{{item.storeName}}</text>
<view style="display: flex;flex-direction: row;align-items: center;"
@click="makePhoneCall(item.linkPhone)">
<image src="../../static/phone-2.png" style="width: 20px;height: 20px;margin-right: 5px;">
</image>
<text style="">咨询电话</text>
</view>
</view> </view>
<view
<view class="item-bom" style="margin-left: 16px;margin-right: 16px;margin-top: 8px;"> style="display: flex;flex-direction: row;align-items: center;margin-left: 16px;margin-right: 16px;margin-top: 6px;">
<image src="../../static/dingwei.png" style="width: 20px;height: 20px;margin-right: 5px;"
<view class="item-bom-left"> mode="aspectFit">
</image>
<text style="font-size: 12px;color: #BBBBBB;">{{item.address}}</text>
</view>
<view style="display: flex;flex-direction: row;align-items: center;" <view class="item-bom" style="margin-left: 16px;margin-right: 16px;margin-top: 10px;">
@click="makePhoneCall(item.linkPhone)">
<image src="../../static/phone-1.png"
style="width: 20px;height: 20px;margin-right: 5px;"></image>
<text style="color: #bbb;">咨询电话</text>
</view>
<!-- <view style="display: flex;flex-direction: row;align-items: center;"> <view class="item-bom-left">
<text
style="font-size: 16px;margin-right: 8px;color: #BBBBBB;">{{item.storeName}}</text>
<image src="../../static/phone-1.png" style="width: 20px;height: 20px;"
@click="makePhoneCall(item.linkPhone)"></image>
</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="../../static/time.png" style="width: 15px;height: 15px;margin-right: 5px;"> <image src="../../static/time.png" style="width: 15px;height: 15px;margin-right: 5px;">
@ -72,7 +70,7 @@
<text style="opacity: 0.7;font-size: 18px;font-weight: 800;font-family: sans-serif;z-index: 101; <text style="opacity: 0.7;font-size: 18px;font-weight: 800;font-family: sans-serif;z-index: 101;
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://supervise.yxtsoft.com/lpk/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;">

BIN
static/dingwei.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Loading…
Cancel
Save