|
|
@@ -145,6 +145,7 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
+ <image v-if="showClassRemind" @click="hideClassRemind" style="position:absolute;width:610upx;height:699upx;top:225upx;left:80upx;z-index:9999;" :src="`${constant.imgUrl}/class_remind.png`"></image>
|
|
|
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -162,7 +163,7 @@ import allMoreSelectInput from "@/components/module/allMoreSelectInput";
|
|
|
import allMoreSelectInputMins from "@/mixins/allMoreSelectInput";
|
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
|
import productMins from "@/mixins/cgProduct";
|
|
|
-import { getGhsDataApi, ghsInfo,visitMall } from "@/api/ghs/index";
|
|
|
+import { getGhsDataApi, ghsInfo,visitMall,getClassRemind,hasClassRemind } from "@/api/ghs/index";
|
|
|
import SelPopup from "@/components/sel-popup.vue";
|
|
|
import AppActivilyCoupon from "@/components/module/app-activily-coupon";
|
|
|
import { mapGetters } from "vuex";
|
|
|
@@ -218,7 +219,8 @@ export default {
|
|
|
isNewCustom:false,
|
|
|
showInvite:false,
|
|
|
tjFl:0,
|
|
|
- cartItemShow:false
|
|
|
+ cartItemShow:false,
|
|
|
+ showClassRemind:false
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
@@ -316,6 +318,13 @@ export default {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ hideClassRemind(){
|
|
|
+ hasClassRemind().then(res=>{
|
|
|
+ if(res.code ==1){
|
|
|
+ this.showClassRemind = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
changeClass(index){
|
|
|
this.$refs.selectFlowerNumRef.close()
|
|
|
this.swichClass(index)
|
|
|
@@ -487,6 +496,18 @@ export default {
|
|
|
this.newCustomGift.xrFlAmount = res.data.xrFlAmount
|
|
|
}).catch(err => {})
|
|
|
}
|
|
|
+
|
|
|
+ //提醒花材分类位置移动
|
|
|
+ getClassRemind().then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ if(res.data.hasRemind == 1){
|
|
|
+ this.showClassRemind = false
|
|
|
+ }else{
|
|
|
+ this.showClassRemind = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
visitMall(ghsId){
|
|
|
//访客记录
|