商品列表增加销量
parent
08639988cf
commit
fb2e99a6be
6
App.vue
6
App.vue
|
@ -4,9 +4,9 @@
|
|||
export default {
|
||||
onLaunch: function() {
|
||||
// 全局域名配置
|
||||
// uni.setStorageSync('hostapi','https://hengmei.scdxtc.cn/api/');
|
||||
uni.setStorageSync('hostapi','https://hm.hmzfyy.cn/api/');
|
||||
toolAll.tools.clearClog();//去除体验版和正式版的所有输出日志
|
||||
uni.setStorageSync('hostapi','https://hengmei.scdxtc.cn/api/');
|
||||
// uni.setStorageSync('hostapi','https://hm.hmzfyy.cn/api/');
|
||||
// toolAll.tools.clearClog();//去除体验版和正式版的所有输出日志
|
||||
// 主题颜色
|
||||
// toolAll.tools.zhuColorT();
|
||||
uni.request({
|
||||
|
|
|
@ -331,6 +331,7 @@ swiper-item view:last-child .duan-xian{border-bottom: none;}
|
|||
|
||||
|
||||
.bottoc{margin-top: 6rpx;color: #414141;}
|
||||
.text2 {text-indent: 2rem;}
|
||||
.opc{opacity: 0.7;}
|
||||
.width100{width: 100%;}
|
||||
.width55{width: 55%;}
|
||||
|
|
|
@ -3,14 +3,15 @@
|
|||
{
|
||||
"path" : "pages/tabbar/pagehome/pagehome",
|
||||
"style" :{}
|
||||
},{
|
||||
"path" : "pages/tabbar/my/staffDuan",
|
||||
"style" :{}
|
||||
},{
|
||||
},
|
||||
{
|
||||
"path" : "pages/login/login",
|
||||
"style" :{
|
||||
"navigationBarTextStyle":"black" //状态栏字体颜色
|
||||
}
|
||||
},{
|
||||
"path" : "pages/tabbar/my/staffDuan",
|
||||
"style" :{}
|
||||
},{
|
||||
"path" : "pages/tabbar/my/my",
|
||||
"style" :{}
|
||||
|
|
|
@ -1,8 +1,31 @@
|
|||
<template>
|
||||
<view>
|
||||
<status-nav :titleVal="'协议'" :statusTitle="true"></status-nav>
|
||||
<view :style="{paddingTop: statusHNH+'px'}" class="mar20">
|
||||
<rich-text :nodes="content"></rich-text>
|
||||
<status-nav :titleVal="'用户协议及隐私声明'" :statusTitle="true"></status-nav>
|
||||
<view :style="{paddingTop: statusHNH+'px'}" class="mar20 line-h50 fon30">
|
||||
<!-- <rich-text :nodes="content"></rich-text> -->
|
||||
<view class="text2">本协议为您与本小程序管理者之间所订立的契约,具有合同的法律效力,请您仔细阅读。</view>
|
||||
<view>一、本协议内容、生效、变更。本协议内容包括协议正文及所有本小程序已经发布的或将来可能发布的各类规则。所有规则为本协议不可分割的组成部分,与协议正文具有同等法律效力。如您对协议有任何疑问,应向本小程序咨询。您在同意所有协议条款并完成注册程序,才能成为本站的正式用户,您登录即代表同意“用户服务协议”,本协议即生效,对双方产生约束力。只要您使用本小程序平台服务,则本协议即对您产生约束,届时您不应以未阅读本协议的内容或者未获得本小程序对您问询的解答等理由,主张本协议无效,或要求撤销本协议。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。 您承诺接受并遵守本协议的约定。如果您不同意本协议的约定,您应立即停止注册程序或停止使用本小程序平台服务。本小程序有权根据需要不定期地制订、修改本协议及/或各类规则,并在本小程序平台公示,不再另行单独通知用户。变更后的协议和规则一经在网站公布,立即生效。如您不同意相关变更,应当立即停止使用本小程序平台服务。您继续使用本小程序平台服务的,即表明您接受修订后的协议和规则。</view>
|
||||
<view>二、注册资格用户须具有法定的相应权利能力和行为能力的自然人、法人或其他组织,能够独立承担法律责任。您完成注册程序或其他本小程序平台同意的方式实际使用本平台服务时,即视为您确认自己具备主体资格,能够独立承担法律责任。若因您不具备主体资格,而导致的一切后果,由您及您的监护人自行承担。</view>
|
||||
<view class="text2">
|
||||
<view class="text2">2.1用户应自行诚信向本站提供注册资料,用户同意其提供的注册资料真实、准确、完整、合法有效,用户注册资料如有变动的,应及时更新其注册资料。如果用户提供的注册资料不合法、不真实、不准确、不详尽的,用户需承担因此引起的相应责任及后果,并且本小程序保留终止用户使用本平台各项服务的权利。</view>
|
||||
<view class="text2">2.2用户在本站进行浏览等活动时,涉及用户真实姓名/名称、通信地址、联系电话、电子邮箱等隐私信息的,本站将予以严格保密,除非得到用户的授权或法律另有规定,本站不会向外界披露用户隐私信息。为完成创建账号,用户需提供以下信息:用户的微信昵称、性别、姓名、手机号等信息。用户提供的上述信息,将在用户使用本服务期间持续授权我们使用。在用户注销账号时,我们将停止使用并删除上述信息。上述信息将存储于中华人民共和国境内。如需跨境传输,我们将会单独征得用户的授权同意。</view>
|
||||
</view>
|
||||
<view>三、账户</view>
|
||||
<view>
|
||||
<view class="text2">3.1您注册成功后,即成为本小程序平台的用户,将持有本小程序平台唯一编号的账户信息。</view>
|
||||
<view class="text2">3.2您设置的姓名为真实姓名,不得侵犯或涉嫌侵犯他人合法权益。否则,本小程序有权终止向您提供服务,注销您的账户。</view>
|
||||
<view class="text2">3.3您应谨慎合理的保存、使用您的会员名和密码,应对通过您的会员名和密码实施的行为负责。除非有法律规定或司法裁定,且征得本小程序的同意,否则,会员名和密码不得以任何方式转让、赠与或继承(与账户相关的财产权益除外)。</view>
|
||||
<view class="text2">3.4用户不得将在本站注册获得的账户借给他人使用,否则用户应承担由此产生的全部责任,并与实际使用人承担连带责任。</view>
|
||||
<view class="text2">3.5如果发现任何非法使用等可能危及您的账户安全的情形时,您应当立即以有效方式通知本小程序要求暂停相关服务,并向公安机关报案。您理解本小程序对您的请求采取行动需要合理时间,本小程序对在采取行动前已经产生的后果(包括但不限于您的任何损失)不承担任何责任。</view>
|
||||
</view>
|
||||
<view>四、用户信息的合理使用</view>
|
||||
<view>
|
||||
<view class="text2">4.1您同意本小程序平台拥有通过短信、电话、微信消息提醒等形式,向在本站注册用户发送信息等告知信息的权利。</view>
|
||||
<view class="text2">4.2您了解并同意,本小程序有权应国家司法、行政等主管部门的要求,向其提供您在本小程序平台填写的注册信息和交易记录等必要信息。如您涉嫌侵犯他人知识产权,则本小程序亦有权在初步判断涉嫌侵权行为存在的情况下,向权利人提供您必要的身份信息。</view>
|
||||
<view class="text2">4.3用户同意本小程序有权使用用户的注册信息、用户名、密码等信息,登陆进入用户的注册账户,进行证据保全,包括但不限于公证、见证等。</view>
|
||||
</view>
|
||||
<view>五、免责条款</view>
|
||||
<view class="text2">5.1 本平台仅提供信息对接,发生一切纠纷问题皆与本平台无关,请通过仲裁部门维护各自权益。</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -11,12 +34,11 @@
|
|||
export default {
|
||||
data(){
|
||||
return {
|
||||
statusHNH:uni.getStorageSync('statusHNH'),
|
||||
content:'<p>1.用户协议谢谢洗诶诶黑货币的宁波</p>'
|
||||
statusHNH:uni.getStorageSync('statusHNH')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.$toolAll.tools.escape2Html(this.content)
|
||||
// this.$toolAll.tools.escape2Html(this.content)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -510,6 +510,7 @@
|
|||
// console.log('用户信息:',res);
|
||||
if(res.code==0 && res.data.length!=0) {
|
||||
this.userInfo = res.data;
|
||||
console.log(this.userInfo,513);
|
||||
uni.setStorageSync('userId',res.data.id);
|
||||
uni.setStorageSync('phone',this.userInfo.mobile);
|
||||
this.userPhone = this.$toolAll.tools.hideMPhone(this.userInfo.mobile)
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
<view class="radius10 colf" v-if="item1.isPing" style="padding: 6rpx 10rpx;background: #F85050;">拼团活动</view>
|
||||
<view class="radius10 colf" v-if="item1.isXian" style="padding: 6rpx 10rpx;background: #F85050;">限时促销</view>
|
||||
</view>
|
||||
<view class="disjbac">
|
||||
<view class="disac">
|
||||
<view class="fon28 bold" style="color: #F85050;margin-right: 8rpx;">
|
||||
<view v-if="item1.isIntegral" class="mar-s20">
|
||||
|
@ -85,6 +86,8 @@
|
|||
<!-- <view v-if="item1.isXian || item1.isPing || item1.isTuan" class="fon24" style="text-decoration: line-through;color: #C7C7C7;">¥{{item1.yuanPrice}}</view> -->
|
||||
<view class="fon24" style="text-decoration: line-through;color: #C7C7C7;">¥{{item1.yuanPrice}}</view>
|
||||
</view>
|
||||
<view class="fon24" style="color: #C7C7C7;">销量:{{item1.amount}}</view>
|
||||
</view>
|
||||
<view v-if="item1.isPing" class="disjbac mar-s20">
|
||||
<view class="fon24 col80">已拼团{{item1.activity_group_num}}组</view>
|
||||
<view class="disac">
|
||||
|
@ -106,6 +109,7 @@
|
|||
<view class="radius10 colf" v-if="item1.isPing" style="padding: 6rpx 10rpx;background: #F85050;">拼团活动</view>
|
||||
<view class="radius10 colf" v-if="item1.isXian" style="padding: 6rpx 10rpx;background: #F85050;">限时促销</view>
|
||||
</view>
|
||||
<view class="disjbac">
|
||||
<view class="disac">
|
||||
<view class="fon28 bold" style="color: #F85050;margin-right: 8rpx;">
|
||||
<view v-if="item1.isIntegral" class="mar-s20">
|
||||
|
@ -121,9 +125,11 @@
|
|||
¥{{item1.zhePrice}}
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view v-if="item1.isTuan || item1.isPing || item1.isXian" class="fon24" style="text-decoration: line-through;color: #C7C7C7;">¥{{item1.yuanPrice}}</view> -->
|
||||
<!-- <view v-if="item1.isXian || item1.isPing || item1.isTuan" class="fon24" style="text-decoration: line-through;color: #C7C7C7;">¥{{item1.yuanPrice}}</view> -->
|
||||
<view class="fon24" style="text-decoration: line-through;color: #C7C7C7;">¥{{item1.yuanPrice}}</view>
|
||||
</view>
|
||||
<view class="fon24" style="color: #C7C7C7;">销量:{{item1.amount}}</view>
|
||||
</view>
|
||||
<view v-if="item1.isPing" class="disjbac mar-s20">
|
||||
<view class="fon24 col80">已拼团{{item1.activity_group_num}}组</view>
|
||||
<view class="disac">
|
||||
|
@ -315,6 +321,10 @@
|
|||
this.showDoctor = false;
|
||||
},
|
||||
chooseEv(){//查询医生列表
|
||||
console.log(this.dataList.length);
|
||||
if(this.dataList.length){
|
||||
this.showDoctor = false;
|
||||
} else {
|
||||
this.$requst.post('user/doctor-list',{page:1,size:1000}).then(res=>{
|
||||
if(res.code==0){
|
||||
this.doctor_name = '';
|
||||
|
@ -324,6 +334,7 @@
|
|||
} else this.$toolAll.tools.showToast('暂无医生可选');
|
||||
} else this.$toolAll.tools.showToast(res.msg);
|
||||
})
|
||||
}
|
||||
},
|
||||
cartNumEv(){//购物车数量
|
||||
this.$requst.post('order/shopping-cart-count',{type:'spu'}).then(res=>{
|
||||
|
@ -444,6 +455,7 @@
|
|||
zhePrice:item.price/100,
|
||||
yuanPrice:item.original_price/100,
|
||||
integral:'',
|
||||
amount:item.amount,//销量
|
||||
isTuan:tuan,//是否是团购
|
||||
isPing:ping,//是否是拼团活动
|
||||
isXian:xian,//是否是限时活动
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<view class="fon24 col3 mar-s50" style="margin-top: 30%;">暂无内容</view>
|
||||
</view>
|
||||
<!-- 预览弹框 -->
|
||||
<view v-if="showBtn" @tap.stop="showBtn=false" class="posAll disjcac fc pad-zy50" style="z-index: 3;">
|
||||
<view v-if="showBtn" @tap.stop="showBtn=false" class="posAll disjcac fc pad-zy50" style="z-index: 11;">
|
||||
<image :src="imgSrc" @tap.stop="showBtn=true" class="radius20" style="width: 80%;" mode="widthFix"></image>
|
||||
<!-- 分享按钮 -->
|
||||
<view v-if="haved" @tap.stop="shareEv" class="disjcac radius20 posixzy" style="height: 90rpx;margin: 20rpx 80rpx;background-color: #38CE51;line-height: 90rpx;bottom: 40rpx;">
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue