123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- function e(e, r, t) {
- return r in e ? Object.defineProperty(e, r, {
- value: t,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[r] = t, e;
- }
- var app = getApp();
- Component({
- properties: {
- orderStatus: {
- type: Number
- },
- orderSkuStatus: {
- type: Number
- },
- isCanRefund: {
- type: Number
- },
- canEvaluate: {
- type: Number
- },
- orderNo: {
- type: String
- },
- orderId: {
- type: String
- },
- orderSkuId: {
- type: String
- },
- skuSpec: {
- type: String
- },
- skuImage: {
- type: String
- },
- skuName: {
- type: String
- },
- salePrice: {
- type: String
- },
- spuId: {
- type: String
- },
- skuNum: {
- type: Number
- },
- skuId: {
- type: String
- }
- },
- data: {
- userInfo: {},
- confirmGoodsVisible: false
- },
- onLoad: function () {
- this.setData({
- userInfo: app.globalData.userInfo
- });
- },
- methods: {
- callDialog: function (r) {
- var t = r.target.dataset,
- o = t.show,
- n = t.cancel;
- this.setData(e({}, "" + (o || n), !!o));
- },
-
- applyForService: function () {
- var e = this.data,
- t = e.orderNo, o = e.orderId, n = e.orderSkuId, u = e.skuSpec, a = e.skuImage, d = e.skuName, s = e.salePrice, i = (e.skuNum,
- {
- orderNo: t,
- orderId: o,
- orderSkuId: n,
- skuDesc: u,
- skuImage: a,
- skuName: d,
- salePrice: s
- });
- wx.showLoading({
- title: "加载中..."
- });
-
-
-
-
-
-
-
- },
- goComment: function () {
- var e = this.data, r = e.spuId, t = e.skuImage, o = e.skuName, n = {
- spuId: r,
- orderId: e.orderId,
- orderSkuId: e.orderSkuId,
- skuSpec: e.skuSpec,
- goodsImg: t,
- goodsName: o
- };
- wx.navigateTo({
- url: "/pages/order/evaluate?param=" + JSON.stringify(n)
- });
- },
-
- confirmGoods: function () {
- var e = this;
- wx.showLoading({
- title: "加载中..."
- });
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- this.setData({
- confirmGoodsVisible: false
- });
- }
- }
- });
|