Commit 7892104e by huahua

提交

parent c94f60a4
......@@ -7,7 +7,6 @@
<view v-if="languagecenter"
style="position: fixed; z-index: 9998; top: 0; bottom: 0; margin: auto;"
>
<view @click="cancelLanguage()"
......
......@@ -141,7 +141,6 @@
margin: auto;"
:style="{width: (data.editorWidth + 1 ) +'px',height: (data.editorHeight + 2 ) +'px'}">
</image>
<image :src="data.bgImage + '?x-oss-process=image/resize,lfit,w_400' " mode="aspectFit"
@load="loadbgImage"
style="position: absolute;
......@@ -1520,7 +1519,6 @@
return;
}
let data = {
s: 'Order.create',
type: type, //1:配送版,2:单机版,3:自助版
......@@ -1797,8 +1795,7 @@
let ratioheight = (this.data.editorHeight * this.mix_scale) / image.height
//width = this.data.editorWidth * this.mix_scale
//height = image.height * ratiowidth
//if (ratio >= 1) { //长方形
//if (ratio >= 1) { //长方形
//width = this.data.editorWidth * this.mix_scale * resultmix_scale
//height = image.height * ratiowidth * resultmix_scale
// } else if (ratio < 1) { //长高方形
......@@ -3081,10 +3078,8 @@
let ratio = image.width / image.height
let ratiowidth = (_this.data.editorWidth * _this.mix_scale) / image.width
let ratioheight = (_this.data.editorHeight * _this.mix_scale) / image.height
height = _this.data.editorHeight * _this.mix_scale
width = image.width * ratioheight
//width = _this.data.editorWidth * _this.mix_scale
//height = image.height * ratiowidth
let index = items.length;
......
<template>
<view class="content" v-if="longState" :style="{width:$tool.isPc()?$base.isPcWidth + 'px':'100%'}"
style="margin: auto;"
>
style="margin: auto;">
<!-- 自定义头部 -->
<view @click="back()" style="width: 100%; height: 120upx; ">
<image src="../../static/icon_more_left.png" mode="aspectFit"
......
......@@ -195,6 +195,10 @@
this.designer = designer
if (designer.status.value == 1) {
this.clearIntervalTime()
/*uni.navigateTo({
url: '../mine/self_help_payment_details?orderId=' + designer.order_id +
'&type=' + this.key + '&machine_id=' + this.queryPage.machine_id
}) */
} else {
if (this.sighstate == true) return;
this.sighstate = true
......
......@@ -57,9 +57,6 @@
</view>
<!--选择支付 -->
<uni-popup ref="showPayChange" type="center" style="position: fixed; z-index: 9999; ">
<view
......@@ -88,7 +85,6 @@
{{$i18n.messages[$i18n.locale]['扫码支付']}}
</view>
<image :src="qrCodeSrc" style="
height: 350upx;
width: 350upx;
......@@ -98,7 +94,6 @@
</view>
</uni-popup>
</view>
</template>
......@@ -334,10 +329,6 @@
} else {
this.generateQRCode(url_pay)
}
//console.log(result)
/* let url_pay = result.data.link
window.location.href = url_pay */
}).catch(err => {
uni.hideLoading();
uni.showToast({
......@@ -411,26 +402,21 @@
}
},
//获取库存与优惠券信息
getMachineStock() {
homeservice.queryListPhone({
s: 'Machine.getMachineStock',
machine_id: this.machine_id,
// key: this.tabletext ? 3 : 1
key: "3"
}).then(result => {
console.log(result)
this.coupon = result.coupon
this.stock = result.stock
// 读出锁库存储存信息
//读出锁库存储存信息
this.sizetext_id = this.$base.lockInventory.id
this.sizetext = this.$base.lockInventory.goods_size
this.sizestock = this.$base.lockInventory.stock
this.channel_no = this.$base.lockInventory.channel_no
this.dict_id = this.$base.lockInventory.dict_id
}).catch(err => {
//uni.showToast({title: err.msg,icon: 'none'});
});
......
......@@ -181,5 +181,5 @@
"处理失败!图片中无清晰的真人头像":"画像にははっきりした実物の顔がない",
"人像抠图":"フィギュアけち",
"色彩增强":"カラーブースト",
"扫码支付":"Scansiona il codice per pagare"
"扫码支付":"コードをスキャンして支払う"
}
......@@ -181,5 +181,5 @@
"处理失败!图片中无清晰的真人头像":"На картине нет четкой головы. ",
"人像抠图":"Человеческие фигуры. ",
"色彩增强":"Улучшение цвета ",
"扫码支付":"Digitalizar o código para pagar"
"扫码支付":"Сканируйте код для оплаты"
}
{
"语言": "泰语",
"排队列表":"รายการคิว",
"定制手机壳":"กรณีโทรศัพท์มือถือที่กำหนดเอง",
"绘制成功":"วาดสำเร็จ",
"定制手机壳":"เคสโทรศัพท์มือถือที่ออกแบบเองได้",
"绘制成功":"วาดได้สำเร็จ",
"绘制失败":"การวาดล้มเหลว",
"登录文本":"เข้าสู่ระบบข้อความ",
"登录文本":"ข้อความเข้าสู่ระบบ",
"请输入您的手机号":"ป้อนหมายเลขโทรศัพท์มือถือของคุณ",
"请输入登录密码":"ป้อนรหัสผ่านเข้าสู่ระบบ",
"登录":"เข้าสู่ระบบ",
"正在登录中":"เข้าสู่ระบบ",
"登陆成功":"ความสำเร็จในการลงจอด",
"登陆成功":"เข้าสู่ระบบสำเร็จ",
"自动登录":"เข้าสู่ระบบอัตโนมัติ",
"手机号码格式不正确":"รูปแบบหมายเลขโทรศัพท์มือถือไม่ถูกต้อง",
"手机号码格式不正确":"รูปแบบตัวเลขไม่ถูกต้อง",
"手机壁纸":"วอลล์เปเปอร์",
"贴图素材":"สติ๊กเกอร์",
"上传图片":"อัพโหลด",
"添加文字":"คำศัพท์",
"上传图片":"อัพโหลดรูปภาพ",
"添加文字":"เพิ่มข้อความ",
"添加涂鸦":"กราฟฟิตี",
"移除图片":"ลบ",
"清空底色":"ล้าง",
......
......@@ -181,5 +181,5 @@
"处理失败!图片中无清晰的真人头像":"Resimde açık gerçek kişin in avatar ı yok",
"人像抠图":"Çizgi kesme",
"色彩增强":"Renk Yükselmesi",
"扫码支付":"สแกนรหัสเพื่อชำระเงิน"
"扫码支付":"Ödemek için kodu tarayın"
}
......@@ -180,5 +180,6 @@
"人像抠图":"人像抠图",
"色彩增强":"色彩增强",
"正在等待付款成功的通知":"正在等待付款成功的通知",
"刷新":"刷新"
"刷新":"刷新",
"扫码支付":"扫码支付"
}
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>Customize Phone case</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.b920293a.js></script><script src=/static/js/index.63c97dad.js></script></body></html>
\ No newline at end of file
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.a1725f63.js></script><script src=/static/js/index.35f804d5.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"语言": "泰语",
"排队列表":"รายการคิว",
"定制手机壳":"กรณีโทรศัพท์มือถือที่กำหนดเอง",
"绘制成功":"วาดสำเร็จ",
"定制手机壳":"เคสโทรศัพท์มือถือที่ออกแบบเองได้",
"绘制成功":"วาดได้สำเร็จ",
"绘制失败":"การวาดล้มเหลว",
"登录文本":"เข้าสู่ระบบข้อความ",
"登录文本":"ข้อความเข้าสู่ระบบ",
"请输入您的手机号":"ป้อนหมายเลขโทรศัพท์มือถือของคุณ",
"请输入登录密码":"ป้อนรหัสผ่านเข้าสู่ระบบ",
"登录":"เข้าสู่ระบบ",
"正在登录中":"เข้าสู่ระบบ",
"登陆成功":"ความสำเร็จในการลงจอด",
"登陆成功":"เข้าสู่ระบบสำเร็จ",
"自动登录":"เข้าสู่ระบบอัตโนมัติ",
"手机号码格式不正确":"รูปแบบหมายเลขโทรศัพท์มือถือไม่ถูกต้อง",
"手机号码格式不正确":"รูปแบบตัวเลขไม่ถูกต้อง",
"手机壁纸":"วอลล์เปเปอร์",
"贴图素材":"สติ๊กเกอร์",
"上传图片":"อัพโหลด",
"添加文字":"คำศัพท์",
"上传图片":"อัพโหลดรูปภาพ",
"添加文字":"เพิ่มข้อความ",
"添加涂鸦":"กราฟฟิตี",
"移除图片":"ลบ",
"清空底色":"ล้าง",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -32,7 +32,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
var lyzmldatepicker = function lyzmldatepicker() {
__webpack_require__.e(/*! require.ensure | components/lyzml-datepicker/lyzml-datepicker */ "components/lyzml-datepicker/lyzml-datepicker").then((function () {
return resolve(__webpack_require__(/*! ./components/lyzml-datepicker/lyzml-datepicker.vue */ 421));
return resolve(__webpack_require__(/*! ./components/lyzml-datepicker/lyzml-datepicker.vue */ 449));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
_vue.default.use(_elementUi.default);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -312,17 +312,17 @@ var _homeservice = _interopRequireDefault(__webpack_require__(/*! @/service/home
//
var uniPopup = function uniPopup() {
__webpack_require__.e(/*! require.ensure | pages/index/common/uni-popup/uni-popup */ "pages/index/common/uni-popup/uni-popup").then((function () {
return resolve(__webpack_require__(/*! ../index/common/uni-popup/uni-popup.vue */ 447));
return resolve(__webpack_require__(/*! ../index/common/uni-popup/uni-popup.vue */ 475));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var NumSlider = function NumSlider() {
__webpack_require__.e(/*! require.ensure | pages/index/assembly/NumSlider */ "pages/index/assembly/NumSlider").then((function () {
return resolve(__webpack_require__(/*! ./assembly/NumSlider.vue */ 490));
return resolve(__webpack_require__(/*! ./assembly/NumSlider.vue */ 518));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var myhead = function myhead() {
__webpack_require__.e(/*! require.ensure | pages/index/head/head */ "pages/index/head/head").then((function () {
return resolve(__webpack_require__(/*! ../index/head/head.vue */ 433));
return resolve(__webpack_require__(/*! ../index/head/head.vue */ 461));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var _default = {
......
......@@ -101,7 +101,7 @@ var components
try {
components = {
uniSwiperDot: function () {
return __webpack_require__.e(/*! import() | components/uni-swiper-dot/uni-swiper-dot */ "components/uni-swiper-dot/uni-swiper-dot").then(__webpack_require__.bind(null, /*! @/components/uni-swiper-dot/uni-swiper-dot.vue */ 426))
return __webpack_require__.e(/*! import() | components/uni-swiper-dot/uni-swiper-dot */ "components/uni-swiper-dot/uni-swiper-dot").then(__webpack_require__.bind(null, /*! @/components/uni-swiper-dot/uni-swiper-dot.vue */ 454))
},
}
} catch (e) {
......@@ -397,24 +397,30 @@ var _logoservice = _interopRequireDefault(__webpack_require__(/*! @/service/logo
//
//
//
//
//
//
//
//
//
var myhead = function myhead() {
__webpack_require__.e(/*! require.ensure | pages/index/head/head */ "pages/index/head/head").then((function () {
return resolve(__webpack_require__(/*! ./head/head.vue */ 433));
return resolve(__webpack_require__(/*! ./head/head.vue */ 461));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var switchLanguage = function switchLanguage() {
__webpack_require__.e(/*! require.ensure | pages/index/assembly/switchLanguage */ "pages/index/assembly/switchLanguage").then((function () {
return resolve(__webpack_require__(/*! ./assembly/switchLanguage.vue */ 440));
return resolve(__webpack_require__(/*! ./assembly/switchLanguage.vue */ 468));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var uniSwiperDot = function uniSwiperDot() {
__webpack_require__.e(/*! require.ensure | components/uni-swiper-dot/uni-swiper-dot */ "components/uni-swiper-dot/uni-swiper-dot").then((function () {
return resolve(__webpack_require__(/*! @/components/uni-swiper-dot/uni-swiper-dot.vue */ 426));
return resolve(__webpack_require__(/*! @/components/uni-swiper-dot/uni-swiper-dot.vue */ 454));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var uniPopup = function uniPopup() {
__webpack_require__.e(/*! require.ensure | pages/index/common/uni-popup/uni-popup */ "pages/index/common/uni-popup/uni-popup").then((function () {
return resolve(__webpack_require__(/*! ./common/uni-popup/uni-popup.vue */ 447));
return resolve(__webpack_require__(/*! ./common/uni-popup/uni-popup.vue */ 475));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var index = 0; // 所点击的图片的索引
......@@ -448,7 +454,7 @@ var _default = {
msg: null,
statusloading: null,
//加载状态
phone: '18938664545',
phone: '',
datainfo: {
windowHeight: 0,
windowWidth: 0,
......@@ -568,7 +574,7 @@ var _default = {
mask: true
});
uni.makePhoneCall({
phoneNumber: this.phone || '18938664545',
phoneNumber: this.phone || '',
//仅为示例
success: function success(res) {
uni.hideLoading();
......@@ -660,7 +666,6 @@ var _default = {
this.currentId = index;
item.machine_id = this.machine_id;
this.open(item);
//this.$refs['scrollModeView'].open(item)
},
modelclick: function modelclick(e) {
_homeservice.default.queryListPhone({
......@@ -728,6 +733,8 @@ var _default = {
}).then(function (res) {
if (res) {
_this8.list = res;
_this8.phone = res.phone;
//console.log(this.phone)
_this8.support_paypal = false;
if (_this8.list.support_paypal == 1) {
_this8.support_paypal = true;
......@@ -763,11 +770,12 @@ var _default = {
uni.stopPullDownRefresh();
uni.hideLoading();
}).catch(function (err) {
//console.log(err)
_this8.msg = err.msg;
uni.stopPullDownRefresh();
uni.hideLoading();
_this8.statusloading = 2;
_this8.phone = err.data.phone || '18938664545';
_this8.phone = err.data.phone || '';
});
},
Adlist: function Adlist() {
......
......@@ -187,37 +187,37 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
var kpsImageCutter = function kpsImageCutter() {
__webpack_require__.e(/*! require.ensure | components/ksp-image-cutter/ksp-image-cutter */ "components/ksp-image-cutter/ksp-image-cutter").then((function () {
return resolve(__webpack_require__(/*! @/components/ksp-image-cutter/ksp-image-cutter.vue */ 454));
return resolve(__webpack_require__(/*! @/components/ksp-image-cutter/ksp-image-cutter.vue */ 482));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var ProgressBar = function ProgressBar() {
__webpack_require__.e(/*! require.ensure | components/Progress-Bar/Progress-Bar */ "components/Progress-Bar/Progress-Bar").then((function () {
return resolve(__webpack_require__(/*! @/components/Progress-Bar/Progress-Bar.vue */ 461));
return resolve(__webpack_require__(/*! @/components/Progress-Bar/Progress-Bar.vue */ 489));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var myhead = function myhead() {
__webpack_require__.e(/*! require.ensure | pages/index/head/head */ "pages/index/head/head").then((function () {
return resolve(__webpack_require__(/*! ./head/head.vue */ 433));
return resolve(__webpack_require__(/*! ./head/head.vue */ 461));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var Mapping = function Mapping() {
__webpack_require__.e(/*! require.ensure | pages/index/Mapping */ "pages/index/Mapping").then((function () {
return resolve(__webpack_require__(/*! ./Mapping.vue */ 468));
return resolve(__webpack_require__(/*! ./Mapping.vue */ 496));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var switchBrands = function switchBrands() {
Promise.all(/*! require.ensure | pages/index/assembly/switchBrands */[__webpack_require__.e("common/vendor"), __webpack_require__.e("pages/index/assembly/switchBrands")]).then((function () {
return resolve(__webpack_require__(/*! ./assembly/switchBrands.vue */ 475));
return resolve(__webpack_require__(/*! ./assembly/switchBrands.vue */ 503));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var tuya = function tuya() {
__webpack_require__.e(/*! require.ensure | pages/index/tuya */ "pages/index/tuya").then((function () {
return resolve(__webpack_require__(/*! ./tuya.vue */ 483));
return resolve(__webpack_require__(/*! ./tuya.vue */ 511));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var uniPopup = function uniPopup() {
__webpack_require__.e(/*! require.ensure | pages/index/common/uni-popup/uni-popup */ "pages/index/common/uni-popup/uni-popup").then((function () {
return resolve(__webpack_require__(/*! ./common/uni-popup/uni-popup.vue */ 447));
return resolve(__webpack_require__(/*! ./common/uni-popup/uni-popup.vue */ 475));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var OSS = __webpack_require__(/*! ali-oss */ 294);
......@@ -1003,8 +1003,8 @@ var _default = {
/* 创建作品*/createWorks: function createWorks(e) {
if (this.available == 0) return;
var that = this;
if (isclick == true) {
isclick = false;
//if (isclick == true) {
//isclick = false;
if (this.machine_id != undefined && this.machine_id != null && this.machine_id != '') {
this.machine_item = this.machineDetail;
this.support_paypal = this.machineDetail.support_paypal;
......@@ -1019,7 +1019,7 @@ var _default = {
});
isclick = true;
}
}
//}
},
createWorks_one: function createWorks_one(e) {
var _this9 = this;
......@@ -1469,7 +1469,6 @@ var _default = {
var ratioheight = _this12.data.editorHeight * _this12.mix_scale / image.height;
//width = this.data.editorWidth * this.mix_scale
//height = image.height * ratiowidth
//if (ratio >= 1) { //长方形
//width = this.data.editorWidth * this.mix_scale * resultmix_scale
//height = image.height * ratiowidth * resultmix_scale
......@@ -2785,7 +2784,6 @@ var _default = {
var ratioheight = _this.data.editorHeight * _this.mix_scale / image.height;
height = _this.data.editorHeight * _this.mix_scale;
width = image.width * ratioheight;
//width = _this.data.editorWidth * _this.mix_scale
//height = image.height * ratiowidth
var index = items.length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment