1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-gift-success"],{"00d5":function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{totalPrice:"1830"}},computed:{userServerInfo:function(){return this.$store.state.userinfo}},onLoad:function(n){this.user_jifen=n.user_jifen,this.jifen=n.jifen,this.getUserInfo()},methods:{getUserInfo:function(){var n=this;this.$u.get("/base/auth/me").then((function(t){n.$u.vuex("vuex_user",t.data)}))},goHome:function(){uni.switchTab({url:"/pages/index/index"})},goon:function(){uni.reLaunch({url:"/pages/gift/index"})},check:function(){uni.reLaunch({url:"/pages/gift/record"})}}};t.default=i},"5daba":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("v-uni-view",{},[i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"content-top"},[n._v("恭喜您!兑换成功!")]),i("v-uni-image",{staticClass:"success",attrs:{src:e("7ae5"),mode:"widthFix"}}),i("v-uni-view",{staticClass:"content-middle"},[n._v("消耗金额:"),i("v-uni-text",{staticStyle:{color:"#EA4A41","margin-left":"20rpx"}},[n._v(n._s(n.jifen))])],1),i("v-uni-view",{staticClass:"content-middle"},[n._v("还剩积分:"),i("v-uni-text",{staticStyle:{color:"#EA4A41","margin-left":"20rpx"}},[n._v(n._s(n.user_jifen))])],1),i("v-uni-view",{staticClass:"content-bottom"},[i("v-uni-view",{staticClass:"goon",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.goHome.apply(void 0,arguments)}}},[n._v("返回首页")]),i("v-uni-view",{staticClass:"check",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.check.apply(void 0,arguments)}}},[n._v("查看兑换记录")])],1)],1)],1)},o=[]},"7ae5":function(n,t,e){n.exports=e.p+"static/images/gift/success.png"},"8c00":function(n,t,e){"use strict";e.r(t);var i=e("5daba"),o=e("c421");for(var a in o)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(a);e("f866");var c=e("828b"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"7f512381",null,!1,i["a"],void 0);t["default"]=s.exports},a06f:function(n,t,e){var i=e("c86c");t=i(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */\n/*主题色及按钮渐变背景*/\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-7f512381]{display:flex;flex-direction:column;align-items:center;justify-content:center}.content .success[data-v-7f512381]{width:275px;height:148px}.content-top[data-v-7f512381]{margin-top:%?150?%;color:#333;font-weight:700;font-size:%?36?%}.content uni-image[data-v-7f512381]{margin-top:%?30?%;margin-bottom:20px}.content-middle[data-v-7f512381]{font-size:%?36?%;color:#333;font-weight:700}.content-bottom[data-v-7f512381]{display:flex;margin-top:%?72?%}.content-bottom .goon[data-v-7f512381]{width:%?300?%;line-height:%?88?%;color:#fb231f;border-radius:%?44?%;border:%?2?% #fb231f solid;background-color:#fff4f3;text-align:center}.content-bottom .check[data-v-7f512381]{width:%?300?%;color:#fff;line-height:%?88?%;margin-left:%?40?%;border-radius:%?44?%;background:linear-gradient(93deg,#f97c55,#f44545);text-align:center}',""]),n.exports=t},c421:function(n,t,e){"use strict";e.r(t);var i=e("00d5"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);t["default"]=o.a},c510:function(n,t,e){var i=e("a06f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var o=e("967d").default;o("514deaba",i,!0,{sourceMap:!1,shadowMode:!1})},f866:function(n,t,e){"use strict";var i=e("c510"),o=e.n(i);o.a}}]);
|