liudan 8 months ago
parent e4a33063ea
commit f9a31d8ffa
  1. 11
      pages/huitong/huitongbao/index.vue
  2. 7
      pages/shop/shop.vue
  3. 7
      pages/shop/shop1.vue

@ -259,7 +259,8 @@
{key:2,value:'退款'}, {key:2,value:'退款'},
{key:3,value:'支付'}, {key:3,value:'支付'},
] ],
mobilePhoneNum:''
}; };
}, },
computed: mapGetters(['isLogin','viewColor']), computed: mapGetters(['isLogin','viewColor']),
@ -309,7 +310,7 @@
}); });
return; return;
} }
huitongToConsume({count:this.huitongToConsumeNum.toFixed(2)}).then(res=>{ huitongToConsume({count:Number(this.huitongToConsumeNum).toFixed(2)}).then(res=>{
if(res.status==200){ if(res.status==200){
this.getUserInfo() this.getUserInfo()
@ -360,7 +361,8 @@
}); });
return; return;
} }
this.zhuanrang.count = this.zhuanrang.count.toFixed(2) this.zhuanrang.count = Number(this.zhuanrang.count).toFixed(2)
changeHuitong(this.zhuanrang).then(res=>{ changeHuitong(this.zhuanrang).then(res=>{
if(res.status==200){ if(res.status==200){
@ -404,7 +406,7 @@
let that = this; let that = this;
// if (that.formItem == 2) that.type = "register"; // if (that.formItem == 2) that.type = "register";
await registerVerify({ await registerVerify({
phone: this.zhuanrang.phoneTo, phone: this.mobilePhoneNum,
type: 'huitong', type: 'huitong',
key: "", key: "",
// code: that.codeVal, // code: that.codeVal,
@ -441,6 +443,7 @@
getUserInfo().then((res)=>{ getUserInfo().then((res)=>{
this.huitong = res.data.assets.huitong this.huitong = res.data.assets.huitong
this.huitong_frozen = res.data.assets.huitong_frozen; this.huitong_frozen = res.data.assets.huitong_frozen;
this.mobilePhoneNum = res.data.phone
this.getIntegralList() this.getIntegralList()
// getIntegralInfo().then(function(res) { // getIntegralInfo().then(function(res) {
// that.$set(that,'userInfo',res.data); // that.$set(that,'userInfo',res.data);

@ -10,7 +10,8 @@
<view style="text-align: right;" v-if="tabIndex==1" class='iconfont' :class='is_switch==true?"icon-pailie":"icon-tupianpailie"' <view style="text-align: right;" v-if="tabIndex==1" class='iconfont' :class='is_switch==true?"icon-pailie":"icon-tupianpailie"'
@click='Changswitch'></view> @click='Changswitch'></view>
<view v-else-if="mer_location == 1" style="text-align: right;" class='iconfont icon-dingwei' @click="showMaoLocation(latitude,longitude)"></view> <!-- @click="showMaoLocation(latitude,longitude)" -->
<view v-else-if="mer_location == 1" style="text-align: right;" class='iconfont icon-dingwei'></view>
<view class='input acea-row row-between-wrapper'><text class='iconfont icon-sousuo'></text> <view class='input acea-row row-between-wrapper'><text class='iconfont icon-sousuo'></text>
<input placeholder='搜索' placeholder-class='placeholder' confirm-type='search' name="search" v-model='where.keyword' <input placeholder='搜索' placeholder-class='placeholder' confirm-type='search' name="search" v-model='where.keyword'
@confirm="searchSubmit"></input> @confirm="searchSubmit"></input>
@ -27,7 +28,7 @@
<view class="store-item" v-for="(item,index) in storeList" :key="index" @click="goStore(item.mer_id)"> <view class="store-item" v-for="(item,index) in storeList" :key="index" @click="goStore(item.mer_id)">
<view class="newStoreItem"> <view class="newStoreItem">
<view class="storeInfo"> <view class="storeInfo">
<image :c="item.mer_avatar" mode=""></image> <image :src="item.mer_avatar" mode=""></image>
<view class="storeDesc"> <view class="storeDesc">
<view class="storeTitle"> <view class="storeTitle">
{{item.mer_name}} {{item.mer_name}}
@ -41,7 +42,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="storeAddr"> <view class="storeAddr" @click.stop="showMaoLocation(item.lat,item.long)">
<text class='iconfont icon-dingwei'></text> <text class='iconfont icon-dingwei'></text>
<text>{{item.mer_address}}</text> <text>{{item.mer_address}}</text>
</view> </view>

@ -10,7 +10,8 @@
<view style="text-align: right;" v-if="tabIndex==1" class='iconfont' :class='is_switch==true?"icon-pailie":"icon-tupianpailie"' <view style="text-align: right;" v-if="tabIndex==1" class='iconfont' :class='is_switch==true?"icon-pailie":"icon-tupianpailie"'
@click='Changswitch'></view> @click='Changswitch'></view>
<view v-else-if="mer_location == 1" style="text-align: right;" class='iconfont icon-dingwei' @click="showMaoLocation(latitude,longitude)"></view> <!-- @click="showMaoLocation(latitude,longitude)" -->
<view v-else-if="mer_location == 1" style="text-align: right;" class='iconfont icon-dingwei'></view>
<view class='input acea-row row-between-wrapper'><text class='iconfont icon-sousuo'></text> <view class='input acea-row row-between-wrapper'><text class='iconfont icon-sousuo'></text>
<input placeholder='搜索' placeholder-class='placeholder' confirm-type='search' name="search" v-model='where.keyword' <input placeholder='搜索' placeholder-class='placeholder' confirm-type='search' name="search" v-model='where.keyword'
@confirm="searchSubmit"></input> @confirm="searchSubmit"></input>
@ -27,7 +28,7 @@
<view class="store-item" v-for="(item,index) in storeList" :key="index" @click="goStore(item.mer_id)"> <view class="store-item" v-for="(item,index) in storeList" :key="index" @click="goStore(item.mer_id)">
<view class="newStoreItem"> <view class="newStoreItem">
<view class="storeInfo"> <view class="storeInfo">
<image :c="item.mer_avatar" mode=""></image> <image :src="item.mer_avatar" mode=""></image>
<view class="storeDesc"> <view class="storeDesc">
<view class="storeTitle"> <view class="storeTitle">
{{item.mer_name}} {{item.mer_name}}
@ -41,7 +42,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="storeAddr"> <view class="storeAddr" @click.stop="showMaoLocation(item.lat,item.long)">
<text class='iconfont icon-dingwei'></text> <text class='iconfont icon-dingwei'></text>
<text>{{item.mer_address}}</text> <text>{{item.mer_address}}</text>
</view> </view>

Loading…
Cancel
Save