@@ -28,7 +28,8 @@
/* 模块配置 */
"modules": {
"Push": {},
- "Geolocation": {}
+ "Geolocation": {},
+ "Camera": {}
},
/* 应用发布信息 */
"distribute": {
@@ -29,7 +29,7 @@
}
onLoad(parms) {
- this.type = parms.type || "joinGroup"
+ this.type = parms.type || "newGroup"
onShow() {},
methods: {
@@ -42,6 +42,24 @@
});
return;
+ let that = this;
+ if (this.type == 'newGroup') {
+ this.$refs['DialogBox'].confirm({
+ title: '提示',
+ content: '是否确定消耗100M币创建群聊',
+ DialogType: 'inquiry',
+ btn1: '否',
+ btn2: '是',
+ animation: 0
+ }).then((res) => {
+ that.submitData2();
+ })
+ } else {
+ }
+ },
+ submitData2() {
+
uni.request({
url: this.$apiHost2 + '/Chat/groupAction', //仅为示例,并非真实接口地址。
data: {
@@ -65,7 +83,7 @@
- },
</script>
@@ -39,7 +39,7 @@
<image class="icon" src="../../static/me/ta_article_title.png" mode="widthFix">
</image>
</view>
- <view class="more">
+ <view class="more" v-if="false">
更多
<image class="icon" src="../../static/me/arrow_right_gray.png" mode="widthFix">