|
|
@@ -8,17 +8,6 @@
|
|
|
<view class="result-title">操作成功</view>
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="!$util.isEmpty(superWx)" style="margin-bottom:50upx;font-size:35upx;">点击查看二维码,添加店长微信</view>
|
|
|
-
|
|
|
- <button v-if="!$util.isEmpty(superWx)" class="button-com red" style="width:220upx;" @click="openSuperWx">查看二维码</button>
|
|
|
-
|
|
|
- <view style="margin-top:30upx;" v-if="Number(account)>0">
|
|
|
- <button class="button-com default" style="width:220upx;background-color:#FF2842;color:white;border-color:#FF2842;" @click="lookMall">买鲜花</button>
|
|
|
- </view>
|
|
|
- <view style="margin-top:30upx;" v-if="Number(account)>0">
|
|
|
- <button class="button-com default" style="width:220upx;background-color:#FF2842;color:white;border-color:#FF2842;" @click="lookGoodsMall">买花束绿植</button>
|
|
|
- </view>
|
|
|
-
|
|
|
<view style="margin-top:30upx;">
|
|
|
<button class="button-com default" style="width:220upx;" @click="goBack()">返回</button>
|
|
|
</view>
|
|
|
@@ -28,7 +17,6 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { getInfo } from "@/api/shop"
|
|
|
export default {
|
|
|
name: "result",
|
|
|
components: {},
|
|
|
@@ -48,27 +36,10 @@ export default {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
- openSuperWx(){
|
|
|
- uni.previewImage({ urls: [this.superWx] })
|
|
|
- },
|
|
|
goBack(){
|
|
|
uni.navigateBack({})
|
|
|
},
|
|
|
- lookMall(){
|
|
|
- this.$util.pageTo({ url: "/pages/item/item?account="+this.account, type: 2})
|
|
|
- },
|
|
|
- lookGoodsMall(){
|
|
|
- this.$util.pageTo({ url: "/pages/home/category?account="+this.account, type: 2})
|
|
|
- },
|
|
|
- init() {
|
|
|
- getInfo().then(res=>{
|
|
|
- if(res.code == 1){
|
|
|
- if(res.data.info.superWx && !this.$util.isEmpty(res.data.info.superWx)){
|
|
|
- this.superWx = res.data.info.superWx
|
|
|
- this.account = res.data.info.id
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
+ init(){
|
|
|
}
|
|
|
}
|
|
|
};
|