|
@@ -101,7 +101,7 @@
|
|
|
<div class="mui-col-xs-12">
|
|
|
<ul class="mui-table-view mui-grid-view mui-grid-9 vongi-floor-padded">
|
|
|
<li class="mui-table-view-cell mui-media mui-col-xs-6">
|
|
|
- <a @click="toPay()" >
|
|
|
+ <a @click="toPay()">
|
|
|
<div class="vongi-shop-img"><img src="http://oss.xiaoxinda.com/smart/person/2020/10/18174320745.png" width="100%" /></div>
|
|
|
<div class="mui-media-body">老人智能安全监控手表</div>
|
|
|
<div class="mui-media-body color-yellow">¥0.01</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
|
|
|
<script>
|
|
|
require('$project/assets/js/mui.picker.min.js');
|
|
|
- import * as API from '@/apis/Master/live'
|
|
|
+ import * as API from '@/apis/Master/live'
|
|
|
import * as API_Notice from '@/apis/Common/notice'
|
|
|
import * as API_User from '$project/apis/user'
|
|
|
import Common from '$project/components/Common.vue'
|
|
@@ -159,12 +159,12 @@
|
|
|
API.submit({
|
|
|
"personId": this.person_data.id,
|
|
|
"payPersonId": this.person_data.id,
|
|
|
- "goodsId":"2",
|
|
|
+ "goodsId": "2",
|
|
|
}).then(data => {
|
|
|
|
|
|
var url = window.location.href.split("#")[0];
|
|
|
var param = JSON.stringify(data).replace("{", "").replace("}", "").replace(/\",\"/g, "&").replace(/,\"/g, "&").replace(
|
|
|
- /:/g, "=").replace(/\":\"/g, "=").replace(/\"/g, "");
|
|
|
+ /:/g, "=").replace(/\":\"/g, "=").replace(/\"/g, "");
|
|
|
param = param.replace('=//', '://');
|
|
|
window.location = url + "?#/master/live/pay?" + param;
|
|
|
|
|
@@ -223,7 +223,9 @@
|
|
|
//this.isLoading = true;
|
|
|
API_Notice.prefetch().then(response => {
|
|
|
this.isLoading = false;
|
|
|
-
|
|
|
+
|
|
|
+ this.set_wd_message_num(response);
|
|
|
+
|
|
|
this.getLastNotice();
|
|
|
}).catch(error => {
|
|
|
this.isLoading = false;
|
|
@@ -247,13 +249,13 @@
|
|
|
},
|
|
|
//引入图片
|
|
|
requirePic(file) {
|
|
|
- if (file) {
|
|
|
- if (file.indexOf('http') == 0) {
|
|
|
- return file;
|
|
|
- } else {
|
|
|
- return require('$project/assets/img/' + file);
|
|
|
- }
|
|
|
- }
|
|
|
+ if (file) {
|
|
|
+ if (file.indexOf('http') == 0) {
|
|
|
+ return file;
|
|
|
+ } else {
|
|
|
+ return require('$project/assets/img/' + file);
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
//设置判断首页模式
|
|
|
setHomeModel() {
|
|
@@ -275,6 +277,7 @@
|
|
|
},
|
|
|
...mapMutations({
|
|
|
set_persion_home_model: types.SET_PERSION_HOME_MODEL,
|
|
|
+ set_wd_message_num: types.SET_WD_MESSAGE_NUM,
|
|
|
})
|
|
|
},
|
|
|
mounted() {
|