Commit 0118c61b authored by malin's avatar malin

test

parent f07cb30d
......@@ -91,11 +91,11 @@ import utils from "@/utils";
export default {
data() {
return {
cash: 48,
originalPrice: 188,
hour: "00",
minute: "00",
second: "00",
cash: 0,
originalPrice: "139",
};
},
......@@ -110,9 +110,26 @@ export default {
this.second = "00";
}
}, 1000);
this._payConfig();
},
methods: {
// 获取支付价格
_payConfig() {
let h5LogsObj = JSON.parse(decodeURI(utils.getCookie("h5LogsObj")));
API.API_payConfig({
pkg: h5LogsObj.pkg ? h5LogsObj.pkg : "com.h5game.peidui",
zygt: "hzwz",
tgtk: 1,
uid: 1008611,
}).then((res) => {
this.cash = res.result.data.goodsList[0].cash;
this.originalPrice = res.result.data.goodsList[0].originalPrice;
});
},
// 支付
async _payment() {
const h5LogsObj = JSON.parse(decodeURI(utils.getCookie("h5LogsObj")));
......
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