|
|
@@ -61,7 +61,7 @@
|
|
|
<div class="module-com recommend-wrap" v-if="!$util.isEmpty(merchantData)">
|
|
|
<div class="recommend-tag">推荐花店</div>
|
|
|
<div class="recommend-det">
|
|
|
- <app-avatar-module :src="merchantData.smallLogoUrl" :width="78" alt="推荐人头像" />
|
|
|
+ <image style="width:90rpx;height:90rpx;border-radius:42rpx;" mode="scaleToFill" :src="merchantData.smallLogoUrl" @error="imageError" />
|
|
|
<div class="recommend-info">
|
|
|
<div class="app-size-32">{{ merchantData.merchantName }}</div>
|
|
|
<div class="app-color-2">{{ merchantData.fullAddress }}</div>
|
|
|
@@ -120,10 +120,8 @@ export default {
|
|
|
address: "",
|
|
|
floor: "",
|
|
|
longitude: "",
|
|
|
- latitude: "",
|
|
|
- adminId: ""
|
|
|
- // 推荐商家id
|
|
|
- // oldId: ''
|
|
|
+ latitude: "",
|
|
|
+ adminId: ""
|
|
|
},
|
|
|
showRegion: false,
|
|
|
// 省市联动
|
|
|
@@ -132,8 +130,8 @@ export default {
|
|
|
// 验证码
|
|
|
isSend: 0,
|
|
|
countDown: 119,
|
|
|
- timer: null,
|
|
|
- nickname:""
|
|
|
+ timer: null,
|
|
|
+ nickname: ""
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -147,7 +145,7 @@ export default {
|
|
|
init() {
|
|
|
this.$util.getCheckLogin().then(res => {
|
|
|
if (res) {
|
|
|
- let id = uni.getStorageSync('introMerchantId');
|
|
|
+ let id = uni.getStorageSync("introMerchantId");
|
|
|
if (id > 0) {
|
|
|
this._getMerchantDet();
|
|
|
}
|
|
|
@@ -161,14 +159,14 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
_getMerchantDet() {
|
|
|
- let id = uni.getStorageSync('introMerchantId');
|
|
|
+ let id = uni.getStorageSync("introMerchantId");
|
|
|
getIntroduce({ id: id }).then(res => {
|
|
|
this.merchantData = res.data;
|
|
|
});
|
|
|
},
|
|
|
// ==============
|
|
|
confirmFn() {
|
|
|
- let id = uni.getStorageSync('introMerchantId');
|
|
|
+ let id = uni.getStorageSync("introMerchantId");
|
|
|
applyRegister({
|
|
|
introMerchantId: id || 0,
|
|
|
...this.form
|